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

image-info: update for new "partition" option in mounts.Mount #3883

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jan 8, 2024

In the osbuild PR#1501 [0] a new paramter "partition" for
mounts.Mount() was added.

This commit updates the code that it deals cleanly with the new
and the old API for mount.Mount.

[0] osbuild/osbuild#1501

atodorov
atodorov previously approved these changes Jan 8, 2024
@mvo5 mvo5 force-pushed the update-image-info-for-pr-1501 branch from 4cd356b to 5140877 Compare January 8, 2024 15:00
@mvo5 mvo5 marked this pull request as ready for review January 8, 2024 15:01
@mvo5 mvo5 force-pushed the update-image-info-for-pr-1501 branch from 5140877 to 5dc58eb Compare January 8, 2024 15:08
thozza
thozza previously approved these changes Jan 9, 2024
Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

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

Thanks. Found just one small nitpick. LGTM otherwise 👍

Can you please fix also https://github.com/osbuild/manifest-db/blob/main/tools/image-info ? 🙇‍♂️

tools/image-info Outdated Show resolved Hide resolved
@mvo5
Copy link
Contributor Author

mvo5 commented Jan 9, 2024

Thanks. Found just one small nitpick. LGTM otherwise 👍

Can you please fix also https://github.com/osbuild/manifest-db/blob/main/tools/image-info ? 🙇‍♂️

Thank you! On this side a similar fix was added in osbuild/manifest-db#101 - TBH I'm not too happy with the mounts.Mount() api right now and will look into this again (hopefully) as this workaround is not super nice.

In the osbuild PR#1501 [0] a new paramter "partition" for
mounts.Mount() was added.

This commit updates the code that it deals cleanly with the new
and the old API for `mount.Mount`.

[0] osbuild/osbuild#1501
@achilleas-k achilleas-k enabled auto-merge (rebase) January 9, 2024 16:53
@achilleas-k achilleas-k mentioned this pull request Jan 9, 2024
3 tasks
@thozza
Copy link
Member

thozza commented Jan 10, 2024

Thanks. Found just one small nitpick. LGTM otherwise 👍
Can you please fix also https://github.com/osbuild/manifest-db/blob/main/tools/image-info ? 🙇‍♂️

Thank you! On this side a similar fix was added in osbuild/manifest-db#101 - TBH I'm not too happy with the mounts.Mount() api right now and will look into this again (hopefully) as this workaround is not super nice.

Oh nice. I looked in the repo, but didn't consider an option that the fix was already merged there... Thanks 👍

Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

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

LGTM

@achilleas-k achilleas-k merged commit 973a8cf into osbuild:main Jan 10, 2024
71 checks passed
@mvo5 mvo5 deleted the update-image-info-for-pr-1501 branch January 10, 2024 10:45
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