[asterisk-dev] Gerrit offline?
George Joseph
gjoseph at sangoma.com
Sat Aug 19 10:19:41 CDT 2023
On Fri, Aug 18, 2023 at 1:25 PM <asterisk at phreaknet.org> wrote:
> On 8/18/2023 9:15 AM, Sean Bright wrote:
> > On 8/17/2023 9:04 PM, asterisk at phreaknet.org wrote:
> >> Would it be at all possible to extend that possibly at least a couple
> >> days, perhaps through Wednesday at least?
> >
> > Shouldn't be necessary, I opened two PRs in your repo that remove the
> > references to gerrit so you should be good to go.
>
> Thanks Sean, that helped a lot!
>
> On 8/18/2023 9:51 AM, George Joseph wrote:
> > I can leave it up until Wednesday 1900Z.
>
> Thanks George, appreciate the flexibility!
>
> > Just what you have. You can pull them down yourself easily with the
> > following...
> >
> > curl -s 'https://gerrit.asterisk.org/changes/
> > <https://gerrit.asterisk.org/changes/%5C>?q=is:open&o=CURRENT_REVISION&o=DOWNLOAD_COMMANDS'
>
> > \
> > | tail -n +2 | jq -r '.[] | .revisions[].fetch[].commands.Branch' \
> > > /tmp/get_reviews.sh ; chmod a+x /tmp/get_reviews.sh ;
> > /tmp/get_reviews.sh
> >
>
> I guess the idea here is you checkout each change, and then can export
> the diff into a file or something like that? I guess it should be
> straightforward to generate the patches from that, and then discard the
> repo, thanks for the code.
>
Here's a gist that does all the work. Create a directory to hold the patch
files then run
the script from a gerrit asterisk clone directory providing the patch
directory.
Sean's work simplified this a good bit, but there are a few I may go and
> manually track down for safe keeping over the weekend (mostly some of
> Mark's stuff that hasn't been migrated to GitHub yet... or may not be
> soon, not sure what the status is on those).
>
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/55/17655/25
> && git checkout -b change-17655 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/79/19979/3
> && git checkout -b change-19979 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/69/20069/1
> && git checkout -b change-20069 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/38/20038/3
> && git checkout -b change-20038 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/68/20068/1
> && git checkout -b change-20068 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/58/20058/1
> && git checkout -b change-20058 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/59/20059/1
> && git checkout -b change-20059 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/33/20033/3
> && git checkout -b change-20033 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/40/19740/3
> && git checkout -b change-19740 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/testsuite refs/changes/83/20083/1
> && git checkout -b change-20083 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/80/20080/1
> && git checkout -b change-20080 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/19/17719/11
> && git checkout -b change-17719 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/37/20037/2
> && git checkout -b change-20037 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/41/19741/15
> && git checkout -b change-19741 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/97/19797/3
> && git checkout -b change-19797 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/21/19921/16
> && git checkout -b change-19921 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/93/19793/7
> && git checkout -b change-19793 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/29/18829/25
> && git checkout -b change-18829 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/77/18577/4
> && git checkout -b change-18577 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/64/19264/9
> && git checkout -b change-19264 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/18/19718/4
> && git checkout -b change-19718 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/49/19749/3
> && git checkout -b change-19749 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/48/19748/1
> && git checkout -b change-19748 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/67/19467/1
> && git checkout -b change-19467 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/55/19655/1
> && git checkout -b change-19655 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/72/19572/1
> && git checkout -b change-19572 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/11/19211/3
> && git checkout -b change-19211 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/34/19534/6
> && git checkout -b change-19534 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/48/17948/5
> && git checkout -b change-17948 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/47/19447/1
> && git checkout -b change-19447 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/74/18574/1
> && git checkout -b change-18574 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/69/18369/4
> && git checkout -b change-18369 FETCH_HEAD
> git fetch https://gerrit.asterisk.org/asterisk refs/changes/86/18186/1
> && git checkout -b change-18186 FETCH_HEAD
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20230819/d235f1ad/attachment.html>
More information about the asterisk-dev
mailing list