wiki:GetMacPortsSource

Version 1 (modified by markd@…, 17 years ago) (diff)

--

Subversion Source Control System

MacPorts uses Subversion as its version control system. Subversion documentation is available through the online Subversion Book. The Subversion command line client svn is shipped with Apple's Mac OS X Leopard, and available through MacPorts on earlier Mac OS X versions. There is also a Subversion installation available in binary form from MacOSForge. Subversion GUI clients are built in to XCode and BBEdit.

Browsing the MacPorts Sources Online

You may browse the MacPorts Subversion sources online in one of three ways:

  1. Via the Trac source code browser
  2. Directly through Subversion via its underlying http support.
  3. You may also directly access the Subversion respository through a WebDav client such as the Mac OS X Finder. (Select Connect to Server… and paste in the URL http://svn.macosforge.org/repository/macports/).

Checking out MacPorts sources using Subversion

To checkout the sources with Subversion, for read-only access, use commands such as the following:

# Checkout the macports trunk
svn checkout http://svn.macosforge.org/repository/macports/trunk macports-trunk

To gain commit access to the repository, you must be granted an account, and be given appropriate privileges. Once that is done, you may checkout the source tree using https:

# Checkout the macports trunk
svn checkout https://svn.macosforge.org/repository/macports/trunk macports-trunk