Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature: Option to only show failing/passing packages #98

Closed
gteufelberger opened this issue Dec 30, 2024 · 2 comments
Closed

Feature: Option to only show failing/passing packages #98

gteufelberger opened this issue Dec 30, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@gteufelberger
Copy link

Feature Details

When running licensecheck the resulting output shows the list of all packages, their licenses, and whether they are compatible with the current project.
To quickly filter out out packages that are incompatible with the current project's license it would be nice to have an argument like --only-show-failing that reduces the output to just the packages that don't match the current license.

So if you for example have a project with over a hundred dependencies, running something like licensecheck --only-show-failing would be a nice and quick way to only show the few dependencies that are not compatible with the current license.

Describe alternatives you've considered

Alternative would be to pipe output into grep or other unix tools to filter it down to just that passing/failing licenses.

Additional Context

I'd be willing to implement this feature myself and make a PR. I'm just not sure where the best place would be to start working on this ^^"

@gteufelberger gteufelberger added the enhancement New feature or request label Dec 30, 2024
@FredHappyface
Copy link
Member

Hi thanks so much for the issue, and apologies for the delay in getting around to this one!

Really appreciate the willingness to open a PR, and usually I'd say 'go ahead' but in this case I'm happy to incorporate the feature into the 2025 release of this library. Unfortunately it's hard to give an exact time-frame on this as I'd like to work through as many issues as I can before releasing. The hope is to get this all rolled out by the end of March :)

@FredHappyface
Copy link
Member

Added support to show failing packages in https://github.com/FHPythonUtils/LicenseCheck/releases/tag/2025, thanks for your patience on this one :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants