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

Support additional package manifest types using ScanCode-toolkit available handlers #658

Closed
tdruez opened this issue Mar 28, 2023 · 0 comments

Comments

@tdruez
Copy link
Contributor

tdruez commented Mar 28, 2023

from packagedcode.recognize import recognize_package_data
recognize_package_data("package-lock.json")


from packagedcode import APPLICATION_PACKAGE_DATAFILE_HANDLERS
import pprint
pprint.pprint([
    f"{handler.description} {handler.path_patterns}"
    for handler in APPLICATION_PACKAGE_DATAFILE_HANDLERS
])

List available at https://scancode-toolkit.readthedocs.io/en/stable/cli-reference/help-text-options.html#list-packages-option

See also aboutcode-org/scancode-toolkit#3298 for documentation.

tdruez added a commit that referenced this issue Mar 28, 2023
tdruez added a commit that referenced this issue Mar 31, 2023
tdruez added a commit that referenced this issue Apr 4, 2023
tdruez added a commit that referenced this issue Apr 13, 2023
tdruez added a commit that referenced this issue Apr 13, 2023
@tdruez tdruez closed this as completed Apr 13, 2023
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

No branches or pull requests

1 participant