-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Feature] Git Based Resolver #98
Comments
I have this implemented just wanted to push it the upstream rather than having this patch on our fork. I believe this might be useful for other people who version their VCL dependencies |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way we use VCL and manage dependencies at $company is by having them versioned in a separate git repository and I would like to build a git file resolver that allows you to resolve paths based on
path:version
and then usegit show $REV:$FILE
to get the file rather than just reading it from diskSo the proposed changes are:
GitFileResolver
that implements theResolver
interfacefunc NewGitFileResolvers(main string, c *Config) ([]Resolver, error)
and switch between the two implementations based on the command line flagAddition of two command line flags:
-repo : Path to the git repo that contains the modules
-git : Use git to read versioned files that in the form of path/to/file/:version
WDYT?
The text was updated successfully, but these errors were encountered: