-
Notifications
You must be signed in to change notification settings - Fork 594
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
Too many duplicate dependencies in go.mod
#1057
Comments
I gather you're talking about the |
I see. Does this mean that some dependencies have not updated to newer versions of their dependencies? If so, this is not a serious problem unless one of those transitive dependencies has a security hole or other major flaw. It does, however, lead to an unnecessarily bloated binary. |
not necessarily. the checksum file contains the hashes of all versions seen for a dependency and it's dependants. there was some discussion about splitting the package at #1025 to split the runtime/dev dependencies however, it's not a huge priority at the moment. |
This commit does two things: 1) Moves all tooling related dependencies and functionality into `internal/` to mark the code as not intended to be used outside of the package (which I found forks doing 🤦) 2) Reduces the dependency footprint for library-only use. Fixes cloudflare#1057 Fixes cloudflare#1025
This commit does two things: 1) Moves all tooling related dependencies and functionality into `internal/` to mark the code as not intended to be used outside of the package (which I found forks doing 🤦) 2) Reduces the dependency footprint for library-only use. Fixes cloudflare#1057 Fixes cloudflare#1025
This functionality has been released in v0.49.0. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Current cloudflare-go version
ebb2785
Description
cloudflare-go seems to depend on 35 versions of
cloud.google.com/go
, six ofcloud.google.com/go/bigquery
, five ofgithub.com/BurntSushi/toml
, and many other duplicate versions.Use cases
The main use-case is containers that want to minimize dependency footprints.
Potential cloudflare-go usage
// N/A, this is a meta issue
References
No response
The text was updated successfully, but these errors were encountered: