Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Issue 2221033002: Add script to archive old roll branches (Closed)

Created:
4 years, 4 months ago by Michael Achenbach
Modified:
4 years, 4 months ago
Base URL:
https://chromium.googlesource.com/infra/experimental@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add script to archive old roll branches BUG= R=tandrii@chromium.org Committed: e790c88f732bd8c7350b59186a7ca242718ae754

Patch Set 1 #

Patch Set 2 : Fix #

Total comments: 4

Patch Set 3 : Review #

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -0 lines) Patch
A machenbach/archive/archive_branches.py View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Michael Achenbach
Could you sanity check this before I knock myself out, deleting old branches?
4 years, 4 months ago (2016-08-08 15:21:45 UTC) #2
tandrii(chromium)
https://codereview.chromium.org/2221033002/diff/20001/machenbach/archive/archive_branches.py File machenbach/archive/archive_branches.py (right): https://codereview.chromium.org/2221033002/diff/20001/machenbach/archive/archive_branches.py#newcode11 machenbach/archive/archive_branches.py:11: This deletes the refs passed to the script and ...
4 years, 4 months ago (2016-08-08 15:29:40 UTC) #3
Michael Achenbach
All done
4 years, 4 months ago (2016-08-08 15:35:27 UTC) #4
tandrii(chromium)
lgtm
4 years, 4 months ago (2016-08-08 15:36:35 UTC) #5
Michael Achenbach
Committed patchset #4 (id:60001) manually as e790c88f732bd8c7350b59186a7ca242718ae754 (presubmit successful).
4 years, 4 months ago (2016-08-08 15:43:25 UTC) #7
Michael Achenbach
Executing the following in a v8 workdir checkout to archive in batches of 10 (excluding ...
4 years, 4 months ago (2016-08-09 07:33:52 UTC) #8
Michael Achenbach
On 2016/08/09 07:33:52, Michael Achenbach wrote: > Executing the following in a v8 workdir checkout ...
4 years, 4 months ago (2016-08-09 08:30:09 UTC) #9
Michael Achenbach
4 years, 4 months ago (2016-08-09 09:17:29 UTC) #10
Message was sent while issue was closed.
Deleted the other refs with:

ls -l .git/refs/pending/heads | cut -d " " -f 10 | grep -E "^.+\..+\..+$" | grep
-vE "^5\.4\..+$" | awk '{print ":refs/pending/heads/"$1}' | xargs -n10 git push
origin

ls -l .git/refs/pending-tags/heads | cut -d " " -f 10 | grep -E "^.+\..+\..+$" |
grep -vE "^5\.4\..+$" | awk '{print ":refs/pending-tags/heads/"$1}' | xargs -n30
git push origin

Powered by Google App Engine
This is Rietveld 408576698