spdx / spdx/Spdx-Java-Library

Should license information be available for NONE and NOASSERTION ?

Aperta
#398 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

question
Lingua principale
Java
Stelle
71
Fork
44
Merge medio
12h 54m
PR unite (30g)
7

Descrizione

In SPDX 3.0.2, the IndividualLicensingInfo values NONE and NOASSERTION are becoming closer to behaving like any other license id, but currently the following code does not return any results:

org.spdx.library.ListedLicenses.getListedLicenses().getListedLicenseById("NONE");
org.spdx.library.ListedLicenses.getListedLicenses().getListedLicenseById("NOASSERTION");

The question is: should it be possible to get the metadata (name, description, etc.) for these "identifiers", and if so how? They're not listed licenses, so perhaps they should be looked up via different methods and/or classes, for example?

Note: I have no specific need for this functionality myself; it was just something I noticed in passing, as I worked on implementing some of the changes in SPDX v3.0.2.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia leggendo org.spdx.library.ListedLicenses e il suo metodo getListedLicenseById, quindi confronta la definizione di IndividualLicensingInfo in SPDX 3.0.2 per NONE e NOASSERTION. Il lavoro è completato quando è stato stabilito se questi identificatori debbano esporre metadati e sono state identificate l’API o la classe appropriate, con il comportamento coperto da test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.