8000 Normalized licenses bugs · Issue #1059 · ecosyste-ms/packages · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Normalized licenses bugs #1059

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

Open
andrew opened this issue Mar 10, 2025 · 1 comment
Open

Normalized licenses bugs #1059

andrew opened this issue Mar 10, 2025 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@andrew
Copy link
Member
andrew commented Mar 10, 2025

Some bugs have been reported in the normalized_licenses field:

https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/turf-jsts:

  "licenses": "(EDL-1.0 OR EPL-1.0)",
  "normalized_licenses": [
    "SSPL-1.0",
    "EPL-1.0"
  ],

and

https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/laszip

  "licenses": "MIT License  Copyright (c) 2023 Thomas Montaigu  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
  "normalized_licenses": [
    "Other"
  ],
@andrew andrew added bug Something isn't working help wanted Extra attention is needed labels Mar 10, 2025
@Codeshark-NET
Copy link

Looked a bit at the code for this;

  1. Is likely due to the "spdx" gem being outdated.

  2. Is because the normalize_licenses cuts off after 150 chars and labels it "Other".

The implementation could use a little love though, I can have a look at it, but I'm completely new to the repo - so gotta figure out the ropes first! 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants
0