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

Adjust modify_existing_partition to the UI chnages in the Expert Partitioner #11531

Merged
merged 10 commits into from
Dec 3, 2020

Conversation

rwx788
Copy link
Member

@rwx788 rwx788 commented Dec 2, 2020

We continue fixing tests using libyui REST API.

This PR uses commits from #11501 and we can extract common part from there.

See poo#78097.

Verification runs

@jknphy
Copy link
Contributor

jknphy commented Dec 2, 2020

fyi: #11501 merged. In order to pass Travis CI I needed to create base class for warnings at the end to avoid error due to duplicated code.

@rwx788
Copy link
Member Author

rwx788 commented Dec 2, 2020

fyi: #11501 merged. In order to pass Travis CI I needed to create base class for warnings at the end to avoid error due to duplicated code.

Thans, I will rebase and do some refactoring not to have multiple methods for resizing. Cheers.

@rwx788 rwx788 force-pushed the libyui branch 2 times, most recently from 3f04f09 to c8a9f74 Compare December 2, 2020 10:54
Rodion Iafarov added 6 commits December 2, 2020 11:54
When partition is selected, there is Edit button, which opens editing
dialog.
In the new UI partitions are displayed in the table, so selecting it
there.
We need libyui-rest-api v. 0.5.11 with the fix.
Implementing override for resize_partition_on_gpt_disk and
edit_partition_on_gpt_disk in the expert partitioner controller.
@rwx788 rwx788 force-pushed the libyui branch 5 times, most recently from 7186e5d to 2d0e930 Compare December 2, 2020 11:48
@rwx788 rwx788 marked this pull request as ready for review December 2, 2020 12:09
@jknphy
Copy link
Contributor

jknphy commented Dec 2, 2020

LGTM

@rwx788 rwx788 added the WIP Work in progress label Dec 2, 2020
We have structure for adding new partitions, which we can fully reuse to
modiy them to have it consistent. The only missing item will be
partition name for editing, as we need to select it.
@rwx788 rwx788 force-pushed the libyui branch 2 times, most recently from 9ec4b00 to 696c51d Compare December 3, 2020 08:52
After introducing changes to the validate_modify_existing_partition
module, we have to change the format of the old test to pass validation,
even though this will be a bit of duplication, as this data is not used
for patitioning itself.
@rwx788 rwx788 removed the WIP Work in progress label Dec 3, 2020
Rodion Iafarov added 2 commits December 3, 2020 12:16
We still don't have version 0.5.11 of the libyui, where this issue is
fixed. Separaring workaround in a separate commit to simplify reverting.
@rwx788 rwx788 merged commit 365118d into os-autoinst:master Dec 3, 2020
@rwx788 rwx788 deleted the libyui branch January 26, 2021 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants