Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

  •  
     
    story #26803 create Tuleap Git branch & pull request from artifact
Summary
Empty
create Tuleap Git branch & pull request from artifact

I have the same feature set in Tuleap Git and in GitLab integration

like art #26801 but with Tuleap Git repositories

The modal will list only the project repositories, not the personal forks in order to:

  • reduce the amount of data to display
  • test if there is a need for the feature & that people still uses personal forks.

Branches are created after the same pattern we already use for gitlab: tuleap-XYZ-sluggified-title. While we might have reused story-XZY, request-XYZ, etc we decided to use tuleap due to the distributed nature of git. As the repository can be replicated elsewhere, it's easier to keep track to which tool a branch "belongs".

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
#26803
Manuel Vacelet (vaceletm)
2022-07-21 11:03
2022-05-17 13:51
3527

References
Referencing story #26803

Git commit

tuleap/tuleap/stable

feat: create a Git branch from REST API 33acc56f75
chore: Drop unused feature flag key for GitLab branch creation e3eb011aeb
feat: Display create Git branch in artifact action list ccf30b37b9
feat: display an empty modal on click d24f52bb6e
chore: Add translation mechanism 043d95241f
Fix path to @tuleap/build-system-configurator in @tuleap/plugin-git-artifact-create-branch-action ce3f5fe4c5
feat: list project's Git repositories in modal 1de80654f4
chore: Use recursiveGet internal callback method 85229bbbe9
chore: Modal content is in a dedicated Vue component 3880079e25
feat: Display the default branch name in modal 3052b2266d
feat: Add branch name preview in modal 88057e101c
feat: List only project repositories in modal c51627d149
chore: use testWith in FineGrainedPatternValidatorTest 9ada16be2f
feat: List only repositories where branch can be created 168d006b73
feat: create the branch with the modal 65abae1ec7
feat: Enhance feedbacks at Git branch creation 52305ac244
chore: HTML URL of a branch must be provided in the REST representation ce4c12098c
feat: Create a pull request from artifact 2aa075241c
feat: Adjust "Create Git branch" label 8c38c1a228
refactor: Drop @tuleap/tlp-fetch in favor of @tuleap/fetch-result 6014928174
chore: Add unit tests for ModalContent b81016e233
feat: Drop the feature flag ddaa373a42
chore: The modal must not be open if project Git repositories loading failed 8c4e7c9a4a

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