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

Fix alias command #150

Merged
merged 2 commits into from Apr 8, 2024
Merged

Fix alias command #150

merged 2 commits into from Apr 8, 2024

Conversation

hesa
Copy link
Owner

@hesa hesa commented Apr 8, 2024

Addressing and closes #149

These commits:

  • makes license expression case insensitive
  • makes matching license expression not crashing

Example

$ PYTHONPATH=./python ./python/flame/__main__.py aliases -il MIT | head -10
MITNFA -> MITNFA
MIT +no-false-attribs license -> MITNFA
MIT (NFA) License -> MITNFA
MIT +no-false-attribs License -> MITNFA
scancode://mit-no-false-attribs -> MITNFA
MIT no false attribution License -> MITNFA
scancode:mit-no-false-attribs -> MITNFA
MIT-advertising -> MIT-advertising
MIT License (with advertising) -> MIT-advertising
MIT with advertising -> MIT-advertising
..... snip

@hesa hesa merged commit 9a7245c into main Apr 8, 2024
5 checks passed
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.

Limited aliases output causes crash
1 participant