•  
     
    story #17178 reference my gitlab repositories in my tuleap project
Summary
Empty
reference my gitlab repositories in my tuleap project
Empty

This feature is provided by a new plugin gitlab. This plugin will integrate with git plugin:

  • On git service homepage the git repository creation button becomes a dropdown
    • Create a new repository
    • Integrate a remote gitlab repository
  • When git administrator choose the later, they will be prompted for
    • A gitlab server instance
    • A user personal API Token
  • Only one gitlab repository can be linked at time (if you have 3 repository you will need to link them one after another)
  • The repository is named after the gitlab repository name (⚠️ about naming conflicts)
  • The path of the repository in gitlab (organisation/sub projects) is displayed as an hint)
  • It's possible to remove an integration

https://www.figma.com/proto/UEUd974fTpAOnLUsCxzkA0/Gitlab-integration?node-id=1%3A43&viewport=1123%2C547%2C1&scaling=min-zoom

When a new integration is created, on the git homepage the new "gitlab repo" appears as a tile (like other git repositories) with with something to distinguish that it's a gitlab repo (icon, color, to be defined).

When one click on this tile, they are redirected toward the gitlab repository

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
#17178
Manuel Vacelet (vaceletm)
2020-12-03 13:56
2020-10-07 09:50
3399

References
Referencing story #17178

Git commit

tuleap/tuleap/stable

Create empty plugin 7c4313dc9f
Have a dropdown with Gitlab entry in Git 9e39f3b47b
Create Gitlab modal 1281103249
Have dropdown in empty state b8ef9d8e12
Fix E2E tests on Git 61c8c18809
Glossify Git service homepage be308746f6
Create REST GET projects/:id/gitlab_repositories 8bfe911832
Fix margin in dropdown button f5ce889f1b
Get Gitlab repositories 9ff271d0d0
List Gitlab projects 7aaedbaa86
Add gitlab entry in our docker-compose 12580c61c4
Refacto Gitlab modal fcf4cb8499
Glossify Gitlab modal f92ebdaf27
Get only Gitlab projects that we maintain 4042d04b39
Project avatar is not beauty 8a16f8a6cf
Avoid duplication in database 80b5684e1b
When the modal is closed, it's not reset 36fa77aca3
Display Gitlab Integrations in Git homepage 4b265cf508
Fix GitLab trademark casing b15f4c0ffd
Create Tuleap webhook route to listen GitLab post push webhook 65d75cfcce
Add dedicated logs for GitLab webhooks edf2e3512c
Extract webhook secret checks in a dedicated object 7ac1fc8415
Create modal to remove Gitlab integrations 0eab9bcfb9
Refacto and add test on Gitlab front 8b1d1c3f79
Create REST endpoint DELETE gitlab_repositories/:id 007fb32e29
Call API to delete integration d464c1e845
Create REST endpoint to integrate a GitLab repository 286e74bc8f
Upgrade GitLab version used in docker-compose d52c6c0a71
Only Git administrators must be able to create integrations 1ab80b15ef
Remove uneeded path in GitLab repositories integration 44fbc0c13f
Call API to create integration 594772d738
GitLab instance deployed from MakeFile 2f0b3051c1
Reference repositories Design check 6c7fcc1809
Not only Git Admin can acces to integrated GitLab repository 5e01896084

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
gerrit #20497 integrated into Tuleap 12.1.99.22

  • 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 Ready (stalled) to On going