Changes between Version 18 and Version 19 of CommittersTipsAndTricks


Ignore:
Timestamp:
May 29, 2009, 7:22:18 PM (15 years ago)
Author:
dweber@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommittersTipsAndTricks

    v18 v19  
    2929
    3030{{{
    31 svn mkdir https://svn.macports.org/repository/macports/users/<YourMacPortsUserID>
     31svn mkdir https://svn.macports.org/repository/macports/users/<YourMacPortsUserName>
    3232}}}
    3333
     
    3535
    3636{{{
    37 $ mkdir -p ~/myports
    38 $ svn co https://svn.macports.org/repository/macports/users/<YourMacPortsUserID> ~/myports
     37$ svn co https://svn.macports.org/repository/macports/users/<YourMacPortsUserName> ~/myports
    3938}}}
    4039
     
    4241
    4342{{{
    44 file:///Users/<YourSystemUserID>/myports
     43file:///Users/<YourSystemUserName>/myports
    4544}}}
    4645
    47 To work on a copy of a port from MacPorts trunk, use {{{svn copy}}}.  For example, to test changes on the cableswig port:
     46To work on a copy of a port from MacPorts trunk, use `svn copy`.  For example, to test changes on the cableswig port, you can copy the repository trunk (at the HEAD revision) to your new user branch:
    4847
    4948{{{
    50 $ svn mkdir ~/myports/devel/cableswig
    51 $ svn copy https://svn.macosforge.org/repository/macports/trunk/dports/devel/cableswig/Portfile ~/myports/devel/cableswig/Portfile
     49$ svn mkdir ~/myports/devel
     50$ svn copy https://svn.macosforge.org/repository/macports/trunk/dports/devel/cableswig ~/myports/devel/
    5251}}}
    5352
    54 Run `portindex` in `~/myports` any time you add a new Portfile, e.g.:
     53Another option for a large branch is to copy everything at the server side, where the copy is equivalent to a unix hard link in the file system; e.g.:
     54{{{
     55$ svn mkdir https://svn.macports.org/repository/macports/users/<YourMacPortsUserName>/devel
     56$ svn copy \
     57      https://svn.macosforge.org/repository/macports/trunk/dports/devel/cableswig \
     58      https://svn.macports.org/repository/macports/users/<YourMacPortsUserName>/devel/cableswig \
     59      -m "testing modifications to cableswig"
     60$ cd ~/myports
     61$ svn update
     62}}}
     63
     64After the copy, run `portindex` in `~/myports` (do this any time you add a new Portfile), e.g.:
    5565
    5666{{{
    5767$ cd ~/myports
     68$ svn update
    5869$ portindex
    5970$ port file cableswig