-
Notifications
You must be signed in to change notification settings - Fork 541
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
Ignored packages are written to glide.lock #460
Comments
Attaching the example referenced above: glide-ignore-example.zip To use, just unzip into |
I was able to reproduce this in my own local testing. Thanks for filing the bug. |
@mattfarina indeed seems to be fixed - ignored package doesn't get into the lock file. Thanks for the prompt reply! |
Fixed #460: Fixed some ignored deps getting into lock.
Hello,
I'm using the
ignore:
directive inglide.yaml
to mark some package to be ignored.When running
glide up
, this package is not downloaded by glide, but still gets written intoglide.lock
.Later on, when running
glide install
, glide tries to fetch the ignored package.I've recreated this behavior using the following simple setup:
The code at
app/main.go
importsgithub.com/myorg/lib
.The
glide.yaml
looks like this:Running
glide up
within theapp
folder, yields the followingglide.lock
file:Notably, the
github.com/myorg/lib
package is listed as an import.P.S., I'm using glide 0.10.2, but also recreated this with 0.11.0-dev.
The text was updated successfully, but these errors were encountered: