Hi,

With the new lucene.git repo up and running, we (Uwe, Dawid and I) like to get 
rid of some clutter.

We  discussed on Slack and later her on list[1] the option of pruning all the 
112 old branches. It makes no sense to keep stale branch_x_y branches in 
lucene.git repo, as any future 8.x or 7.x release will happen from 
lucene-solr.git, so keeping them as branches in lucene.git is duplication and 
only gives room for developer mistakes. If branch_8_8 does not exist in 
lucene.git repo, noone will push to it, and rather remember to make a patch for 
lucene-solr.git instead.

So my plan is to remove all branches in the new lucene.git repostiory and leave 
only the "main" branch. We just did this in solr.git repo (SOLR-15253 [3]).

We'll do this by replacing each branch with a git tag, e.g. branch_8x will be 
replaced with tag history/branches/lucene-solr/branch_8x. This is the same 
procedure we did when moving from svn to git. No history is lost!

The script I intend to run in a few days is attached on LUCENE-9835 [2].

Should you have a work-in-progress on a branch currently scheduled for removal, 
please reply here to excempt it from removal until it is merged.

After the removal you can run "git fetch --prune origin" to not see the remote 
branches in your local clone.

PS: The lucene-solr.git repo, where 8.x development continues, will not be 
affected.

[1] 
https://lists.apache.org/thread.html/rc5ac744aa8b081e1e0edb17281d7bb42398a04dcaf6f47421e4a6c41%40%3Cdev.lucene.apache.org%3E
 
<https://lists.apache.org/thread.html/rc5ac744aa8b081e1e0edb17281d7bb42398a04dcaf6f47421e4a6c41@%3Cdev.lucene.apache.org%3E>
[2] https://issues.apache.org/jira/browse/LUCENE-9835 
[3] https://issues.apache.org/jira/browse/SOLR-15253

Reply via email to