-
Notifications
You must be signed in to change notification settings - Fork 41
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
add module graph #1310
Merged
add module graph #1310
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmank88
commented
Nov 7, 2024
jmank88
commented
Nov 8, 2024
.github/workflows/modgraph.yaml
Outdated
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 suppose this could use a path filter on go.mod
files? (and this file + modgraph
)
skudasov
approved these changes
Nov 8, 2024
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a
go.md
with a mermaid flowchart of the org module graph for this repo, generated via https://github.com/jmank88/modgraph.This is based on the core version:
TODO
Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.
Why
The changes introduce a new GitHub Action workflow for generating module dependency graphs, automate the setup of Go environment for this purpose, and update Go module dependencies. Additionally, they refine the module path corrections in go.mod files to ensure accurate dependency management and introduce a visualization (
go.md
) for module dependencies specific to the project.What
.github/workflows/modgraph.yaml
Added GitHub Action workflow named
Module graph
that triggers on pull requests, sets up Go, checks out the repository, and generates a module dependency graph ensuring it does not introduce changes.Makefile
Introduced
modgraph
target that installs necessary tools and generates a module dependency visualization (go.md
) usingmodgraph
.framework/examples/myproject/go.mod
Updated module paths for
chainlink-testing-framework
dependencies to correct locations and updated Kubernetes (k8s.io
) dependencies tov0.31.2
.framework/examples/myproject/go.sum
Removed unused dependencies, reflecting cleanup and updates in
go.mod
.framework/go.mod
Added a new dependency (
github.com/charmbracelet/huh/spinner
) and updated indirect dependencies reflecting a refinement in project dependencies.framework/go.sum
Updated to reflect changes in
go.mod
, including the addition and removal of various dependencies.go.md
Added a new file to visualize the project's module dependencies in a structured format.
modgraph
(script)Introduced a script to generate
go.md
, facilitating the visualization of module dependencies within the project.tools/flakeguard/go.sum
Updated to include a new checksum, possibly as a side effect of changes in the project's dependencies.