•  
     
    story #17180 take into account gitlab commits
Summary
Empty
take into account gitlab commits
Empty

Follow up of story #17178

  • When a git commit is pushed to gitlab, Gitlab triggers the Tuleap webhook. Tuleap parses the pushed commits to create cross references.
  • The cross reference is created when the pattern "TULEAP-XXXX" (case insensitive) is used in git commit message and that XXXX is a valid artifact.
  • On Tuleap side, it creates a gitlab_commit #myrepo/sha1 reference that can be used consistently across tuleap.
  • In artifact view (only, not in modals) the display of gitlab commit cross references is made with a table (instead of a comma separated list of refs)
  • The same kind of display is applied to Tuleap git commits (consistency)
  • The last push date is recorded so it can be used to display the "gitlab git repo" with an accurate date (order by last push)

Expected new display of cross ref

https://www.figma.com/proto/FJQMRxPdtgPrF2SJlbZm72/References-in-Artifact-view?node-id=1%3A3&viewport=480%2C338%2C0.5&scaling=scale-down

The new look & feel (tiles based) is applied for all cross references:

  • gitlab_commit, git, tracker natures are displayed with extended informations
  • other references are displayed with the "current" level of information aka mostly the id.
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
#17180
Manuel Vacelet (vaceletm)
2021-01-07 10:40
2020-10-07 10:41
3854

References

Follow-ups

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
  • 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