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

webui: fix logic for when to re-create the partitioning #5005

Merged

Conversation

KKoukiou
Copy link
Contributor

@KKoukiou KKoukiou commented Aug 2, 2023

No description provided.

@KKoukiou KKoukiou marked this pull request as ready for review August 3, 2023 07:52
@KKoukiou KKoukiou force-pushed the webui-fix-custom-part-recreate branch from 56454f5 to 5407b89 Compare August 3, 2023 07:52
@KKoukiou KKoukiou changed the title [WIP] webui: fix logic for when to re-create the partitioning [WIP] Aug 3, 2023
@KKoukiou KKoukiou changed the title [WIP] webui: fix logic for when to re-create the partitioning Aug 3, 2023
@vojtechtrefny
Copy link
Contributor

I did just a quick test with this change and it looks like the mount point assignment is stuck in an infinite loop upon entering -- logs show the copy of the storage model and manual partitioning are being created over nad over again.

@KKoukiou
Copy link
Contributor Author

KKoukiou commented Aug 3, 2023

I did just a quick test with this change and it looks like the mount point assignment is stuck in an infinite loop upon entering -- logs show the copy of the storage model and manual partitioning are being created over nad over again.

Interesting - I see it also in the test, will check again. Sorry

@KKoukiou KKoukiou marked this pull request as draft August 3, 2023 12:50
@KKoukiou KKoukiou force-pushed the webui-fix-custom-part-recreate branch 2 times, most recently from 65dfcc3 to 6972f56 Compare August 4, 2023 10:22
@KKoukiou KKoukiou marked this pull request as ready for review August 4, 2023 10:22
@KKoukiou KKoukiou force-pushed the webui-fix-custom-part-recreate branch from 6972f56 to 97604a7 Compare August 4, 2023 10:27
@KKoukiou KKoukiou marked this pull request as draft August 4, 2023 12:34
@KKoukiou KKoukiou force-pushed the webui-fix-custom-part-recreate branch 2 times, most recently from 194ea69 to ebec5a4 Compare August 4, 2023 15:17
Now partitioning is marked for re-creation when device selection
changes and when the user re-scans the device tree.

The latter invalidates the partitioning indirectly, by re-setting the
selected devices.

This commit also simplifies the partitioning object update in state,
as a clean state update was needed to make the above feature work as
expected.
@KKoukiou KKoukiou force-pushed the webui-fix-custom-part-recreate branch from ebec5a4 to 63fa26a Compare August 4, 2023 16:08
@KKoukiou KKoukiou marked this pull request as ready for review August 7, 2023 10:46
@KKoukiou
Copy link
Contributor Author

KKoukiou commented Aug 7, 2023

/kickstart-test --waive webui only

Copy link
Contributor

@vojtechtrefny vojtechtrefny left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@KKoukiou KKoukiou merged commit 096f932 into rhinstaller:master Aug 8, 2023
14 checks passed
@KKoukiou KKoukiou deleted the webui-fix-custom-part-recreate branch August 8, 2023 07:37
KKoukiou added a commit to KKoukiou/anaconda that referenced this pull request Aug 8, 2023
…rt-recreate

webui: fix logic for when to re-create the partitioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants