-
Notifications
You must be signed in to change notification settings - Fork 296
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
glide: use jessevdk/go-flags for consistency. #833
Conversation
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.
This isn't how glide works. The YAML file is a recipe that specifies the locations of the dependencies, perhaps with more generic semantic versions, while the lock file is the one that pins those specific versions.
glide.yaml
Outdated
- package: github.com/btcsuite/go-socks | ||
version: 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f |
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.
Specific commit versions should not be in the yaml. That is what the lock file is for.
glide.yaml
Outdated
subpackages: | ||
- socks | ||
- package: github.com/btcsuite/goleveldb | ||
version: 7834afc9e8cd15233b6c3d97e12674a31ca24602 |
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.
Same.
glide.yaml
Outdated
@@ -19,26 +23,34 @@ import: | |||
- leveldb/opt | |||
- leveldb/util | |||
- package: github.com/btcsuite/websocket | |||
version: 31079b6807923eb23992c421b114992b95131b55 |
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.
Same.
glide.yaml
Outdated
- package: github.com/btcsuite/winsvc | ||
version: f8fb11f83f7e860e3769a08e6811d1b399a43722 |
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.
Same.
glide.yaml
Outdated
subpackages: | ||
- eventlog | ||
- mgr | ||
- svc | ||
- package: github.com/davecgh/go-spew | ||
version: adab96458c51a58dc1783b3335dcce5461522e75 |
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.
Same
glide.yaml
Outdated
subpackages: | ||
- spew | ||
- package: github.com/dchest/blake256 | ||
version: dee3fe6eb0e98dc774a94fc231f85baf7c29d360 | ||
- package: github.com/decred/bitset | ||
version: 484b833245d5f9046e2893a6bd2e54b1df3a53a4 |
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.
Same.
glide.yaml
Outdated
- package: github.com/decred/dcrrpcclient | ||
version: abc326aeb97b299c7eb6b13b81353fc375e9b95d |
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.
Same.
glide.yaml
Outdated
- package: github.com/decred/dcrutil | ||
version: 4ce0f41cf3f957fcdf3f0de049602ac834449b9c |
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.
Same.
glide.yaml
Outdated
subpackages: | ||
- bloom | ||
- package: golang.org/x/crypto | ||
version: 6914964337150723782436d56b3f21610a74ce7b |
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.
Same.
glide.yaml
Outdated
subpackages: | ||
- ripemd160 | ||
- ssh/terminal | ||
- package: github.com/jrick/logrotate | ||
version: a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a |
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.
Same.
@davecgh the repos for the highlighted lines for the dependencies above don't have numbered versions. They either have outdated releases (in comparison to the versions specified in the Because the dep versions aren't set in dcrd's current |
Running @jrick Would you mind chiming in here? I know you use deps extensively in dcrwallet. |
I'm going to link to the cargo documentation here because i think it explains it better than glide, but glide follows the exact same methodology. http://doc.crates.io/guide.html#cargotoml-vs-cargolock We should not be specifying exact commits in glide.yaml except under very particular circumstances. |
3da0d8c
to
b8e99a1
Compare
b8e99a1
to
a841fad
Compare
@davecgh updated the PR, should be good now. |
glide.yaml
Outdated
subpackages: | ||
- edwards25519 | ||
- package: github.com/btcsuite/btclog | ||
- package: github.com/btcsuite/go-flags | ||
- package: github.com/jessevdk/go-flags | ||
version: ^1.3.0 | ||
- package: github.com/btcsuite/go-socks |
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.
the btcsuite fork of go-flags should be removed since we are switching to upstream.
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.
commented on wrong file, it might be a transient dep in case we need to figure out what imported package is requiring it.
b7b3881
to
b3a3d67
Compare
Needs a rebase to resolve merge conflicts, but otherwise this looks ready. |
99a7060
to
9bbb6bd
Compare
9bbb6bd
to
f90c43e
Compare
Fixes #804