Skip to content

Import an existing repo from a GitProvider #150

@AlexisNeveu

Description

@AlexisNeveu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions