You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 use git show $REV:$FILE to get the file rather than just reading it from disk
So the proposed changes are:
GitFileResolver that implements the Resolver interface
func NewGitFileResolvers(main string, c *Config) ([]Resolver, error) and switch between the two implementations based on the command line flag
Addition 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:
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: