-
Notifications
You must be signed in to change notification settings - Fork 1k
status should not show ineffectual constraints #1510
Comments
Hi, thanks for opening this issue. Two things:
|
Also, to set constraints for transitive dependencies, you can use |
For the 2nd point:
I thought gps would figure out a version for a given revision, but that's not the case. I got confused with that behavior in init importers where we try to figure out version for a given revision. So, since we don't know VERSION, because we only have a revision, we can't check for LATEST without knowing the version. Removing the |
Well, I think that "CONSTRAINT" should be as it is. The fact that "REVISION" differs from "CONSTRAINT" already tells me that's an ineffectual constraint, right? The problem here was that I was not aware that constraints were not applied to transitive dependencies. That should be signalled in the output, that PR will help. |
@darkowlzz yes, status should not show ineffectual constraints. |
I just realized that this issue has been addressed in #893 with a rough idea of the solution, which would required a lot of changes in how status works now. We have some but not all the necessary parts to implement it now. Removing |
Should I close this? |
No, this is a real example of the problem we have. Let's keep this as a reminder to fix this issue. |
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks! |
What version of
dep
are you using (dep version
)?Latest from homebrew and tip.
What
dep
command did you run?dep ensure -v
Both my main.go and Gopkg.toml can be found here: https://gist.github.com/edevil/8a47d4cf8f34bf2f64f2520db5bcd986
What did you expect to see?
github.com/qor/render and github.com/qor/roles (at least) should not be stuck at v1.0.
What did you see instead?
Both of those libraries were stuck at v1.0, "dep status" shows:
The text was updated successfully, but these errors were encountered: