ecosyste-ms / ecosyste-ms/packages

Normalized licenses on package/version endpoint

Open
#960 2 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
111
Forks
25
Avg merge
3h 47m
Merged PRs (30d)
14

Description

Hello! 👋

Bit of a continuation of #360, but I'd love to find out if `normalized_licenses` could also get added to a package's versions response.

Example:

https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ua-parser-js contains licenses as well as normalized_licenses:

```
"licenses": "AGPL-3.0-or-later",
"normalized_licenses": ["AGPL-3.0-or-later"],
```

In a previous version they did however use other licenses (MIT, GPLv2) but that can't be read in its normalized format from https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ua-parser-js/versions/0.7.1:

```
"licenses": "GPLv2,MIT"
```

It would be great if normalized licenses could get added to this endpoint as well! 🙏

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.