Skip to content

Can I run on a git URL? #1357

Closed Answered by ccoVeille
detj asked this question in Q&A
Discussion options

You must be logged in to vote

Assuming I don't want to manually clone the repo.

If you don't then the tool will have to. It's not in the tool scope. It would add complexity, then will come feature such as: - "please respect http proxy when dealing with http URL"

  • "please retry downloading my internet connection sucks"
  • please add Gitlab supports
  • private repository

And then you implemented a whole factory instead of a DRY tool.

I agree cloning first via a script.

My point would have been different if the idea was I don't know parsing something and calling a few random URL discovered.

But here, you somehow explain you:

  • have internet
  • you have the repository URL
  • you expect to pass the URL to onefetch

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by detj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants