Re: Request: Committers, delete your old branches on apache/couchdb!
Hi Paul, Not sure if it would help you. I have following git alias: ``` [alias] rmmerged = !sh -c \"git branch --merged | grep -v '^* master$' | grep -v '^ master$' | xargs git branch -d\" ``` Also we might want to change the setting for repository to delete merged branches. BR, iilyak On 2019/12/18 15:43:28, Paul Davis wrote: > I noticed that there are a lot of branches pointing at commits that > have been merged to master. I'll hack up a quick script today that > will go through all branches and delete anything that's been merged. > I'll write out the specific branch/sha combinations and report them > here in case anyone really needs a branch I end up deleting. > > On Tue, Dec 17, 2019 at 6:35 PM Joan Touzet wrote: > > > > Bump. Please do this. > > > > On 2019-12-13 12:15 p.m., Joan Touzet wrote: > > > Hi again committers, > > > > > > Our proto-Jenkins setup is currently using my API token to scan GitHub > > > for branches. GitHub has notoriously low values for how many API calls > > > you can make per hour. > > > > > > Unfortunately, because multibranch pipeline jobs scan *all* branches in > > > a repo for changes, this means that the total number of jobs we can run > > > in an hour is pretty small. > > > > > > I'm asking everyone to please go and delete any obsolete or unused > > > branches on the apache/couchdb repo that you don't need. I'm too nervous > > > to mass delete other people's branches, but if I see anything that got > > > merged and is more than a few years old, it'll probably get wiped. > > > > > > Thanks, > > > Joan "needs sleep" Touzet > > > >
Re: Request: Committers, delete your old branches on apache/couchdb!
I noticed that there are a lot of branches pointing at commits that have been merged to master. I'll hack up a quick script today that will go through all branches and delete anything that's been merged. I'll write out the specific branch/sha combinations and report them here in case anyone really needs a branch I end up deleting. On Tue, Dec 17, 2019 at 6:35 PM Joan Touzet wrote: > > Bump. Please do this. > > On 2019-12-13 12:15 p.m., Joan Touzet wrote: > > Hi again committers, > > > > Our proto-Jenkins setup is currently using my API token to scan GitHub > > for branches. GitHub has notoriously low values for how many API calls > > you can make per hour. > > > > Unfortunately, because multibranch pipeline jobs scan *all* branches in > > a repo for changes, this means that the total number of jobs we can run > > in an hour is pretty small. > > > > I'm asking everyone to please go and delete any obsolete or unused > > branches on the apache/couchdb repo that you don't need. I'm too nervous > > to mass delete other people's branches, but if I see anything that got > > merged and is more than a few years old, it'll probably get wiped. > > > > Thanks, > > Joan "needs sleep" Touzet > >
Re: Request: Committers, delete your old branches on apache/couchdb!
Bump. Please do this. On 2019-12-13 12:15 p.m., Joan Touzet wrote: Hi again committers, Our proto-Jenkins setup is currently using my API token to scan GitHub for branches. GitHub has notoriously low values for how many API calls you can make per hour. Unfortunately, because multibranch pipeline jobs scan *all* branches in a repo for changes, this means that the total number of jobs we can run in an hour is pretty small. I'm asking everyone to please go and delete any obsolete or unused branches on the apache/couchdb repo that you don't need. I'm too nervous to mass delete other people's branches, but if I see anything that got merged and is more than a few years old, it'll probably get wiped. Thanks, Joan "needs sleep" Touzet
Request: Committers, delete your old branches on apache/couchdb!
Hi again committers, Our proto-Jenkins setup is currently using my API token to scan GitHub for branches. GitHub has notoriously low values for how many API calls you can make per hour. Unfortunately, because multibranch pipeline jobs scan *all* branches in a repo for changes, this means that the total number of jobs we can run in an hour is pretty small. I'm asking everyone to please go and delete any obsolete or unused branches on the apache/couchdb repo that you don't need. I'm too nervous to mass delete other people's branches, but if I see anything that got merged and is more than a few years old, it'll probably get wiped. Thanks, Joan "needs sleep" Touzet