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.

Valutazione

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

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.

Descrizione

question

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.

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

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.

Altre issue di spdx/Spdx-Java-Library

Tutte le issue di spdx/Spdx-Java-Library

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.