•  
     
    story #26802 have smart commit with Tuleap Git
Summary
Empty
have smart commit with Tuleap Git

I don't have different behaviour between Tuleap and GitLab

Overview

The reference is the implementation of the feature for GitLab: https://docs.tuleap.org/user-guide/code-versioning/gitlab.html#close-tuleap-artifact-with-gitlab-commit-messages. See the corresponding story: story #17183

It means that when:

  • a commit that contains one of the keywords is integrated in a repository default branch
  • and the repository is configured to allow smart commits
  • and the target artifact allows the transition

Then, the corresponding artifact is transitioned to the Done state by the user that push the commit.

Note: while gitlab closing is done with TULEAP-1234 reference, the smart commit with Tuleap Git is done with regular tuleap references (bug #1234, art #1234)

Processing

The processing of the smart commits is done asynchronously (so will requires Redis & workers) in order to limit the blocking time for the end user.

Administration

The configuration of the feature is done by a checkbox bellow the definition of default branch. It's set on for all new repositories but false for existing ones.

Forks

Forked repositories should be deactivated by default. It should be possible to re-activate the feature afterward.

If we don't deactivate, it means that a merge in the fork would close the artifact and it's unlikely the expected default behaviour.

Empty
Empty
Status
SCM/Git
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
#26802
Manuel Vacelet (vaceletm)
2022-08-03 14:05
2022-05-17 13:50
3527

References

Follow-ups

User avatar

gerrit #26421 integrated into Tuleap 13.11.99.15


  • 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
User avatar
  • 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
  • Status changed from On going to Done
User avatar
  • 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
User avatar
  • 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
User avatar
  • 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
User avatar
  • 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
User avatar
Joris MASSON (jmasson)2022-06-01 17:23
  • 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