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

vendor: remove the vendored dependencies #1418

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Nov 25, 2024

Similar to what we did in images in PR#861 (thanks to @achilleas-k)
this commit removes the vendoring from image-builder. We don't
package image-builder so just like with images we don't need the
vendor dir (go.{mod,sum} is fine to re-create the environment).

C.f. osbuild/images#1041 and #1402 (comment)

@croissanne
Copy link
Member

Should we add the vendor folder to .gitignore?

@mvo5 mvo5 changed the title vendor: remove the vendored dependencies @mvo5 vendor: remove the vendored dependencies Nov 25, 2024
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

achilleas-k
achilleas-k previously approved these changes Nov 25, 2024
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥

@mvo5 mvo5 marked this pull request as ready for review November 27, 2024 14:08
@mvo5
Copy link
Contributor Author

mvo5 commented Nov 27, 2024

Everything is green, I set this to "ready", what could possibly go wrong? (but in all seriousness, this needs a careful review but I don't see why we need the vendor/ dir anymore in go.mod world :)

@lzap
Copy link
Collaborator

lzap commented Nov 27, 2024

All tests had passed but the branch is out of date. :-(

Copy link

This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 28, 2024
Copy link

github-actions bot commented Jan 5, 2025

This PR was closed because it has been stalled for 30+7 days with no activity.

@github-actions github-actions bot closed this Jan 5, 2025
@mvo5 mvo5 reopened this Jan 6, 2025
@mvo5 mvo5 closed this Jan 6, 2025
@mvo5 mvo5 reopened this Jan 6, 2025
@mvo5
Copy link
Contributor Author

mvo5 commented Jan 6, 2025

Fixed conflicts and reopened.

@mvo5 mvo5 requested a review from croissanne January 6, 2025 14:43
lzap
lzap previously approved these changes Jan 6, 2025
@github-actions github-actions bot removed the Stale label Jan 7, 2025
@croissanne
Copy link
Member

croissanne commented Jan 7, 2025

There's a conflict again because of #1451, otherwise lgtm!

@lzap
Copy link
Collaborator

lzap commented Jan 7, 2025

Oh no I am so sorry!

mvo5 added 4 commits January 8, 2025 13:31
Similar to what we did in `images` in PR#861 (thanks to @achilleas-k)
this commit removes the vendoring from image-builder. We don't
package image-builder so just like with images we don't need the
vendor dir (go.{mod,sum} is fine to re-create the environment).
This command no longer needs to run.
@mvo5 mvo5 requested a review from lzap January 8, 2025 12:31
@lzap lzap requested a review from achilleas-k January 8, 2025 12:32
@achilleas-k achilleas-k enabled auto-merge (rebase) January 8, 2025 12:43
@achilleas-k achilleas-k merged commit ed87818 into osbuild:main Jan 8, 2025
17 checks passed
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