You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@solr.apache.org by Jalaz Kumar <ja...@gmail.com> on 2026/10/22 04:12:40 UTC
[DISCUSS] Add automatic branch deletion on PR merge
Hi all
Whenever any PR gets merged into main, is it possible for us to enable the
automatic branch deletion?
Right now, in absence of this we have to manually delete the branch.
This check can be enabled from General settings.
[image: Screenshot 2026-10-22 at 9.39.32 AM.png]
If there are any downsides of this, please let me know.
--
Regards
Jalaz Kumar
Re: [DISCUSS] Add automatic branch deletion on PR merge
Posted by Houston Putman <ho...@apache.org>.
I've merged this. And yeah, the caveat make sense, and ultimately what I
would expect. Really we just need to make sure the branches in our repo
stay cleaned up.
There's an issue with the asf infra right now, so it might take a day or
two to actually take effect.
- Houston
On Thu, Oct 22, 2026 at 9:59 AM Mike Drob <md...@mdrob.com> wrote:
> Note that this does not (or at least last time I checked did not) delete
> branches coming from forks. So you still have to clean those
>
> On Thu, Oct 22, 2026 at 11:49 AM Jalaz Kumar <ja...@gmail.com>
> wrote:
>
> > Thanks Eric & Jan, PR is in: https://github.com/apache/solr/pull/5196
> >
> > On Thu, Oct 22, 2026 at 7:20 PM Jan Høydahl <ja...@apache.org> wrote:
> >
> > > Make a PR against our .asf.yaml file, adding del_branch_on_merge=true,
> > see
> > > https://github.com/apache/infrastructure-asfyaml#pull-request-settings
> > >
> > > Jan
> > >
> > > > 22. okt. 2026 kl. 13:14 skrev Eric Pugh <ep...@apache.org>:
> > > >
> > > >
> > > >
> > > > On 2026-10-22 04:12 UTC Jalaz Kumar wrote:
> > > >> Hi all
> > > >>
> > > >> Whenever any PR gets merged into main, is it possible for us to
> enable
> > > the
> > > >> automatic branch deletion?
> > > >> Right now, in absence of this we have to manually delete the branch.
> > > >>
> > > >> This check can be enabled from General settings.
> > > >>
> > > >> [image: Screenshot 2026-10-22 at 9.39.32 AM.png]
> > > >>
> > > >>
> > > >> If there are any downsides of this, please let me know.
> > > >>
> > > >> --
> > > >> Regards
> > > >> Jalaz Kumar
> > > >>
> > > >
> > > > I know I am terrible about cleaning up branches... Seems to make
> > > sense?
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > > For additional commands, e-mail: dev-help@solr.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > For additional commands, e-mail: dev-help@solr.apache.org
> > >
> > >
> >
> > --
> > Regards
> > Jalaz Kumar
> >
>
Re: [DISCUSS] Add automatic branch deletion on PR merge
Posted by Mike Drob <md...@mdrob.com>.
Note that this does not (or at least last time I checked did not) delete
branches coming from forks. So you still have to clean those
On Thu, Oct 22, 2026 at 11:49 AM Jalaz Kumar <ja...@gmail.com>
wrote:
> Thanks Eric & Jan, PR is in: https://github.com/apache/solr/pull/5196
>
> On Thu, Oct 22, 2026 at 7:20 PM Jan Høydahl <ja...@apache.org> wrote:
>
> > Make a PR against our .asf.yaml file, adding del_branch_on_merge=true,
> see
> > https://github.com/apache/infrastructure-asfyaml#pull-request-settings
> >
> > Jan
> >
> > > 22. okt. 2026 kl. 13:14 skrev Eric Pugh <ep...@apache.org>:
> > >
> > >
> > >
> > > On 2026-10-22 04:12 UTC Jalaz Kumar wrote:
> > >> Hi all
> > >>
> > >> Whenever any PR gets merged into main, is it possible for us to enable
> > the
> > >> automatic branch deletion?
> > >> Right now, in absence of this we have to manually delete the branch.
> > >>
> > >> This check can be enabled from General settings.
> > >>
> > >> [image: Screenshot 2026-10-22 at 9.39.32 AM.png]
> > >>
> > >>
> > >> If there are any downsides of this, please let me know.
> > >>
> > >> --
> > >> Regards
> > >> Jalaz Kumar
> > >>
> > >
> > > I know I am terrible about cleaning up branches... Seems to make
> > sense?
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > For additional commands, e-mail: dev-help@solr.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > For additional commands, e-mail: dev-help@solr.apache.org
> >
> >
>
> --
> Regards
> Jalaz Kumar
>
Re: [DISCUSS] Add automatic branch deletion on PR merge
Posted by Jalaz Kumar <ja...@gmail.com>.
Thanks Eric & Jan, PR is in: https://github.com/apache/solr/pull/5196
On Thu, Oct 22, 2026 at 7:20 PM Jan Høydahl <ja...@apache.org> wrote:
> Make a PR against our .asf.yaml file, adding del_branch_on_merge=true, see
> https://github.com/apache/infrastructure-asfyaml#pull-request-settings
>
> Jan
>
> > 22. okt. 2026 kl. 13:14 skrev Eric Pugh <ep...@apache.org>:
> >
> >
> >
> > On 2026-10-22 04:12 UTC Jalaz Kumar wrote:
> >> Hi all
> >>
> >> Whenever any PR gets merged into main, is it possible for us to enable
> the
> >> automatic branch deletion?
> >> Right now, in absence of this we have to manually delete the branch.
> >>
> >> This check can be enabled from General settings.
> >>
> >> [image: Screenshot 2026-10-22 at 9.39.32 AM.png]
> >>
> >>
> >> If there are any downsides of this, please let me know.
> >>
> >> --
> >> Regards
> >> Jalaz Kumar
> >>
> >
> > I know I am terrible about cleaning up branches... Seems to make
> sense?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > For additional commands, e-mail: dev-help@solr.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
>
--
Regards
Jalaz Kumar
Re: [DISCUSS] Add automatic branch deletion on PR merge
Posted by Jan Høydahl <ja...@apache.org>.
Make a PR against our .asf.yaml file, adding del_branch_on_merge=true, see https://github.com/apache/infrastructure-asfyaml#pull-request-settings
Jan
> 22. okt. 2026 kl. 13:14 skrev Eric Pugh <ep...@apache.org>:
>
>
>
> On 2026-10-22 04:12 UTC Jalaz Kumar wrote:
>> Hi all
>>
>> Whenever any PR gets merged into main, is it possible for us to enable the
>> automatic branch deletion?
>> Right now, in absence of this we have to manually delete the branch.
>>
>> This check can be enabled from General settings.
>>
>> [image: Screenshot 2026-10-22 at 9.39.32 AM.png]
>>
>>
>> If there are any downsides of this, please let me know.
>>
>> --
>> Regards
>> Jalaz Kumar
>>
>
> I know I am terrible about cleaning up branches... Seems to make sense?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org
Re: [DISCUSS] Add automatic branch deletion on PR merge
Posted by Eric Pugh <ep...@apache.org>.
On 2026-10-22 04:12 UTC Jalaz Kumar wrote:
> Hi all
>
> Whenever any PR gets merged into main, is it possible for us to enable the
> automatic branch deletion?
> Right now, in absence of this we have to manually delete the branch.
>
> This check can be enabled from General settings.
>
> [image: Screenshot 2026-10-22 at 9.39.32 AM.png]
>
>
> If there are any downsides of this, please let me know.
>
> --
> Regards
> Jalaz Kumar
>
I know I am terrible about cleaning up branches... Seems to make sense?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org