Skip to content

When migrating repository, local repository name should be guessed from source URL #6253

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

Closed
2 of 4 tasks
mateusza opened this issue Mar 6, 2019 · 2 comments · Fixed by #6260
Closed
2 of 4 tasks
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Comments

@mateusza
Copy link

mateusza commented Mar 6, 2019

This is a very simple feature/enhancement request.

Description

When I paste source URL of a repository to clone (migrate), Gitea should automatically extract the repository name and put it into proper form field.

Screenshots

image

@mateusza
Copy link
Author

mateusza commented Mar 6, 2019

The JS code to perform this:

$('#clone_addr').change( 
    function(){
        $('#repo_name').val(
            $('#clone_addr').val().match( /^(.*\/)?((.+?)(\.git)?)$/ )[3]
        )
    }
)

@lunny lunny added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI labels Mar 17, 2019
@stale
Copy link

stale bot commented May 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label May 16, 2019
@lafriks lafriks added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label May 16, 2019
@stale stale bot removed the issue/stale label May 16, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants