-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Unpin dependencies in Gopkg.toml #1252
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1252 +/- ##
======================================
Coverage 100% 100%
======================================
Files 159 159
Lines 7163 7163
======================================
Hits 7163 7163 Continue to review full report at Codecov.
|
Gopkg.toml
Outdated
[[constraint]] | ||
name = "github.com/apache/thrift" | ||
version = "=0.9.3" | ||
version = "0.9.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
personally, I don't like this syntax. In dep
this means ^0.9.3
, and I would rather have the ^
explicitly included.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not opposed to this
what happens to gopkg.lock when you do this? |
Tested it out and see this for diff:
|
@yurishkuro dep didn't perform any updates on @isaachier I'm assuming that you deleted the |
No I ran |
@isaachier What was the goal of the test of updating all dependencies using |
@vprithvi please start using branches in your own fork as we agreed in the last meeting. |
@yurishkuro Thanks for the reminder - I had misconfigured git. I'll do that from the next PR. |
I mistakenly believed that |
Signed-off-by: Prithvi Raj <p.r@uber.com>
version = "=2.0.0" | ||
[[constraint]] | ||
name = "github.com/gocql/gocql" | ||
branch = "master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's always one
@vprithvi this should not have been merged. Every time I do |
@yurishkuro I don't see this behavior - I get no changes on the lock file when I run |
I probably had an older version. With 0.5 |
Signed-off-by: Prithvi Raj p.r@uber.com
Which problem is this PR solving?
Gopkg.toml
are updated whendep ensure -update <dependency>
is executed, these pins are unnecessary. Unrelated version bumps cannot happen (as they used to withglide
)Short description of the changes