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

disk: define PartitionTableType enum for partition table types #1004

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

achilleas-k
Copy link
Member

@achilleas-k achilleas-k commented Oct 31, 2024

This is part of #926 which I'm slowly splitting into smaller, bite-sized PRs.


Add a new enum, PartitionTableType, for referring to the two partition table types, "dos" and "gpt".
This is currently not used but will be part of the new custom partition table generator.

ondrejbudai
ondrejbudai previously approved these changes Oct 31, 2024
Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

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

Thanks!

@ondrejbudai ondrejbudai added this pull request to the merge queue Oct 31, 2024
@achilleas-k achilleas-k removed this pull request from the merge queue due to a manual request Oct 31, 2024
@achilleas-k
Copy link
Member Author

Needs to be rebased on #1002.

Add a new enum, PartitionTableType, for referring to the two partition
table types, "dos" and "gpt".
This is currently not used but will be part of the new custom partition
table generator.
mvo5
mvo5 previously approved these changes Nov 4, 2024
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

I know you will laugh at me but I would fove a tiny test but otherwise this is fine.

@achilleas-k
Copy link
Member Author

I know you will laugh at me but I would fove a tiny test but otherwise this is fine.

No no, it's my fault. I should have known and done it already.

@achilleas-k
Copy link
Member Author

I know you will laugh at me but I would fove a tiny test but otherwise this is fine.

Added TWO!

Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

This is very nice, one tiny suggestion inline still (sorry!)

pkg/disk/enums_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

Thank you!

@achilleas-k
Copy link
Member Author

Merging this because I'm going to need it for #1009.

@achilleas-k achilleas-k added this pull request to the merge queue Nov 5, 2024
@achilleas-k
Copy link
Member Author

Merging this because I'm going to need it for #1009.

Actually didn't end up depending. I was thinking of using the new enums in the PartitionTable but it's a bigger change that I'd rather do in a separate PR.

Merged via the queue into osbuild:main with commit 5dcc752 Nov 5, 2024
15 of 19 checks passed
@achilleas-k achilleas-k deleted the disk/pttype branch November 6, 2024 09:21
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.

3 participants