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
It looks like glide get will try to update vendored dependencies (which is reasonable as a solver step), and mistakenly assumes that the vendored repositories have their VCS metadata available (which is not true with --strip-vcs).
Apologies, I thought I saw this filed at some point, but can't seem to find the relevant issue. I looked through everything with the word strip.
Steps to reproduce
(Using the golang:1.6.3 docker container, as a clean baseline)
The version change of semver seems incorrect.
And the last commit of the parent repo (not the vendored semver) is:
root@ab268ef2405a:/go/src/a# git log -1
commit 1834780c6f38ccac91afbebd4c0e7eef05c47c84
Author: Your Name <you@example.com>
Date: Mon Aug 8 22:38:10 2016 +0000
initial commit
Note that the version of semver was changed to that of the parent repo. I do not believe it should be changed (since the contents of vendor/github.com/Masterminds/semver/ has not changed).
The text was updated successfully, but these errors were encountered:
Interesting. Tomorrow I'm going to push a rather large change (as a PR) to the resolution work. The way this part of the code is handled will have changed. I think that will have fixed this.
It looks like
glide get
will try to update vendored dependencies (which is reasonable as a solver step), and mistakenly assumes that the vendored repositories have their VCS metadata available (which is not true with--strip-vcs
).Apologies, I thought I saw this filed at some point, but can't seem to find the relevant issue. I looked through everything with the word
strip
.Steps to reproduce
(Using the
golang:1.6.3
docker container, as a clean baseline)git init glide init --non-interactive glide get --strip-vcs --non-interactive github.com/Masterminds/semver git add --all git commit -m 'initial commit' glide get --strip-vcs --non-interactive github.com/Masterminds/httputil git diff glide.lock git log -1
The second-to-last command (
git diff glide.lock
) has the following output:The version change of
semver
seems incorrect.And the last commit of the parent repo (not the vendored
semver
) is:Note that the version of
semver
was changed to that of the parent repo. I do not believe it should be changed (since the contents ofvendor/github.com/Masterminds/semver/
has not changed).The text was updated successfully, but these errors were encountered: