Changes between Version 4 and Version 5 of CommittersGuide/Distfiles
- Timestamp:
- Nov 4, 2011, 2:56:52 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommittersGuide/Distfiles
v4 v5 1 The content of each ports "files" directory should be ke ept fairly small as it is kopied to every MacPort user harddrive. If larger patches - for example application bundles with icon files are supplied then they should be added to distfiles so they are only donwloaded by those user who are actualy installing the Port.1 The content of each ports "files" directory should be kept fairly small as it is copied to every MacPorts user's hard drive. If larger patches (for example application bundles with icon files) are supplied then they should be added to distfiles so they are only downloaded by those users who are actually installing the port. 2 2 3 3 = Setup Repository = 4 4 5 First setup a [wiki:CommittersGuide/PersonalSVNRepository personal Subversion repository] to maintain the files. Inside your Subversion repository you should create a directory with the portfiles name. Also create a directory for the Port you work on inside the distfile area of the subversion repository. You can use the commands below to do so:5 First setup a [wiki:CommittersGuide/PersonalSVNRepository personal Subversion repository] to maintain the files. Inside your Subversion repository you should create a directory with the port's name. Also create a directory for the port you're working on inside the distfiles area of the Subversion repository. You can use the commands below to do so: 6 6 7 7 {{{ … … 14 14 }}} 15 15 16 Replace '''userid''' and '''portid''' with your own userid and the Port you are working on.16 Replace '''userid''' and '''portid''' with your own userid and the port you are working on. 17 17 18 18 = Prepare files = 19 19 20 Prepare the files you want to distribute inside your personal Subversion repository and commit them back into Subversion. Then export them again. Export is needed so unne ssesary svn meta data is not distributed. The exported files should then be packed. To keep the Portfile easy it is betterto use the same archiver as is used for the main source file. You can use the following commands to do so:20 Prepare the files you want to distribute inside your personal Subversion repository and commit them back into Subversion. Then export them again. Export is needed so unnecessary svn meta data is not distributed. The exported files should then be packed. To keep the Portfile simple it is best to use the same archiver as is used for the main source file. You can use the following commands to do so: 21 21 22 22 {{{ … … 37 37 }}} 38 38 39 Replace '''12345''' with a unique version identifier and '''userid''' and '''portid''' as you did before. Use [http://trac.macports.org/browser/users/krischik/nonpareil/Upload.command Upload.command] outlines one way on how toautomate the whole process.39 Replace '''12345''' with a unique version identifier and '''userid''' and '''portid''' as you did before. [browser:users/krischik/nonpareil/Upload.command Upload.command] shows one way how you can automate the whole process.