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

[volt build] Show warning when HEAD and locked revision are different #134

Closed
tyru opened this issue Dec 22, 2017 · 0 comments
Closed

[volt build] Show warning when HEAD and locked revision are different #134

tyru opened this issue Dec 22, 2017 · 0 comments

Comments

@tyru
Copy link
Member

tyru commented Dec 22, 2017

If a user run git pull in $VOLTPATH/repos/<repos>,
volt build still installs old files when build.strategy = "copy" in $VOLTPATH/config.toml
because it extracts files from git objects of lock.json revision.

[WARN] {repos}: HEAD and lock.json revision are different
[WARN]   HEAD: {head revision}
[WARN]   locked revision: {lock.json revision}
[WARN]   Please run 'volt get {repos}' to update locked revision.

Even when build.strategy = "symlink", difference between HEAD and lock.json revision is undesirable situation.
Should show warnings both when build.strategy = "copy", and build.strategy = "symlink".

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

No branches or pull requests

1 participant