Skip to content

multi: Support module graph prune and lazy load.#2905

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:suppor_module_graph_pruning_and_lazy_loading
Mar 25, 2022
Merged

multi: Support module graph prune and lazy load.#2905
davecgh merged 1 commit intodecred:masterfrom
davecgh:suppor_module_graph_pruning_and_lazy_loading

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Mar 24, 2022

This bumps the go directive for all of the modules provided by the repository to 1.17 which will allow the new module graph pruning and lazy loading capabilities introduced in Go 1.17 to be used once the updated modules are released.

This means that, as described by the documentation, the go.mod files for each module now include a separate require block that includes all of the indirect dependencies

@davecgh davecgh added this to the 1.8.0 milestone Mar 24, 2022
@davecgh davecgh force-pushed the suppor_module_graph_pruning_and_lazy_loading branch from 5bd2a01 to da8d1a0 Compare March 24, 2022 17:44
@matthawkins90
Copy link
Copy Markdown
Contributor

Should also update the main README to inform that the minimum supported Go version is 1.17.

Tangentially, is now a good time to update the minimum recommended spec of "12 GB disk space (as of April 2020, increases over time)"?

@davecgh
Copy link
Copy Markdown
Member Author

davecgh commented Mar 24, 2022

@matthawkins90 Yep, sounds like a good idea. Would you like to do those things via a separate PR to update for Go1.18 in general? (e.g. also bump the CI build versions in the .github/workflows/go.yml). I don't mind doing it if you don't want to.

@matthawkins90
Copy link
Copy Markdown
Contributor

Ha, I'm on it! Thanks.

This bumps the go directive for all of the modules provided by the
repository to 1.17 which will allow the new module graph pruning and
lazy loading capabilities introduced in Go 1.17 to be used once the
updated modules are released.

This means that, as described by the documentation, the go.mod files for
each module now include a separate require block that includes all of
the indirect dependencies
@davecgh davecgh force-pushed the suppor_module_graph_pruning_and_lazy_loading branch from da8d1a0 to 7d59dd3 Compare March 25, 2022 12:20
@davecgh davecgh merged commit 7d59dd3 into decred:master Mar 25, 2022
@davecgh davecgh deleted the suppor_module_graph_pruning_and_lazy_loading branch March 25, 2022 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants