[MacPorts] CommittersTipsAndTricks modified
MacPorts
noreply at macports.org
Thu May 28 23:44:15 PDT 2009
Changed page "CommittersTipsAndTricks" by raimue at macports.org from 91.11.240.191*
Page URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks>
Diff URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks?action=diff&version=16>
Revision 16
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommittersTipsAndTricks
=========================================================================
--- CommittersTipsAndTricks (version: 15)
+++ CommittersTipsAndTricks (version: 16)
@@ -19,12 +19,11 @@
}}}
-== Test Portfile changes in your user svn ==
+== Create your own users directory in the MacPorts Subversion repository ==
+Use the [/browser Trac Browser] to explore the MacPorts Subversion repository. The repository root is located at `https://svn.macosforge.org/repository/macports`.
-Use the Trac Browser to explore the MacPorts svn; the repository root is located at
-
-https://svn.macosforge.org/repository/macports
+See also the explanation of [http://guide.macports.org/#development.local-repositories local development port trees] in the guide.
To create your own users directory:
@@ -32,7 +31,7 @@
svn mkdir https://svn.macports.org/repository/macports/users/<YourMacPortsUserID>
}}}
-Then, checkout your user svn repo:
+Then, checkout your user directory:
{{{
$ mkdir -p ~/myports
@@ -42,20 +41,22 @@
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]
+file:///Users/<YourSystemUserID>/myports
}}}
-Run {{{portindex}}} in ~/macports to generate {{{PortIndex}}}.
-
-To work on a copy of a port from macports trunk, use {{{svn copy}}}. For example, to test changes on the cableswig port:
+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
}}}
-Run {{{portindex}}} from ~/myports any time you add a new Portfile.
+Run `portindex` in `~/myports` any time you add a new Portfile.
+{{{
+$ cd ~/myports
+$ portindex
+}}}
== 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