[MacPorts] GetMacPortsSource modified

MacPorts noreply at macports.org
Sat Mar 11 16:45:45 UTC 2017


Page "GetMacPortsSource" was changed by jmroot
Diff URL: <https://trac.macports.org/wiki/GetMacPortsSource?action=diff&version=13>
Revision 13
Comment: Update for git
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: GetMacPortsSource
=========================================================================
--- GetMacPortsSource (version: 12)
+++ GetMacPortsSource (version: 13)
@@ -1,34 +1,20 @@
-{{{
-#!div style="background: lightyellow;"
-TODO: This information is outdated. MacPorts migrated to GitHub.
-}}}
+== Git Source Control System ==
 
-== Subversion Source Control System ==
-
-MacPorts uses [http://subversion.apache.org/ Subversion] as its version control system. Subversion documentation is available through the [http://svnbook.red-bean.com/ 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. Subversion GUI clients are built in to [https://developer.apple.com/xcode/ Xcode] and [http://www.bbedit.com BBEdit].
+MacPorts uses [https://git-scm.com/ Git] as its version control system. Git documentation is also available [https://git-scm.com/doc on the web]. The Git command line client is shipped with Xcode 4.1 and later, and is also available through MacPorts. Git GUI clients are built in to [https://developer.apple.com/xcode/ Xcode] and [http://www.bbedit.com BBEdit].
 
 == Browsing the MacPorts Sources Online ==
 
-You may browse the MacPorts Subversion sources online in one of three ways:
+You may browse the MacPorts Git sources online [https://github.com/macports on GitHub].
 
- 1. Via the [browser: Trac source code browser]
- 1. Directly through Subversion via its underlying [https://svn.macports.org/repository/macports/ http support].
- 1. 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 https://svn.macports.org/repository/macports/).
+== Checking out MacPorts sources using Git ==
 
-
-== Checking out MacPorts sources using Subversion ==
-
-To checkout the sources with Subversion:
+To checkout the sources with Git:
 
 {{{
-# Checkout the macports trunk
-svn checkout https://svn.macports.org/repository/macports/trunk macports-trunk
+# Checkout the macports base master branch
+git clone https://github.com/macports/macports-base.git macports-base
 }}}
 
-When committing to the repository for the first time, subversion will use your local account name as the username for svn.macports.org. This is almost certainly the wrong username, so you can either hit enter when it says "password for 'local-user-name':" and then enter the correct !alias at macports.org when it prompts for username, or you can pass {{{--username}}} to svn like the following example:
+This will check out the base repository; there are several other repositories including `macports-ports` for the ports tree. Check out any of these that you wish to use as above, simple replacing `macports-base` with the name of the repository you want.
 
-{{{
-svn ci . -m 'log message' --username alias at macports.org
-}}}
-
-After the first commit with the correct username and password, subversion will cache this information (in ~/.subversion/). 
+When pushing commits to the repository on GitHub, git will prompt for a username and password. You need to use your GitHub handle, not your MacPorts one. You can set up [https://help.github.com/articles/caching-your-github-password-in-git/ password caching] to avoid being asked every time.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/GetMacPortsSource>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'GetMacPortsSource' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list