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

chwd: Some cleanups #134

Merged
merged 8 commits into from
Aug 21, 2024
Merged

chwd: Some cleanups #134

merged 8 commits into from
Aug 21, 2024

Conversation

ventureoo
Copy link
Member

Commit 1: Removes nonfree option. In my opinion, this parameter does not make any sense anymore. For example we now have "open source Nvidia modules" as nonfree profile, so it doesn't really reflect much of the real meaning, because many drivers might be partially closed/opened. This also makes no practical sense, because if we want to install closed drivers, we just increase priority for corresponding profile which we already do. chwd displays the profile priority as the second column now.

Commit 2: Removes options related to USB. We don't handle USB profiles right now, so this just doesn't work.

Commit 3: Removes --is_nvidia_card. In my opinion this is easily accomplished via lspci: lspci -d “10de:*:030x” and it also probably won't be needed anymore with #133.

Copy link
Member

@vnepogodin vnepogodin left a comment

Choose a reason for hiding this comment

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

run cargo fmt --all on the project tree

@ventureoo ventureoo force-pushed the remove-non-free branch 2 times, most recently from f5af940 to 6f1006e Compare August 21, 2024 09:01
Copy link
Member

@vnepogodin vnepogodin 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 overall. I think we should also rename pci_profiles into just profiles in Data if we are removing pci occurs

@ventureoo
Copy link
Member Author

Looks good overall. I think we should also rename pci_profiles into just profiles in Data if we are removing pci occurs

Done.

Copy link
Member

@vnepogodin vnepogodin left a comment

Choose a reason for hiding this comment

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

legit

@vnepogodin vnepogodin merged commit 964cd61 into master Aug 21, 2024
2 checks passed
@vnepogodin vnepogodin deleted the remove-non-free branch August 21, 2024 16:57
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.

2 participants