[MacPorts] CommittersTipsAndTricks modified

MacPorts noreply at macports.org
Thu May 28 13:18:17 PDT 2009


Changed page "CommittersTipsAndTricks" by dweber at macports.org from 206.176.233.162*
Page URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks>
Diff URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks?action=diff&version=14>
Revision 14
Comment: Adding information about user svn repository use

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommittersTipsAndTricks
=========================================================================
--- CommittersTipsAndTricks (version: 13)
+++ CommittersTipsAndTricks (version: 14)
@@ -17,6 +17,43 @@
 [auto-props]
 Portfile = svn:eol-style=native;svn:keywords=Id
 }}}
+
+
+== Test Portfile changes in your user svn ==
+
+
+Use the Trac Browser to explore the MacPorts svn; the repository root is located at
+
+https://svn.macosforge.org/repository/macports
+
+To create your own users directory:
+
+{{{
+svn mkdir https://svn.macports.org/repository/macports/users/<YourMacPortsUserID>
+}}}
+
+Then, checkout your user svn repo:
+
+{{{
+$ mkdir -p ~/myports
+$ svn co https://svn.macports.org/repository/macports/users/<YourMacPortsUserID> ~/myports
+}}}
+
+Then edit your MacPorts sources.conf file {{{/opt/local/etc/macports/sources.conf}}} to add ~/macports to the list before the main rsync source at rsync.macports.org, e.g.:
+
+{{{
+file:///Users/<YourSystemUserID>/myports [nosync]
+}}}
+
+To work on a copy of a port from macports trunk, use {{{svn copy}}}.  For example, to test changes on the cableswig port:
+
+{{{
+$ svn mkdir ~/myports/devel/cableswig
+$ svn copy https://svn.macosforge.org/repository/macports/trunk/dports/devel/cableswig/Portfile ~/myports/devel/cableswig/Portfile
+}}}
+
+
+
 
 
 == Apply patches directly from Trac URL ==

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on CommittersTipsAndTricks. If it was not you, please
report to .


More information about the macports-changes mailing list