clearlydefined / clearlydefined/service

Notice Generation API should report difference between NONE and NOASSERTION/empty

Open
#766 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
51
Forks
46
PR merge metrics
No merged PRs in 30d

Description

NOASSERTION or "" (empty string) for a license usually indicates a curation is necessary. NONE indicates that the component has been curated. The notice API returns all of these in a list under [noLicense](https://github.com/clearlydefined/service/blob/master/business/noticeService.js#L66), which is determined by [isDeclaredLicense](https://github.com/clearlydefined/service/blob/master/lib/utils.js#L249).

It would be better to return these in separate lists, so notice consumers know which need to be curated (NOASSERTION/blank), and which are omitted by design (NONE).

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.