•  
     
    story #11661 define a merge strategy for my repositories
Summary
git admin
define a merge strategy for my repositories

I can have a linera git history

At git repository level

In Settings, there is a new "Pull requests" tab where git admin can define merge strategies.

There are 2 strategies available

  • Default (will fast forward when possible, fallback to merge when not possible). It's the current situation
  • Fast forward only

When Fast forward is selected, PR that would result to a merge will not be mergeable from the web UI.

The screen is close to what you already have today (merge zone is in "warning mode" but instead of letting the reviewer merge anyway, the merge button is completly disabled).

Change of merge strategy is recorded in project history.

At git project admin level

In "Git settings template", the merge strategie can be selected for all new repositories.

Setting is inherited on project duplication

On fork

Setting is inherited

Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#11661
Manuel Vacelet (vaceletm)
2018-08-20 13:51
2018-06-22 10:09
4358

References
Referencing story #11661

Follow-ups

User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes