git: 11f47f17e122 - main - ports(7): update instructions for git
Rene Ladan
rene at FreeBSD.org
Tue Apr 6 20:28:10 UTC 2021
The branch main has been updated by rene (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=11f47f17e122b6f185002e4ec6cfe749b3e7a6bd
commit 11f47f17e122b6f185002e4ec6cfe749b3e7a6bd
Author: Rene Ladan <rene at FreeBSD.org>
AuthorDate: 2021-04-06 20:24:12 +0000
Commit: Rene Ladan <rene at FreeBSD.org>
CommitDate: 2021-04-06 20:26:03 +0000
ports(7): update instructions for git
Reviewed by: gjb, imp, lwhsu, mat
Differential Revision: https://reviews.freebsd.org/D29502
---
share/man/man7/ports.7 | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7
index d428770f921c..c3dbbc680050 100644
--- a/share/man/man7/ports.7
+++ b/share/man/man7/ports.7
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 18, 2021
+.Dd April 6, 2021
.Dt PORTS 7
.Os
.Sh NAME
@@ -64,23 +64,35 @@ The
.Fx
Ports Collection is maintained in several branches, which differ mostly
by versions of software provided: the
-.Em head
-branch contains all the latest changes, while the
+.Em main
+branch contains all the latest changes and corresponds to the
+.Em latest
+package set, while the
.Em quarterly
branches only provide critical fixes.
The
-.Em head
-branch can be installed or updated from the Subversion repository located at:
+.Em main
+branch can be cloned and updated from the Git repository located at:
.Pp
-.Lk https://svn.FreeBSD.org/ports/head
+.Lk https://git.FreeBSD.org/ports.git
+.Pp
+so eg:
+.Pp
+.Cm git clone https://git.FreeBSD.org/ports.git
.Pp
The
.Em quarterly
-branches can be found in Subversion in the
-.Pa branches/
-subdirectory, eg:
+branches can be found in Git as branches like
+.Pa yyyyQn
+, where
+.Em yyyy
+indicates the year and
+.Em n
+indicates the quarter
+.Po 1 to 4
+.Pc , eg:
.Pp
-.Lk https://svn.FreeBSD.org/ports/branches/2019Q1
+.Cm git clone -b 2021Q2 https://git.FreeBSD.org/ports.git
.Pp
It is generally a good idea to use the
.Nm
@@ -92,7 +104,7 @@ By default, for
the
.Xr pkg 8
is configured to install packages built from the
-.Em head
+.Em main
branch, while for
.Fx STABLE
or RELEASE versions it is configured to install packages built from
More information about the dev-commits-src-all
mailing list