Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| portssubversionprimer [2016/04/17 20:04] – KurtJaeger | portssubversionprimer [2022/10/29 23:45] (current) – Update ports-secteam links KubilayKocak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Subversion for FreeBSD Ports ====== | ====== Subversion for FreeBSD Ports ====== | ||
| + | |||
| + | This page is now historical, as the ports repository was converted from SVN to Git. | ||
| ====== Introduction ====== | ====== Introduction ====== | ||
| Line 12: | Line 14: | ||
| < | < | ||
| - | % svn checkout svn+ssh://svn.freebsd.org/ | + | % svn checkout svn+ssh://repo.freebsd.org/ |
| </ | </ | ||
| - | If your %%FreeBSD%% login name is different from your login name on your local machine, you must either include it in the URL (for example '' | + | If your %%FreeBSD%% login name is different from your login name on your local machine, you must either include it in the URL (for example '' |
| < | < | ||
| - | Host svn.freebsd.org | + | Host repo.freebsd.org |
| User jarjar | User jarjar | ||
| </ | </ | ||
| - | In '' | + | In '' |
| For the ports repository, head refers to the current ports tree. For example, '' | For the ports repository, head refers to the current ports tree. For example, '' | ||
| Line 49: | Line 51: | ||
| < | < | ||
| - | % svn checkout svn+ssh://svn.freebsd.org/ | + | % svn checkout svn+ssh://repo.freebsd.org/ |
| </ | </ | ||
| Line 55: | Line 57: | ||
| < | < | ||
| - | % svn co --depth=empty svn+ssh://svn.freebsd.org/ | + | % svn co --depth=empty svn+ssh://repo.freebsd.org/ |
| % cd /usr/ports | % cd /usr/ports | ||
| % svn up head | % svn up head | ||
| Line 63: | Line 65: | ||
| ==== Anonymous Checkout ==== | ==== Anonymous Checkout ==== | ||
| + | |||
| + | **Not secure** | ||
| + | |||
| + | The data transferred by these commands are unverified. | ||
| It is possible to anonymously check out the %%FreeBSD%% repository with Subversion. This will give access to a read-only tree that can be updated, but not committed to. To do this, use one of the following commands: | It is possible to anonymously check out the %%FreeBSD%% repository with Subversion. This will give access to a read-only tree that can be updated, but not committed to. To do this, use one of the following commands: | ||
| < | < | ||
| - | % svn co svn:// | ||
| % svn co http:// | % svn co http:// | ||
| </ | </ | ||
| Line 76: | Line 81: | ||
| < | < | ||
| - | % svn checkout --depth empty svn+ssh://svn.freebsd.org/ | + | % svn checkout --depth empty svn+ssh://repo.freebsd.org/ |
| % cd /usr/ports | % cd /usr/ports | ||
| % svn update --set-depth files | % svn update --set-depth files | ||
| Line 271: | Line 276: | ||
| < | < | ||
| - | % svn co svn+ssh://svn.freebsd.org/ | + | % svn co svn+ssh://repo.freebsd.org/ |
| - | % svn cp ' | + | % svn cp ' |
| </ | </ | ||
| Line 368: | Line 373: | ||
| < | < | ||
| - | % svn merge -r179454: | + | % svn merge -r179454: |
| </ | </ | ||
| Line 374: | Line 379: | ||
| < | < | ||
| - | % svn copy svn+ssh://svn.freebsd.org/ | + | % svn copy svn+ssh://repo.freebsd.org/ |
| % svn commit | % svn commit | ||
| </ | </ | ||
| Line 381: | Line 386: | ||
| < | < | ||
| - | % svn copy svn+ssh://svn.freebsd.org/ | + | % svn copy svn+ssh://repo.freebsd.org/ |
| </ | </ | ||
| Line 390: | Line 395: | ||
| ==== Quarterly Branch ==== | ==== Quarterly Branch ==== | ||
| - | Commits that are [[Quarterly_Branch|Quarterly Branch]] (MFH) candidates should be merged to their respective branch after being committed to HEAD. | + | Commits that are [[Ports/ |
| The process is as follows: | The process is as follows: | ||
| - **Commit** to HEAD, adding '' | - **Commit** to HEAD, adding '' | ||
| - | * Adding '' | + | * Adding '' |
| - | - **Check** for Approval. If the change has [[ports-secteam# | + | - **Check** for Approval. If the change has Blanket Approval((Approvals are no longer necessary)), **go to Step 4.** |
| - **Wait** for ports-secteam to approve the MFH request they received in Step 1 | - **Wait** for ports-secteam to approve the MFH request they received in Step 1 | ||
| + | - If you forgot to put **MFH: XXXXQN** in the commit message: | ||
| + | * Forward the mailing list commit email to [[PortsSecteam# | ||
| - **Merge** the commit with the correct //Approved by// line (see below), using the '' | - **Merge** the commit with the correct //Approved by// line (see below), using the '' | ||
| * If the change has Blanket Approval (See Step 2), Add '' | * If the change has Blanket Approval (See Step 2), Add '' | ||
| Line 411: | Line 418: | ||
| < | < | ||
| % cd /usr/ports | % cd /usr/ports | ||
| - | % svn switch svn+ssh://svn.FreeBSD.org/ | + | % svn switch svn+ssh://repo.FreeBSD.org/ |
| </ | </ | ||
| Line 519: | Line 526: | ||
| < | < | ||
| - | % svn copy svn+ssh://svn.FreeBSD.org/ | + | % svn copy svn+ssh://repo.FreeBSD.org/ |
| </ | </ | ||
| Line 529: | Line 536: | ||
| < | < | ||
| - | % svn copy svn+ssh://svn.FreeBSD.org/ | + | % svn copy svn+ssh://repo.FreeBSD.org/ |
| </ | </ | ||
| Line 537: | Line 544: | ||
| < | < | ||
| - | % svn copy svn+ssh://svn.FreeBSD.org/ | + | % svn copy svn+ssh://repo.FreeBSD.org/ |
| </ | </ | ||
| ===== Enable Feature Freeze ===== | ===== Enable Feature Freeze ===== | ||
| - | To enable a feature freeze change the FEATURE_FREEZE variable in '' | + | To enable a feature freeze change the FEATURE_FREEZE variable in '' |
| + | |||
| + | ---- | ||
| + | |||
| + | {{tag> | ||