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

feat: auto-rectify git source url #36

Closed
cAmartya opened this issue Sep 24, 2023 · 3 comments · Fixed by #47
Closed

feat: auto-rectify git source url #36

cAmartya opened this issue Sep 24, 2023 · 3 comments · Fixed by #47
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@cAmartya
Copy link
Contributor

cAmartya commented Sep 24, 2023

Is your feature request related to a problem? Please describe

Currently, if a user enters an extended GitHub URL instead of the repository URL.
For example, https://github.com/SwiftWave/SwiftWave/tree/main instead of https://github.com/SwiftWave/SwiftWave, then an invalid GitHub credentials alert is displayed.

Expected Changes

The input field should auto-rectify the URL by converting the provided one to the required specification.

Describe the solution you'd like

  1. Trim the extra URL. URL should be of the form https://github.com/{User | Organization}/{Repository}

Describe alternatives you've considered

  1. You can use regex to verify and fix the URL
  2. Also make sure, the URL can be of github, gitlab or bitbucket.

Additional context

image

Are you working on this?

No

@cAmartya cAmartya added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Sep 24, 2023
@tanmoysrt tanmoysrt changed the title feat: feat: auto-rectify git source url Sep 24, 2023
@avelynhc
Copy link
Contributor

@tanmoysrt hello, I want to work on this issue. Can you assign it to me? Thanks!

@tanmoysrt
Copy link
Member

@avelynhc sure 👍. Go ahead

@tanmoysrt
Copy link
Member

@avelynhc Welcome to SwiftWave Community, Star ⭐ the main repository [swiftwave] to grow this project and join our slack community [invite link] to stay updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants