Skip to content

Commit

Permalink
Merge branch 'fsfe:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroch-rivosinc authored Feb 13, 2024
2 parents 671ebe7 + 00a8d94 commit 5d53bee
Show file tree
Hide file tree
Showing 27 changed files with 1,454 additions and 394 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.1.0
current_version = 3.0.1
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<release>(a|b|rc)?)(?P<releasenumber>\d*)
Expand Down
2 changes: 2 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Contributors

- Anthony Loiseau

- Apteryks

Translators
-----------

Expand Down
45 changes: 41 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,38 @@ CLI command and its behaviour. There are no guarantees of stability for the

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

## 3.0.1 - 2024-01-19

### Fixed

- `.qrc` and `.ui` now have the HTML comment style instead of being marked
uncommentable. (#896)
- This reverts behaviour introduced in v3.0.0: the contents of uncommentable
files are scanned for REUSE information again. The contents of binary files
are not. (#896)

## 3.0.0 - 2024-01-17

This release contains a lot of small improvements and changes without anything
big per se. Rather, it is made in advance of a release which will contain a
single feature: [REUSE.toml](https://github.com/fsfe/reuse-tool/issues/779), a
replacement for `.reuse/dep5`. `.reuse/dep5` will still be supported as a
deprecated feature for some time.

That future 3.1 release will have some alpha testing in advance.

### Added

- Implement handling LicenseRef in `download` and `init`. (#697)
- Declared support for Python 3.12. (#846)
- More file types are recognised:
Expand All @@ -54,6 +86,9 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Empty placeholders (`.empty`) (#862)
- ShellCheck configuration (`.shellcheckrc`) (#862)
- Pylint in-project configuration (`pylintrc`) (#862)
- Lisp schemes (`.sld`, `.sls`, `.sps`) (#875)
- Added comment styles:
- `csingle` for Zig (`.zig`) and Hare (`.ha`) (#889)
- Display recommendations for steps to fix found issues during a lint. (#698)
- Add support for Pijul VCS. Pijul support is not added to the Docker image.
(#858)
Expand Down Expand Up @@ -83,12 +118,11 @@ CLI command and its behaviour. There are no guarantees of stability for the
- The `-debian` Docker image is now based off debian:12-slim. It used to be
based on the python:slim image, which used debian:slim under the hood. (#849)

### Deprecated

### Removed

- Removed deprecated `--explicit-license`. (#851)
- Removed deprecated `addheader`. (#851)
- No longer depend on `sphinx-autodoc-typehints` for documentation. (#772)

### Fixed

Expand All @@ -97,8 +131,11 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Fix issue in `annotate` where `--single-line` and `--multi-line` would not
correctly raise an error with an incompatible comment style. (#853)
- Fix parsing existing copyright lines when they do not have a year (#861)

### Security
- Better handling of Lisp comment styles. Now, any number of ";" characters is
recognised as the prefix to a Lisp comment, and ";;;" is used when inserting
comment headers, as per
<https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html>.
(#874)

## 2.1.0 - 2023-07-18

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Git. This uses [pre-commit](https://pre-commit.com/). Once you
```yaml
repos:
- repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0
rev: v3.0.1
hooks:
- id: reuse
```
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
# The full version, including alpha/beta/rc tags.
release = get_version("reuse")
except PackageNotFoundError:
release = "2.1.0"
release = "3.0.1"

# The short X.Y.Z version.
version = ".".join(release.split(".")[:3])
Expand Down
48 changes: 24 additions & 24 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-28 08:50+0000\n"
"POT-Creation-Date: 2024-01-19 11:28+0000\n"
"PO-Revision-Date: 2023-04-12 13:49+0000\n"
"Last-Translator: Jiří Podhorecký <j.podhorecky@volny.cz>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/fsfe/reuse-tool/cs/"
Expand Down Expand Up @@ -238,52 +238,52 @@ msgid ""
"{message}"
msgstr ""

#: src/reuse/_util.py:262
#: src/reuse/_util.py:261
msgid "no '{}' file, or could not read it"
msgstr ""

#: src/reuse/_util.py:425
#: src/reuse/_util.py:413
#, python-brace-format
msgid "Could not parse '{expression}'"
msgstr "Nepodařilo se analyzovat '{expression}'"

#: src/reuse/_util.py:559
#: src/reuse/_util.py:547
msgid "'{}' is not a file"
msgstr "'{}' není soubor"

#: src/reuse/_util.py:562
#: src/reuse/_util.py:550
msgid "'{}' is not a directory"
msgstr "'{}' není adresář"

#: src/reuse/_util.py:565
#: src/reuse/_util.py:553
msgid "can't open '{}'"
msgstr "nelze otevřít '{}'"

#: src/reuse/_util.py:570
#: src/reuse/_util.py:558
msgid "can't write to directory '{}'"
msgstr "nelze zapisovat do adresáře '{}'"

#: src/reuse/_util.py:576
#: src/reuse/_util.py:564
msgid "can't write to '{}'"
msgstr "nelze zapisovat do '{}'"

#: src/reuse/_util.py:589
#: src/reuse/_util.py:577
msgid "can't read or write '{}'"
msgstr "nelze číst ani zapisovat '{}'"

#: src/reuse/_util.py:599
#: src/reuse/_util.py:587
msgid "'{}' is not a valid SPDX expression, aborting"
msgstr "'{}' není platný výraz SPDX, přeruší se"

#: src/reuse/_util.py:627
#: src/reuse/_util.py:615
msgid "'{}' is not a valid SPDX License Identifier."
msgstr "'{}' není platný identifikátor licence SPDX."

#: src/reuse/_util.py:634
#: src/reuse/_util.py:622
msgid "Did you mean:"
msgstr "Měl jste na mysli:"

#: src/reuse/_util.py:641
#: src/reuse/_util.py:629
msgid ""
"See <https://spdx.org/licenses/> for a list of valid SPDX License "
"Identifiers."
Expand Down Expand Up @@ -552,26 +552,26 @@ msgstr "Váš projekt bohužel není v souladu s verzí {} specifikace REUSE :-(
msgid "RECOMMENDATIONS"
msgstr ""

#: src/reuse/project.py:234
#: src/reuse/project.py:233
#, python-brace-format
msgid "'{path}' covered by .reuse/dep5"
msgstr "'{path}' zahrnuto v .reuse/dep5"

#: src/reuse/project.py:240
#: src/reuse/project.py:239
#, python-brace-format
msgid ""
"'{path}' was detected as a binary file or its extension is marked as "
"uncommentable; not searching its contents for REUSE information."
"'{path}' was detected as a binary file; not searching its contents for REUSE "
"information."
msgstr ""

#: src/reuse/project.py:281
#: src/reuse/project.py:279
#, python-brace-format
msgid ""
"'{path}' holds an SPDX expression that cannot be parsed, skipping the file"
msgstr ""
"'{path}' obsahuje výraz SPDX, který nelze analyzovat a soubor se přeskočí"

#: src/reuse/project.py:290
#: src/reuse/project.py:288
#, python-brace-format
msgid ""
"Copyright and licensing information for '{original_path}' has been found in "
Expand All @@ -582,17 +582,17 @@ msgid ""
"suppress-deprecation` to hide this warning."
msgstr ""

#: src/reuse/project.py:386
#: src/reuse/project.py:384
#, python-brace-format
msgid "determining identifier of '{path}'"
msgstr "určující identifikátor '{path}'"

#: src/reuse/project.py:394
#: src/reuse/project.py:392
#, python-brace-format
msgid "{path} does not have a file extension"
msgstr "{path} nemá příponu souboru"

#: src/reuse/project.py:404
#: src/reuse/project.py:402
#, python-brace-format
msgid ""
"Could not resolve SPDX License Identifier of {path}, resolving to "
Expand All @@ -605,14 +605,14 @@ msgstr ""
"adrese <https://spdx.org/licenses/> nebo zda začíná znakem 'LicenseRef-' a "
"zda má příponu souboru."

#: src/reuse/project.py:416
#: src/reuse/project.py:414
#, python-brace-format
msgid ""
"{identifier} is the SPDX License Identifier of both {path} and {other_path}"
msgstr ""
"{identifier} je identifikátor licence SPDX jak {path}, tak {other_path}"

#: src/reuse/project.py:455
#: src/reuse/project.py:453
msgid ""
"project '{}' is not a VCS repository or required VCS software is not "
"installed"
Expand Down
Loading

0 comments on commit 5d53bee

Please sign in to comment.