Skip to content

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

Description

@tyru

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".

Activity

  1. added a commit that references this issue on Jan 2, 2018
    29ffc0a
  2. added a commit that references this issue on Jan 2, 2018
    4b21efc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions