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

Allow users to pass in the a repository url (or {user}/{repoName}) #221

Open
AdmiringWorm opened this issue Mar 30, 2020 · 0 comments
Open
Labels

Comments

@AdmiringWorm
Copy link
Member

Detailed Description

Would be beneficial in some cases to allow users to pass in either a full url to a repository or a combination of {user}/{repoName} instead of forcing them to specifically pass in seperate arguments for user and repository name.

Context

Typically CI servers have an environment variable (or similar) that have either the full url to a repository, or a environment variable set to {user}/{repoName}. It would be easier for people to reuse these variables and pass them to GRM instead of having to seperate the variable before passing them to GRM.

Possible Implementation

I would suggest to allow an argument that will handle the following user inputs and extracts the necessary information from them:

  • GitTools/GitReleaseManager
  • https://github.com/GitTools/GitReleaseManager (with an optional .git suffix)
  • ssh://git@github.com/GitTools/GitReleaseManager (with an optional .git suffix)
  • git@github.com:GitTools/GitReleaseManager (with an optional .git suffix)

Your Environment

  • Version Used: 0.11.0
  • Edition Used (.NET Core, .NET Framework): Any
  • Operating System and version (Windows 10, Ubuntu 18.04): Any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant