Reuse style file tags and how to support them with SPDX3.0

Aperta
#12 16 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Ambito
documentation

Direzione di ricerca

This is a specification-design thread, not an edit: it asks how Annex H file tags from SPDX 2.3 should map to SPDX 3.0 and whether a tag-value serialization exists at all. Start by reading the linked Annex H page and the SPDX 3.0 model serialization discussion, then the 16-comment thread to see which of the five listed options still has support. Done would mean an agreed mapping or prefix/versioning decision recorded in the using repo's documentation, which no single contributor can settle alone.

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

Descrizione

The Annex H currently defines File tags by referencing the tag value format (as it is defined in 2.3). From that there arise multiple questions regarding the migration to and support in 3.0.

Problem 1: breaking changes in property names and the general structure

As this for 2.3 allows to use arbitrary properties from the file information, which might be renamed and restructured, it is not clear how to parse and support comments in existing files.

There are some options that come to mind:

  • stay with the current set of properties from 2.3 and do not change --> a mapping needs to be maintained and not all features from 3.0 are available
  • support both, names from 2.3 and 3.0 --> "old" parsers do not support everything and miss stuff or fail
  • only support 3.0 --> this is breaking on both sides
  • instead of SPDX- use SPDX3- as prefix to not clash --> makes currently used tags invalid and would imply a migration?
  • add a version statement --> an additional line ...
Some Properties got moved

The license and copyright information was previously part of the file properties, but is expected to be expressed via relationships. This makes it more complex.

Problem 2: there is not yet a tag-value serialization

The current state of the model does not yet define a serialization, which could be used for defining the same concept on the level of SPDX3.

Lingua principale
Shell
Stelle
6
Fork
5
Merge medio
1g 14h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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/using

Tutte le issue di spdx/using

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.