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

Refine migrator internals #300

Merged
merged 2 commits into from
Jun 22, 2023
Merged

Refine migrator internals #300

merged 2 commits into from
Jun 22, 2023

Conversation

kb2ma
Copy link
Contributor

@kb2ma kb2ma commented Jun 21, 2023

A couple of improvements for the migrator functionality:

Refine findVolume() to work independent of localization differences. This function is based on the Windows diskpart tool, so column headings change with localization. Updated to purely use the structure of the table to find relevant columns and data.

Refactor the migrator function itself to add abstractions for the target storage device and target partitions. These abstractions provide a single container for Etcher based data and Windows (or other OS) based data.

Change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
* Add abstractions for target device and partition
* Only look for volume info if partition pre-existing

Change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
@flowzone-app flowzone-app bot enabled auto-merge June 21, 2023 18:01
@kb2ma kb2ma added the enhancement New feature or request label Jun 22, 2023
@kb2ma
Copy link
Contributor Author

kb2ma commented Jun 22, 2023

I self-certify!

@flowzone-app flowzone-app bot merged commit bc260b2 into master Jun 22, 2023
46 checks passed
@flowzone-app flowzone-app bot deleted the refine_migrator branch June 22, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant