Changes between Version 13 and Version 14 of howto/SyncingWithSVN


Ignore:
Timestamp:
Jun 16, 2015, 6:20:12 PM (9 years ago)
Author:
rogerpack2005@…
Comment:

add early out option, minor textual changes

Legend:

Unmodified
Added
Removed
Modified
  • howto/SyncingWithSVN

    v13 v14  
    2828svn co https://svn.macports.org/repository/macports/trunk/dports/ .
    2929}}}
    30 If you prefer, the repository is also available via HTTP:
     30If you prefer, the repository is also available via HTTP, which may be easier to sync later.
    3131{{{
    3232svn co http://svn.macports.org/repository/macports/trunk/dports/ .
     
    3838Edit $prefix/etc/macports/sources.conf to comment out the rsync entry and add the "file" entry:
    3939
    40 Note: don't forget to replace $prefix.
     40Note: don't forget to replace $prefix, so the initial part will start with "file:///" (three slashes).
    4141
    4242{{{
     
    4545}}}
    4646
     47At this point, if you don't care about future updates, you can manually build a portindex, like this:
     48
     49{{{
     50cd $prefix/var/macports/sources/svn.macports.org/trunk/dports/
     51portindex
     52}}}
     53
     54and you're ready to go.  If you want to enable easy future updates, see step 3 "Configure Subversion" instead.
     55
    4756=== Step 3: '''Configure Subversion''' ===
    4857
    4958First, tell subversion to use your proxy to connect to the server:
    50 1. If $prefix/var/macports/home/.subversion/servers doesn't exist, create it by copying the corresponding file from another user.  (SVN automatically creates this file if it doesn't exist.)
     591. If the $prefix/var/macports/home/.subversion/servers file doesn't exist, create it by copying the corresponding ~/.subversion/servers file from another user to that location.  (SVN automatically creates this file if it doesn't exist, so you probably already have one.)
    51602. Edit the file and set a proxy for hosts at `*.macports.org`.  Different proxy configurations require different sets of options here, but the file is pretty well commented, so it should be easy to figure out what you need.  At a minimum you'll need settings for http-proxy-host and http-proxy-port.
    5261
     
    56653. SVN will store the certificate in a file in the directory `$HOME/.subversion/auth/svn.ssl.server`.  In that directory, find the file that contains the string "`https://svn.macports.org`" and copy it into `$prefix/var/macports/home/.subversion/auth/svn.ssl.server`.
    5766
    58 Or, you can use SVN over HTTP, in which case you don't need to worry about the certificate.
     67Or, you can use SVN over HTTP, in which case you don't need to worry about the certificate or the 3 steps above.
    5968
    6069== Optional Parts ==