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

Vendoring source #2

Open
dunkelstern opened this issue Apr 25, 2016 · 0 comments
Open

Vendoring source #2

dunkelstern opened this issue Apr 25, 2016 · 0 comments

Comments

@dunkelstern
Copy link
Member

We can already override git urls to point to a local/vendor clone of a repository, but some people prefer git submodules or even checked in duplicates:

Proposal of a few new commands:

  • vendor: records current commit id in lockfile and removes the .git directory in the checkout so git will recognize it as normal source
  • submodule: remove package from external and re-add it as a git submodule (with possibly overridden url)
  • dynamic: remove package from external and revert to normal git checkout
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