Changes between Version 5 and Version 6 of CommittersGuide/Distfiles
- Timestamp:
- Nov 4, 2011, 3:02:25 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommittersGuide/Distfiles
v5 v6 1 The content of each port s "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.1 The content of each port's "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 = Set up Repository =3 = Set up personal space in repository = 4 4 5 First set up a [wiki:CommittersGuide/PersonalSVNRepository personal Subversion repository] to maintain the files. Inside your Subversion repositoryyou 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:5 First set up your [wiki:CommittersGuide/PersonalSVNRepository user directory in the MacPorts Subversion repository] to maintain the files. Inside your user directory in the 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 {{{ … … 18 18 = Prepare files = 19 19 20 Prepare the files you want to distribute inside your personal Subversionrepository 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:20 Prepare the files you want to distribute inside your user directory in the 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 {{{