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

Handle license variations, add more free licenses and disambiguate packages #24

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

gardenappl
Copy link

@gardenappl gardenappl commented Jan 27, 2021

This is a combination of #23 and psvenk#1

TL;DR:

  • Added function clean_license_name which turns license name to lowercase, removes whitespace, quotes, dashes, underscores, and the "custom:" prefix. This means that, for example, BSD-3 and custom:bsd3 are now considered to be the same license.
  • If a package is named lib32-<pkgname> then vrms-arch will look at <pkgname> in the unambiguous db.
  • Removed a lot of duplicate license names
  • Added a bunch of new licenses
  • Added a bunch of packages to unambiguous db

This greatly reduces the number of false positives and "ambiguous packages".

I maintain an AUR package for my branch over at vrms-arch-git, but I will remove that package is this PR is accepted.

@gardenappl gardenappl changed the title Handle license variations, disambiguate packages Handle license variations, add more free licenses and disambiguate packages Jan 27, 2021
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