-
Notifications
You must be signed in to change notification settings - Fork 14
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
Home reuse #424
Home reuse #424
Conversation
3c355d7
to
60543b5
Compare
6a25554
to
331167f
Compare
request === undefined || request.reformat | ||
? (format ? cockpit.format(_("format as $0"), format) : null) | ||
: ((format === "biosboot") ? format : _("mount")) | ||
); | ||
// FIXME use better JS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's indeed weird to do the inline conditional and then do the if conditional to possibly overwrite it.
Since we have many conditions here, let's do them all in if clauses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
src/components/storage/Common.jsx
Outdated
await partitioningSetHomeReuse({ partitioning: part }); | ||
} | ||
|
||
if (currentPartitioning?.method === method && method === "AUTOMATIC" && storageScenarioId !== "home-reuse" && currentPartitioning.requests[0].encrypted) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do a multiliner with this please?
It's too long now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
test/check-storage-home-reuse
Outdated
@@ -0,0 +1,96 @@ | |||
#!/usr/bin/python3 | |||
# | |||
# Copyright (C) 2022 Red Hat, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/2022/2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
d29850e
to
a6fdba8
Compare
a6fdba8
to
ea37d72
Compare
3793dc9
to
953a65b
Compare
953a65b
to
08884e3
Compare
da30268
to
e4a42dc
Compare
03ce162
to
e8cf85e
Compare
e8cf85e
to
7215218
Compare
c1cf475
to
21fc223
Compare
…kend Use generic "bootloader"
Patch by Katerina Koukiou, thank you.
Follow the design mockups
21fc223
to
de613e5
Compare
Did a clean rebase for the test fixes to get in the git history of this. |
Requires rhinstaller/anaconda#5814
TODO:
TestStorage.testLocalStandardDisks
. OTOH if we hided the option if not available we would require pixel test on its own)