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

support multiple versions of installed libraries #34

Open
kyleburton opened this issue Nov 15, 2019 · 0 comments
Open

support multiple versions of installed libraries #34

kyleburton opened this issue Nov 15, 2019 · 0 comments

Comments

@kyleburton
Copy link
Owner

bake_require supports pulling remote git repositories at a specific tag, version or branch. In the case that multiple projects are referencing the same remote library, though with different tags, the current implementation doesn't address this situation. bake caches libraries, so the first one wins on first install, although bake update will pull the latest for these, also causing undesirable skew between projects.

Possible solutions are to include the branch/tag/sha in the file system path (choosing master as a default):

~/.bake/packages/<host>/<user>/<repo>/<branch|tag|sha>/

Then bake update would be a no-op for tags and sha's and pull latest for a branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant