Changes between Version 13 and Version 14 of CommittersTipsAndTricks


Ignore:
Timestamp:
May 28, 2009, 8:18:15 PM (15 years ago)
Author:
dweber@…
Comment:

Adding information about user svn repository use

Legend:

Unmodified
Added
Removed
Modified
  • CommittersTipsAndTricks

    v13 v14  
    1818Portfile = svn:eol-style=native;svn:keywords=Id
    1919}}}
     20
     21
     22== Test Portfile changes in your user svn ==
     23
     24
     25Use the Trac Browser to explore the MacPorts svn; the repository root is located at
     26
     27https://svn.macosforge.org/repository/macports
     28
     29To create your own users directory:
     30
     31{{{
     32svn mkdir https://svn.macports.org/repository/macports/users/<YourMacPortsUserID>
     33}}}
     34
     35Then, checkout your user svn repo:
     36
     37{{{
     38$ mkdir -p ~/myports
     39$ svn co https://svn.macports.org/repository/macports/users/<YourMacPortsUserID> ~/myports
     40}}}
     41
     42Then 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.:
     43
     44{{{
     45file:///Users/<YourSystemUserID>/myports [nosync]
     46}}}
     47
     48To work on a copy of a port from macports trunk, use {{{svn copy}}}.  For example, to test changes on the cableswig port:
     49
     50{{{
     51$ svn mkdir ~/myports/devel/cableswig
     52$ svn copy https://svn.macosforge.org/repository/macports/trunk/dports/devel/cableswig/Portfile ~/myports/devel/cableswig/Portfile
     53}}}
     54
     55
     56
    2057
    2158