-
Notifications
You must be signed in to change notification settings - Fork 147
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
RFC for Hosted Git Dependencies #79
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the RFC, @Volune.
IMHO this one does not need to be that detailed in motivation but more focused what it will break in the current implementation and to what sorts of URLs will be affected
|
||
# Detailed design | ||
|
||
As a first step, the existing implementation for *hosted* git dependencies should be removed, and patterns that previously matched a hosted dependency should resolve to a git repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you justify why the code for hosted git dependencies should be removed?
Are there specific issues caused by the current implementation?
Can it be just modified?
- a fallback git repository url (to be used if previous urls are not accessible, for example permission issue) | ||
|
||
The `Git` utility should be the only place to make a distinction between *hosted* repositories and other repositories.\ | ||
If it is a *hosted* repository, the `Git` utility should first try to make HTTPS requests, then fallback on using the `git` command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some examples for the workflow?
The most important part of this RFC is to identify the rules for hosted/regular git dependencies.
rendered RFC
I was previously trying to make a PR related to these changes, but it was becoming too big. There are still several unresolved questions.