Skip to content
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

Fix (make vendor) #2291

Merged
merged 5 commits into from
Apr 9, 2020
Merged

Fix (make vendor) #2291

merged 5 commits into from
Apr 9, 2020

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Apr 8, 2020

What type of PR is this?

/kind bug
What this PR does / why we need it:

(export a=b command args) does not run (command args) with a=b, it sets $a to b, and marks variables $a $command $args as exported, i.e. (command args) is not run.

So, before #2287 we were not actually running (go mod tidy), and now we are not running (go mod vendor).

Fix that, and re-vendor.

Notably, vendored c/image and several other dependencies currently don’t correspond to go.mod.
How to verify it

Manually run (go mod …) and compare that with the results of running (make vendor)
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
Does this PR introduce a user-facing change?

None

rhatdan and others added 5 commits April 8, 2020 16:27
Signed-off-by: Daniel J Walsh <[email protected]>
(export a=b command args) does not run (command args) with a=b,
it sets $a to b, and marks variables $a $command $args as exported,
i.e. (command args) is not run.

So, before containers#2287 we were not actually
running (go mod tidy), and now we are not running (go mod vendor).

Fix that.

Signed-off-by: Miloslav Trmač <[email protected]>
We switched the order because (go mod tidy) seemed not to work
before, but the reason why it didn't work was only tangentially
the ordering, and now that all commands do work, modifying the set
of modules makes more sense before updating the vendor directory.

Signed-off-by: Miloslav Trmač <[email protected]>
... now that its (go mod tidy) works.

Signed-off-by: Miloslav Trmač <[email protected]>
... now that its (go mod vendor) works again.

Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
@rhatdan
Copy link
Member Author

rhatdan commented Apr 8, 2020

Attempting to replace #2290

@TomSweeneyRedHat
Copy link
Member

So this is green and #2290 is not. I see one vendored file difference, and go.sum has slightly different entries. Do you know what you did that @mtrmac didn't?

LGTM

@rhatdan
Copy link
Member Author

rhatdan commented Apr 9, 2020

bors r+
I updated the EPOCH to not check as many old PRs

@bors
Copy link
Contributor

bors bot commented Apr 9, 2020

Build succeeded

  • cirrus-ci/success

@bors bors bot merged commit e48fa75 into containers:master Apr 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants