hghooks: announce fx-team read-only dates (bug 1304864); r?jgriffin draft
authorGregory Szorc <gps@mozilla.com>
Thu, 22 Sep 2016 13:30:17 -0700
changeset 9628 ac0da14598e56baed61580d4c81cee4749eb5f73
parent 9617 cdfdcb024579dc845356526e91ccbb869d4f9c1e
push id1252
push userbmo:gps@mozilla.com
push dateThu, 22 Sep 2016 20:31:21 +0000
reviewersjgriffin
bugs1304864
hghooks: announce fx-team read-only dates (bug 1304864); r?jgriffin This commit establishes the schedule for making fx-team soft read-only and hard read-only. MozReview-Commit-ID: GIsTmuuRSlU
hghooks/mozhghooks/fxteam_retirement.py
hghooks/tests/test-fxteam-retirement.t
--- a/hghooks/mozhghooks/fxteam_retirement.py
+++ b/hghooks/mozhghooks/fxteam_retirement.py
@@ -10,16 +10,20 @@ def hook(ui, repo, source=None, **kwargs
         return 0
 
     header = '*' * 72
     ui.write('%s\n' % header)
     ui.write('The fx-team repository is in the process of being retired.\n')
     ui.write('\n')
     ui.write('Push access to this repository will be going away.\n')
     ui.write('\n')
+    ui.write('The repository will become read-only on October 3 except to\n')
+    ui.write('sheriffs and people who have pushed recently. The repository\n')
+    ui.write('will be read-only to everyone starting on November 1.\n')
+    ui.write('\n')
     ui.write('Please start changing your development workflow to base commits\n')
     ui.write('off of mozilla-central instead of fx-team.\n')
     ui.write('\n')
     ui.write('Please consider landing commits via MozReview+Autoland (preferred)\n')
     ui.write('or to mozilla-inbound. (mozilla-inbound will eventually go away too\n')
     ui.write('so use of Autoland is highly encouraged.)\n')
     ui.write('%s\n' % header)
 
--- a/hghooks/tests/test-fxteam-retirement.t
+++ b/hghooks/tests/test-fxteam-retirement.t
@@ -18,16 +18,20 @@ A warning should be printed when pushing
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files
   ************************************************************************
   The fx-team repository is in the process of being retired.
   
   Push access to this repository will be going away.
   
+  The repository will become read-only on October 3 except to
+  sheriffs and people who have pushed recently. The repository
+  will be read-only to everyone starting on November 1.
+  
   Please start changing your development workflow to base commits
   off of mozilla-central instead of fx-team.
   
   Please consider landing commits via MozReview+Autoland (preferred)
   or to mozilla-inbound. (mozilla-inbound will eventually go away too
   so use of Autoland is highly encouraged.)
   ************************************************************************
 
@@ -40,16 +44,20 @@ A warning should be printed when pushing
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files
   ************************************************************************
   The fx-team repository is in the process of being retired.
   
   Push access to this repository will be going away.
   
+  The repository will become read-only on October 3 except to
+  sheriffs and people who have pushed recently. The repository
+  will be read-only to everyone starting on November 1.
+  
   Please start changing your development workflow to base commits
   off of mozilla-central instead of fx-team.
   
   Please consider landing commits via MozReview+Autoland (preferred)
   or to mozilla-inbound. (mozilla-inbound will eventually go away too
   so use of Autoland is highly encouraged.)
   ************************************************************************