Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import an existing repo from a GitProvider #150

Open
AlexisNeveu opened this issue Jun 4, 2024 · 0 comments
Open

Import an existing repo from a GitProvider #150

AlexisNeveu opened this issue Jun 4, 2024 · 0 comments

Comments

@AlexisNeveu
Copy link

AlexisNeveu commented Jun 4, 2024

Description

As a User,

I want to be able to import a existing repository in a scope on which I have the rights

so that I can edit my repository with leto-modelizer along with the users that have access to the scope.

Acceptance Criteria

Scenario Import an existing repository from GitProvider
Given I am on the Repository page
When I click on the "Add" button
Then a popup window appears
And I can enter the name of the repository and its URL and specify the scope where it will be imported
When I click on the "Confirm" button
Then the repo is cloned
And any user that have access to the scope can now see/modify the repository on leto-modelizer

Constraints

When I click on confirm, I want to have specific error messages in any of these cases:

  • I do not have the rights to clone this repository
  • The URL format is incorrect
  • The repository already exists in the exact same scope
  • I do not have the rights to import a repo in this scope

Resources:

Capture.video.du.2024-06-06.15-34-09.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant