Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #29548

Closed (moved)
(moved)
Open
Created Feb 21, 2019 by teor@teor

Block back-merges of later release branches to earlier releases

In our release meeting in Brussels, we talked about blocking back-merges, where a merge is based on a later release branch, but it gets merged to an earlier branch: https://trac.torproject.org/projects/tor/wiki/org/meetings/2019BrusselsNetworkTeam/Notes/StableMaintainer#ActionItems

Our merge workflow is typically:

  • base the bugfix branch on the maint branch for the earliest possible backport release
  • merge the bugfix branch to master (or alpha and master)
  • test for a while
  • merge the bugfix branch to an earlier release, then merge forward to master
  • merge maint-* into release-* for each release series

So I'm not sure exactly how we can limit ourselves to just these merges. Here are some ideas:

  • Count the commits, and put a limit on the number of commits
  • Keep an ordered list of releases, and check that:
    • maint: merged branches are based on this maint release, or an earlier maint release
    • release: merged branches are based on the same maint release
  • Is there some neat trick that I'm missing?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking