one thing I wouldn't mind doing, is relegating old branches not needed anymore,
somehow.

I guess the way to do that is to delete the branch.  For uimaj project the
branches currently are:

2.6.0-json
UIMA-2560
depend-on-july-9-build-tools
depend-on-parent-pom-4
experiment-v3-jcas
filteredCompress-uima-2498
master-v2
mavenAlign
parentPomsVersion1
test-parent-pom-6
trunk
uimaj-2.1.0
uimaj-2.2.2-01
uimaj-core-json2
xmlComments

The "trunk" and master-v2 are the two masters, the rest of these represent long
ago merged things.

Any reason not to delete these?  or is there another "best practice" way to
manage these?

I assume deleting them makes them disappear from this list, but they'll always
be around in the repo and digging thru some logs can find them, right?

-Marshall


On 9/3/2019 5:12 PM, Marshall Schor wrote:
> I'm not sure about the value of this; it feels more complex, and the benefits
> are not clear to me.
>
> We currently (at least for uimaj) don't do new-feature, bug-fixes, and other
> maintenance, separately; new releases typically contain some combination of 
> these.
>
> So I think I would be happy with 2 masters (master and master-v2), where
> everything eventually goes, plus tags for the releases. 
>
> -Marshall
>
>
> On 9/2/2019 5:34 AM, Richard Eckart de Castilho wrote:
>> Hi,
>>
>> how about cleaning up the branches and settings up some conventions?
>>
>> E.g.
>>
>> master             - primary target for new feature PRs (3.1.x) - 
>> *protected* branch
>>
>> maintenance/**     - prefix for maintenance branches, bugfix updates for 
>> already
>>                      released versions. Having this as a common prefix 
>> facilitates
>>                      *protecting* all maintenance branches e.g. from 
>> force-pushes                     
>> maintenance/2.10.x - maintenance branch for 2.10.x
>> maintenance/3.0.x  - maintenance branch for 3.0.x (in case we wanted to do 
>> that...)
>>
>> bugfix/**          - prefix to be used for PRs that contain bug fixes (not 
>> protected)
>>                      target of such PRs is usually one of the maintenance 
>> branches
>>
>> feature/**         - prefix to be used for PRs that contain new features or 
>> refactorings (not protected)
>>                      target for such PRs is usually master
>>
>> I see there is current a "master-v2" branch. I'd tend towards filing that as 
>> "maintenance/2.11.x".
>>
>> Cheers,
>>
>> -- Richard
>>
>>

Reply via email to