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

LicenseFinder:: v6.14.1: Report :: License as "Unknown" #849

Open
bnanda2006 opened this issue Aug 17, 2021 · 3 comments
Open

LicenseFinder:: v6.14.1: Report :: License as "Unknown" #849

bnanda2006 opened this issue Aug 17, 2021 · 3 comments

Comments

@bnanda2006
Copy link

I am getting license as unknown for dependencies in my project even tough those dependencies are having proper licenses

e.g.

{
            "name": "github.com/spf13/afero",
            "version": "v1.6.0",
            "licenses": [
                "unknown"
            ],
            "license_links": "",
            "homepage": "github.com/spf13/afero",
            "install_path": "/Users/bhavuknanda/go/pkg/mod/github.com/spf13/[email protected]",
            "package_manager": "Go"
        },
        {
            "name": "github.com/xdg-go/pbkdf2",
            "version": "v1.0.0",
            "licenses": [
                "unknown"
            ],
            "license_links": "",
            "homepage": "github.com/xdg-go/pbkdf2",
            "install_path": "/Users/bhavuknanda/go/pkg/mod/github.com/xdg-go/[email protected]",
            "package_manager": "Go"
        },
        {
            "name": "github.com/xdg-go/scram",
            "version": "v1.0.2",
            "licenses": [
                "unknown"
            ],
            "license_links": "",
            "homepage": "github.com/xdg-go/scram",
            "install_path": "/Users/bhavuknanda/go/pkg/mod/github.com/xdg-go/[email protected]",
            "package_manager": "Go"
        },
        {
            "name": "github.com/xdg-go/stringprep",
            "version": "v1.0.2",
            "licenses": [
                "unknown"
            ],
            "license_links": "",
            "homepage": "github.com/xdg-go/stringprep",
            "install_path": "/Users/bhavuknanda/go/pkg/mod/github.com/xdg-go/[email protected]",
            "package_manager": "Go"
        },
}
@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@FKteganem
Copy link

FKteganem commented Aug 18, 2022

I have the same problem with NPM (version 8.13.2), whether JSON or HTML formatting. But with Nuget it seems to work.

@xtreme-shane-lattanzio
Copy link
Contributor

Hey @bnanda2006 ! I looked into this and I think the apache license was being too string on matching. I tweaked it and we will see if it goes through tests successfully #933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants