[MacPorts] CommittersGuide/Distfiles modified
MacPorts
noreply at macports.org
Thu Nov 3 02:41:29 CET 2016
Page "CommittersGuide/Distfiles" was changed by raimue
Diff URL: <https://trac.macports.org/wiki/CommittersGuide/Distfiles?action=diff&version=10>
Revision 10
Comment: No longer applies after move to GitHub
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommittersGuide/Distfiles
=========================================================================
--- CommittersGuide/Distfiles (version: 9)
+++ CommittersGuide/Distfiles (version: 10)
@@ -1,39 +1,0 @@
-The content of each port's "files" directory should be kept fairly small as it is copied to every MacPorts user's disk, regardless if they install the port or not. 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.
-
-= Set up personal space in repository =
-
-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:
-
-{{{
-Repository=https://svn.macports.org/repository/macports
-User=userid
-Port=portid
-
-svn mkdir --username ${User}@macports.org -m"Create staging for ${Port}" ${Repository}/users/${User}/${Port}
-svn mkdir --username ${User}@macports.org -m"Create distfiles for ${Port}" ${Repository}/distfiles/${Port}
-}}}
-
-Replace '''userid''' and '''portid''' with your own userid and the port you are working on.
-
-= Prepare files =
-
-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:
-
-{{{
-Repository=https://svn.macports.org/repository/macports
-User=userid
-Port=portid
-Version=12345
-
-alias tar=/opt/local/bin/gnutar
-alias mv=/opt/local/bin/gmv
-alias rm=/opt/local/bin/grm
-
-svn export ${Repository}/users/${User}/${Port}
-mv --verbose ${Port} ${Port}-r${in_Version}
-tar --create --gzip --file="${Port}-r${Version}.tar.gz" "${Port}-r${in_Version}"
-svn import -m"Add distfile for ${Port}" "${Port}-r${Version}.tar.gz" "${Repository}/distfiles/${Port}/${Port}-r${Version}.tar.gz"
-rm --verbose --recursive "${Port}"
-}}}
-
-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.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/CommittersGuide/Distfiles>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'CommittersGuide/Distfiles' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list