Package: reuse
Version: 1.0.0-1
Severity: important
Tags: upstream

Trying to use reuse:

+---
| $ reuse init
| Initializing project for REUSE.
|
| What license is your project under? Provide the SPDX License Identifier.
| To stop adding licenses, hit RETURN.
| LicenseRef-MyCustomLicense
|
| 'LicenseRef-MyCustomLicense' is not a valid SPDX License Identifier.
| See <https://spdx.org/licenses/> for a list of valid SPDX License Identifiers.
|
| What license is your project under? Provide the SPDX License Identifier.
| To stop adding licenses, hit RETURN.
| MyCustomLicense
|
| 'MyCustomLicense' is not a valid SPDX License Identifier.
| See <https://spdx.org/licenses/> for a list of valid SPDX License Identifiers.
|
| What license is your project under? Provide the SPDX License Identifier.
| To stop adding licenses, hit RETURN.
+---

The reuse web page tells me to use "LicenseRef-${something}":

+---
| If a license does not exist in the SPDX License List, its SPDX
| License Identifier MUST be LicenseRef-[idstring] as defined by
| the SPDX Specification, Section 6 available at
| https://spdx.org/spdx-specification-21-web-version#h.1v1yuxt.
+---[ https://reuse.software/spec/ ]

So it looks like "reuse init" should accept this (with the
"LicenseRef-" prefix).

Ansgar

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), 
(500, 'oldstable'), (300, 'buildd-unstable'), (300, 'unstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reuse depends on:
ii  python3                     3.10.6-1
ii  python3-binaryornot         0.4.4+dfsg-5
ii  python3-boolean             4.0-3
ii  python3-debian              0.1.47
ii  python3-jinja2              3.0.3-2
ii  python3-license-expression  30.0.0-1
ii  python3-pkg-resources       59.6.0-1.2
ii  python3-requests            2.27.1+dfsg-1

reuse recommends no packages.

reuse suggests no packages.

-- no debconf information

Reply via email to