Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commit e7479ed

Browse files
committed
Merge branch 'stable'
2 parents 611c2ae + 1b277a5 commit e7479ed

11 files changed

+205
-3954
lines changed

CHANGELOG.md

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!--
22
SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V.
3-
SPDX-FileCopyrightText: 2023 DB Systel GmbH
43
54
SPDX-License-Identifier: CC-BY-SA-4.0
65
-->
@@ -22,56 +21,28 @@ The versions follow [semantic versioning](https://semver.org).
2221

2322
## Unreleased - YYYY-MM-DD
2423

25-
### Changed
26-
### Deprecated
27-
### Removed
28-
### Fixed
29-
### Security
30-
### Added
31-
32-
## 3.1 - 2023-06-21
33-
3424
### Added
3525

36-
- Definition for Commentable and Uncommentable Files. (#123, thanks @Jayman2000)
37-
38-
- Introduce support of in-line snippet comments using
39-
`SPDX-SnippetBegin`/`SPDX-SnippetEnd`. (#107)
40-
41-
- Specify encoding of `.license` files to UTF-8. (#106, thanks @kirelagin for
42-
the helpful background information)
43-
44-
- Introduce `REUSE-IgnoreStart`/`REUSE-IgnoreEnd` to make the REUSE helper tool
45-
not consider the enclosed content for detecting copyright and licensing
46-
information. (#104)
26+
- Clarify which license text files are needed if a SPDX license expression
27+
contains more than one license and/or exception. (#96)
4728

4829
- Definition for Covered File and clarify for which file copyright and licensing
4930
information is required. (#85, thanks @Jayman2000)
5031

51-
- Remove SPDX documents from list of Covered Files. (#103)
52-
53-
- Remove symlinks and zero-byte files from list of Covered Files. (#101)
54-
55-
- Remove submodules and Meson subprojects from list of Covered Files. (#99)
56-
57-
- Clarify which license text files are needed if a SPDX license expression
58-
contains more than one license and/or exception. (#96)
59-
6032
- URLs to currently applicable SPDX specification. (#49)
6133

62-
- Define current order or precedence. (#131)
63-
6434
### Changed
6535

66-
- Allow `.license` files for commentable files, but strongly recommend adding
67-
copyright/licensing information in header. (#123, thanks @Jayman2000)
36+
### Deprecated
6837

69-
- Bump referenced SPDX version to 2.3, and update links. (#103) (#107)
38+
### Removed
7039

7140
### Fixed
7241

7342
- Minor typos and grammar mistakes. Thanks @jlovejoy and @Jayman2000!
7443

44+
### Security
45+
7546

7647
## 3.0 - 2019-08-07
7748

faq.md

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -416,56 +416,16 @@ You can read more about this file format by Debian
416416

417417
## Can I license only a part of a file as being under a different license? {#partial-license}
418418

419-
Yes, you can. You should add in-line snippet comments if a copyright and/or
420-
licensing info applies to only a certain part of a file.
419+
The short answer is that yes, you can, but no, there is no standard way for
420+
REUSE to recognize this. If you have a small segment of a file that is licensed
421+
differently, you should list that license under a separate
422+
`SPDX-License-Identifier` tag in the header.
421423

422-
Such an annotated snippet block must start with `SPDX-SnippetBegin` to mark its
423-
beginning and end with `SPDX-SnippetEnd` to mark the snippet's end.
424+
You can use your own comments to specify which segment is separately licensed.
425+
For instance: "The class Foo is copied from project Bar and licensed under MIT.
426+
All changes are licensed under GPL-3.0-or-later."
424427

425-
Do note that SPDX snippet tags MUST start with `SPDX-Snippet`, meaning that the
426-
correct copyright notice in a snippet is `SPDX-SnippetCopyrightText`.
427-
428-
Example:
429-
430-
```
431-
# SPDX-SnippetBegin
432-
# SPDX-License-Identifier: MIT
433-
# SPDX-SnippetCopyrightText: 2023 Jane Doe <[email protected]>
434-
435-
{$snippet_code_goes_here}
436-
437-
# SPDX-SnippetEnd
438-
```
439-
440-
Snippets may nest, and this is denoted by having
441-
`SPDX-SnippetBegin`/`SPDX-SnippetEnd` pairs within other pairs, in the same way
442-
that parentheses nest in mathematical expressions. In the case of nested
443-
snippets, the SPDX file tags are considered to apply to the inner-most snippet. Example:
444-
445-
```
446-
# SPDX-SnippetBegin
447-
# SPDX-License-Identifier: MIT
448-
# SPDX-SnippetCopyrightText: 2023 Jane Doe <[email protected]>
449-
450-
{$snippet_code_under_MIT}
451-
452-
# SPDX-SnippetBegin
453-
# SPDX-License-Identifier: BSD-2-Clause
454-
# SPDX-SnippetCopyrightText: Copyright Example Company
455-
456-
{$snippet_code_under_BSD-2-Clause}
457-
458-
# SPDX-SnippetEnd
459-
460-
{$more_snippet_code_under_MIT}
461-
462-
# SPDX-SnippetEnd
463-
```
464-
465-
It is also considered good practice to further specify the origin of the
466-
snippet, for instance by a comment like "The class Foo is copied from project Bar".
467-
468-
A possible alternative to the problem is to extract the segment from the
428+
A possible way to circumvent the problem is to extract the segment from the
469429
file, and to keep it in its own file.
470430

471431
## How do I properly declare multi-licensing? {#multi-licensing}

po/reuse-docs.cs.po

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: [email protected]\n"
1010
"POT-Creation-Date: 2020-08-19 12:43+0200\n"
11-
"PO-Revision-Date: 2022-05-01 12:09+0000\n"
11+
"PO-Revision-Date: 2022-04-13 12:12+0000\n"
1212
"Last-Translator: Jiří Podhorecký <[email protected]>\n"
1313
"Language-Team: Czech <https://hosted.weblate.org/projects/fsfe/reuse-docs/cs/"
1414
">\n"
@@ -17,7 +17,7 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
20-
"X-Generator: Weblate 4.12.1\n"
20+
"X-Generator: Weblate 4.12-dev\n"
2121

2222
#. type: YAML Front Matter: title
2323
#: faq.md
@@ -962,10 +962,10 @@ msgstr ""
962962

963963
#. type: Plain text
964964
#: faq.md
965-
#, markdown-text
965+
#, fuzzy, markdown-text
966966
msgid "You should not edit license files. Please see [this question](#edit-license)."
967967
msgstr ""
968-
"Licenční soubory byste neměli upravovat. Viz [tato otázka](#edit-license)."
968+
"Licenční soubory byste neměli upravovat. Viz [tato otázka](#edit-licence)."
969969

970970
#. type: Title ##
971971
#: faq.md
@@ -1023,7 +1023,7 @@ msgstr ""
10231023

10241024
#. type: Plain text
10251025
#: faq.md
1026-
#, markdown-text, no-wrap
1026+
#, fuzzy, markdown-text, no-wrap
10271027
msgid ""
10281028
"<!-- TODO: the linked section still needs to be written.\n"
10291029
"Some licenses, such as MIT and the BSD family of licenses, have a line that says\n"
@@ -1033,7 +1033,8 @@ msgid ""
10331033
msgstr ""
10341034
"<!-- TODO: je třeba ještě napsat odkazovanou sekci. \n"
10351035
"Některé licence, například MIT a rodina licencí BSD, obsahují řádek \n"
1036-
"\"Copyright (c) [year] [copyright holder]\". O tom, jak s těmito licencemi \n"
1036+
"\"Copyright (c) [rok] [držitel autorských práv]\". O tom, jak s těmito "
1037+
"licencemi \n"
10371038
"zacházet, se dočtete v [této otázce](#mit-bsd). \n"
10381039
"-->\n"
10391040

@@ -1624,15 +1625,15 @@ msgstr ""
16241625

16251626
#. type: Plain text
16261627
#: tutorial.md
1627-
#, markdown-text, no-wrap
1628+
#, fuzzy, markdown-text, no-wrap
16281629
msgid ""
16291630
"The first thing you need to do is to [choose a license]({{< relref\n"
16301631
"\"faq.md#which-license\" >}}). For this tutorial, we assume that you chose the GNU\n"
16311632
"General Public License (GPL) v3.0 or any later version. More than simply\n"
16321633
"choosing a license, you need to put the license in your project directory.\n"
16331634
msgstr ""
16341635
"Nejprve je třeba [vybrat licenci]({{< relref\n"
1635-
"\"faq.md#which-license\" >}}). Pro tento návod předpokládáme, že jste si "
1636+
"\"faq.md#which-licence\" >}}). Pro tento návod předpokládáme, že jste si "
16361637
"vybrali licenci GNU\n"
16371638
"General Public License (GPL) v3.0 nebo jakoukoli novější verzi. Nestačí než "
16381639
"jen\n"

0 commit comments

Comments
 (0)