diff mbox series

Update branching and branch closing instructions for move to git.

Message ID alpine.DEB.2.21.2001180141350.13033@digraph.polyomino.org.uk
State New
Headers show
Series Update branching and branch closing instructions for move to git. | expand

Commit Message

Joseph Myers Jan. 18, 2020, 1:42 a.m. UTC
update_version_svn has been replaced by update_version_git.  The
scripts directory in ~gccadmin is now a symlink into a gcc-checkout
directory.  Various commands using SVN are replaced by git commands
and instructions for updating the old git mirror are removed.
Instructions for adding a new basepoint tag are added.

Committed.
diff mbox series

Patch

diff --git a/htdocs/branch-closing.html b/htdocs/branch-closing.html
index f8a3ddfa..80e81ecd 100644
--- a/htdocs/branch-closing.html
+++ b/htdocs/branch-closing.html
@@ -16,16 +16,16 @@ 
 <li>Inform the gcc@gcc.gnu.org list that the branch is being
 closed.</li>
 
-<li>On trunk, edit <code>IGNORE_BRANCHES</code>
-in <code>maintainer-scripts/update_version_svn</code> to stop nightly
+<li>On master, edit <code>IGNORE_BRANCHES</code>
+in <code>maintainer-scripts/update_version_git</code> to stop nightly
 version updates from touching the branch.  Remove the entry
 in <code>maintainer-scripts/crontab</code> that creates snapshots from
 the branch.  Optionally, remove any code
 in <code>maintainer-scripts/gcc_release</code> that is only relevant
 to snapshots from that branch or older branches (for example, if
 directories listed in the script were removed or renamed after that
-branch).  Check in those changes.  Run <code>svn update</code> in
-the <code>scripts</code> directory of the gccadmin account, and then
+branch).  Check in and push those changes.  Run <code>git pull</code> in
+the <code>gcc-checkout</code> directory of the gccadmin account, and then
 actually install the updated crontab there.</li>
 
 <li><p>For every open bug whose summary contains the version number of
diff --git a/htdocs/branching.html b/htdocs/branching.html
index 5eb6e73a..a9dafdd3 100644
--- a/htdocs/branching.html
+++ b/htdocs/branching.html
@@ -13,11 +13,11 @@ 
 <h2>Preparations</h2>
 
 <ol>
-<li>Execute the following commands, substituting appropriate version 
+<li>Execute the following command, in a checkout of master, substituting appropriate version 
 numbers:
 <blockquote>
 <pre>
-svn cp svn+ssh://gcc.gnu.org/svn/gcc/trunk svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_5-branch
+git push origin master:releases/gcc-10
 </pre>
 </blockquote>
 </li>
@@ -26,15 +26,12 @@  svn cp svn+ssh://gcc.gnu.org/svn/gcc/trunk svn+ssh://gcc.gnu.org/svn/gcc/branche
 &quot;prerelease&quot; instead of &quot;experimental&quot;.</li>
 
 <li>Update the file <code>gcc/BASE-VER</code> on the mainline, to use
-the next major release number (e.g., 3.2 instead of 3.1).</li>
-
-<li>Update the GIT mirror by running on <code>gcc.gnu.org</code> the
-following command, substituting appropriate version
-numbers:
+the next major release number (e.g., 11 instead of 10).  Immediately
+after pushing that change, create the basepoint tag for the next release:
 <blockquote>
 <pre>
-$ cd /git/gcc.git/.git
-$ git symbolic-ref refs/heads/gcc-4_7-branch refs/remotes/gcc-4_7-branch
+git tag -a -m "GCC 11 basepoint" basepoints/gcc-11
+git push origin tag basepoints/gcc-11
 </pre>
 </blockquote>
 </li>
@@ -64,7 +61,7 @@  release branch, the current release series, and active development
 <li>Update <code>maintainer-scripts/crontab</code> on the mainline by
 adding an entry to make snapshots of the new branch and adjusting the
 version number of the mainline snapshots.
-Run <code>svn update</code> in the <code>scripts</code> directory of
+Run <code>git pull</code> in the <code>gcc-checkout</code> directory of
 the gccadmin account, and then actually install the updated crontab
 there.
 <br />