stable

Clone or download

Read-only

Can't create integration of 2 repositories with same name

This is part of story #17180 take into account gitlab commits How to test: -> To test with same Gitlab instance - Integrate a repository - Fork DB to change full_url in 'plugin_gitlab_repository' - Open the modal with same credentials -> To test with 2 instances (gitlab.com and gitlab.local) - Have same group name and same repository name on the both - Integrate the repository from instance A - Open the modal with credentials of intance B Expected results: - If a repository has the same name of an integrated repository then it is disabled - There is a tooltip with message "A repository with same name and path was already integrated" -> If the same repository is already integrated, then the tooltip message is different: "This repository is already integrated" Change-Id: I8aa187f4a59d8cc12af77f7500b9ea6ab83e73ea

Modified Files

Name
M plugins/git/scripts/repositories/po/fr.po +3 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.test.js +56 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.vue +35 −8 Go to diff View file
M plugins/git/themes/BurningParrot/repositories/_gitlab.scss +14 −4 Go to diff View file