+100 to Uwe's total message -- my thoughts exactly.  When I first started
using GitHub, I had an SVN mindset and didn't recognize the point of repo
forks.  Now I can clearly see that it allows for PRs that don't pollute the
branches in the master repo.

On Mon, Oct 19, 2020 at 1:01 PM Uwe Schindler <[email protected]> wrote:

> Hi Tomoko,
>
> IMHO, people should open PRs using a branch on their own GitHub fork. It
> also works well when you work together. Any ASF org member on GitHub can
> automatically commit and push to private branches of outside users, as
> GitHub enforces you to allow pushes from members of the org the PR is
> opened on.
>
> So maybe only create branches on ASF server if it's useful for all (big
> issue and long development time, like Gradle switch).
>
> Uwe
>
> Am October 19, 2020 4:45:23 PM UTC schrieb Tomoko Uchida <
> [email protected]>:
>>
>> Thank you Jan for the pointer.
>> I read the Infra wiki, and checked the yaml files in several major ASF
>> repositories (e.g. Hadoop, Flink, Kafka, AIrflow, ...). It looks like there
>> is no such configuration for the feature.
>>
>> If it's ok I will delete all branches that have been already merged.
>> Also I'd suggest deleting branches after merging them into the master (if
>> you open a PR, you can find a bit obscure button to "delete" the branch
>> which is related to the PR).
>>
>> Tomoko
>>
>>
>> 2020年10月20日(火) 0:19 Jan Høydahl <[email protected]>:
>>
>>> Check the .asf.yml file in our repo and
>>> https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features
>>> That’s where we control github features… But I cannot see that option.
>>>
>>> Jan
>>>
>>> > 19. okt. 2020 kl. 16:20 skrev Tomoko Uchida <
>>> [email protected]>:
>>> >
>>> > Hi,
>>> > it seems there are many active branches that are already merged into
>>> master via Github PR.
>>> >
>>> > Github has a configuration to automatically delete the branch when a
>>> PR is merged (Settings -> Options -> "Automatically delete head branches")
>>> but I think it is disabled by default.
>>> > I cannot change the settings of lucene-solr repo, but I wonder if
>>> there is someone who has the authority to change the setting. Now many of
>>> us already use github, so would it be good to let github delete obsolete
>>> branches instead of manually doing so?
>>> >
>>> > Tomoko
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
> --
> Uwe Schindler
> Achterdiek 19, 28357 Bremen
> https://www.thetaphi.de
>

Reply via email to