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

Added enum 'All open-source (default)' for compatibility with older config versions #2176

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 16, 2023

Old configuration versions of archinstall when choosing graphics drivers look for All open-source (default) value. Current enum value has All open-source value.

Fix should make older versions of archinstall configurations compatible with new version of enum.

@ghost ghost requested a review from Torxed as a code owner October 16, 2023 23:53
@ghost ghost changed the title Added enum value to the configuration for compatibility with older versions Added enum 'All open-source (default)' for compatibility with older versions Oct 17, 2023
@ghost ghost changed the title Added enum 'All open-source (default)' for compatibility with older versions Added enum 'All open-source (default)' for compatibility with older config versions Oct 17, 2023
Copy link
Member

@Torxed Torxed left a comment

Choose a reason for hiding this comment

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

I don't mind trying it :)

@svartkanin
Copy link
Collaborator

This seems to be a bit of a dangerous syntax, we're making one of the enum types a tuple.

Can we handle this in a more elegantand explicit way

@ghost
Copy link
Author

ghost commented Oct 17, 2023

@svartkanin

Changed to condition which updates value from old configuration files

@ghost
Copy link
Author

ghost commented Oct 23, 2023

@svartkanin

Sorry for the inconvenience; should have created an issue highlighting an optional backward compatability addition for that field.

@ghost ghost closed this Oct 23, 2023
This pull request was closed.
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