Re: explanation for ensuring no duplicate identifiers


Philippe Ombredanne
 

Alexios:
good catch, though even printable may be too generous. A colon is
printable and not a supported in a Windows file name for instance.

Jilayne:
We could/should more simply list the allowed characters and be very specific.
Here is my suggestion:

Allowed characters are ASCII:
- Lower and upper case letters from A to Z.
- Numbers from 0 to 9
- Dash '-', underscore '_', period '.' and plus '+'

- An ID first character must be a letter or number.
- Ignoring case, an ID is guaranteed to be unique forever within any
published SPDX license lists.
--
Philippe

On Fri, Jun 15, 2018 at 9:12 AM, Alexios Zavras
<alexios.zavras@...> wrote:
My only comment would be to change “ASCII characters” to “ASCII printable
characters”.



Looking at the Overview page, it needs a little care:

It documents “Is OSI approved?” but not “Is FSF Free/Libre?”
It references the “spreadsheet” in a couple of places





-- zvr –



From: Spdx-legal@... <Spdx-legal@...> On Behalf Of J
Lovejoy
Sent: Thursday, 14 June, 2018 21:28
To: SPDX-legal <spdx-legal@...>
Subject: explanation for ensuring no duplicate identifiers



Hi all,



As discussed on the call today (related to Issue
https://github.com/spdx/license-list-XML/pull/651 ), we will add an explicit
statement regarding not duplicating identifiers in the explanation of fields
on the Overview page for the license list:
https://spdx.org/spdx-license-list/license-list-overview



I had the task to suggest some additional language, including discussion
about character type. The relevant text is as follows, with proposed
changes in red:



B) License or Exception Identifier (aka "SPDX Short Identifier")

• Short identifier to be used to identify a license or
exception match to licenses or exceptions contained on the SPDX License List
in the context of an SPDX file, in source file, or elsewhere

• Short identifiers have no spaces in them and only use ASCII
characters

• Short identifiers consist of an abbreviation based on a
common short name or acronym for the license or exception

• Where applicable, the abbreviation will be followed by a
dash and then the version number, in X.Y format

• Where applicable, and if possible, the short identifier
should be harmonized with other well-known open source naming sources (i.e.,
OSI, Fedora, etc.)

• Short identifiers should be as short in length as possible
while staying consistent with all other naming criteria

• Short identifiers must not be duplicative: newly added
short identifiers will be checked to ensure they are different from all
pre-existing short identifiers, regardless of upper/lower case





Let me know your thoughts,



Jilayne



SPDX Legal Team co-lead
opensource@...



Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



--
Cordially
Philippe Ombredanne

Join {Spdx-legal@lists.spdx.org to automatically receive all group messages.