Skip to content

Update/verify dep vendoring#132

Open
Tim Hockin (thockin) wants to merge 11 commits into
agent-substrate:mainfrom
thockin:add-vendoring
Open

Update/verify dep vendoring#132
Tim Hockin (thockin) wants to merge 11 commits into
agent-substrate:mainfrom
thockin:add-vendoring

Conversation

@thockin
Copy link
Copy Markdown
Collaborator

This adds an update/verify script pair to check go mod vendor in the main module. Should we do this in sub-modules too?

Fixes #19

@dims
Copy link
Copy Markdown
Collaborator

Should we do this in sub-modules too?

yes please!

@thockin
Copy link
Copy Markdown
Collaborator Author

Now vendors all go.mod directories

@thockin
Copy link
Copy Markdown
Collaborator Author

I broke up the large commits into script-changes and run-the-script commits. the "run" commits are just the output of running the script.

Copy link
Copy Markdown
Collaborator

@dims Davanum Srinivas (dims) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

the individual vendor/ for each tool ... we'll get used to it.

@thockin
Copy link
Copy Markdown
Collaborator Author

rebased

@BenTheElder
Copy link
Copy Markdown
Collaborator

Benjamin Elder (BenTheElder) commented Jun 2, 2026

This adds an update/verify script pair to check go mod vendor in the main module. Should we do this in sub-modules too?

I'm not convinced. That adds a LOT more bloat, and reviewing tools-module vendor is not nearly as actionable.

We're using go mod as an implementation detail of obtaining those tools, we could just as well fetch binaries.

@BenTheElder
Copy link
Copy Markdown
Collaborator

Also, we shouldn't be dropping anything from LICENSES here, what's going on there?

@@ -1,27 +0,0 @@
// +build windows solaris
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code in LICENSES was here because the library is MPL and requires redistributing the sources. I think this commit broke something.

@BenTheElder
Copy link
Copy Markdown
Collaborator

Github won't show me the full diff, even commit by commit.

@dims
Copy link
Copy Markdown
Collaborator

Benjamin Elder (@BenTheElder) i switched to diffshub for large commits

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.

Should we vendor our dependencies?

3 participants