Re: http update ports tree using subversion
Chris, Thanks, I have subversion 1.4 installed and had no problem checking out the tree. Would the following amended instructions work? 1. Checkout ports tree and place in standard MacPorts location: cd /opt/local/var/db/dports/sources/ svn co http://svn.macports.org/repository/macports/trunk/dports \ rsync.rsync.darwinports.org_dpupdate_dports 2. Manually update as needed: cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate svn up Seems like it would work, do you see any problems with doing it this way? Brian
1. Check out the ports tree in a useful location (e.g. /Users/Shared/ dports): cd /Users/Shared && svn co http://svn.macports.org/repository/ macports/trunk/dports dports
2. Edit ${prefix}/etc/ports/sources.conf to include: file:///Users/Shared/dports
3. Manually update as needed. cd /Users/Shared/dports && svn up
If you do not already have subversion in place, then you can even use the Finder to access the repository. However, that route is a bit more convoluted.
What do you already have available on your system?
Chris
On Oct 25, 2006, at 8:18 PM, BB wrote:
Thanks, I have subversion 1.4 installed and had no problem checking out the tree.
Would the following amended instructions work?
1. Checkout ports tree and place in standard MacPorts location: cd /opt/local/var/db/dports/sources/ svn co http://svn.macports.org/repository/macports/trunk/dports \ rsync.rsync.darwinports.org_dpupdate_dports
2. Manually update as needed: cd /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate svn up
Seems like it would work, do you see any problems with doing it this way?
That should work fine, but you might want to be careful against a selfupdate (updating the MacPorts base). If rsync were to overwrite that directly, you would be disappointed. I would recommend leaving / opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate for rsync only, if for no other reason than to avoid any possible conflict. Chris
participants (2)
-
BB
-
cssdev@mac.com