chore(deps): update dependency reuse to v5 - autoclosed #179
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
==3.0.1
->==5.1.1
Release Notes
fsfe/reuse-tool (reuse)
v5.1.1
Compare Source
Fixed
(#1191)
was introduced in v5.0.0. Strings that were already translated before the
release of v5.0.0 are now translated again. (#1216)
v5.1.0
Compare Source
Added
.dtd
(#1141).gperf
(#1131).erl
and.hrl
, leex and yecc Erlang parser generators.xrl
and.yrl
(#1117).ex
and.exs
) (#1117).gleam
) (#1117).lean
,.olean
, and.ilean
) (#1188)--json
flag to thesupported-licenses
subcommand. (#1187)Changed
Cargo.lock
to uncommentable. (#1169)reuse annotate
previously would insert a newline after a header, which isnot always a desirable behavior. Instead of inserting a newline,
reuse annotate
will now respect the existing whitespace of the file wherethe header is being placed. When the license header is being added to a file
for the first time, a space will be added after the license, but subsequent
updates to the header will leave the whitespace alone. (#1136)
spdx-license-list-data
to v3.27.0.v5.0.2
Compare Source
Fixed
v5.0.1
Compare Source
Fixed
v5.0.0
Compare Source
This is a big release for a small change set. With this release, the tool
becomes compatible with
REUSE Specification 3.3, which is a very
subtly improved release of the much bigger version 3.2.
Added
.cabal
,cabal.project
) (#1089, #1090).envrc
(#1061).flake.lock
(#1061).j2
) (#1036)poetry.lock
) (#1037)lint-file
subcommand to enable running lint on specific files. (#1055)click
. (#1084)spdx-string
,spdx-string-c
, andspdx-string-symbol
. (#979)Changed
Bumped REUSE Specification version to
version 3.3. (#1069)
Switched from
argparse
toclick
for handling the CLI. The CLI should stillhandle the same, with identical options and arguments, but some stuff changed
under the hood. (#1084)
Find here a small list of differences:
-h
is no longer shorthand for--help
.--version
now outputs "reuse, version X.Y.Z", followed by a licensingblurb on different paragraphs.
annotate
's--skip-unrecognised
and--style
, anddownload
's--output
and--all
.as
annotate
,lint-file
, ordownload
, now also allow zero arguments.This will do nothing, but can be useful in scripting.
annotate
andlint-file
now also take directories as arguments. This willdo nothing, but can be useful in scripting.
Changes to comment styles:
.s
files (GNU as) now use the C comment style. (#1034).ld
files (GNU ld) now use the C comment style. (#1034)REUSE.toml
no longer needs a licensing header. (#1042).gitkeep
is no longer ignored, because this is not defined in thespecification. However, if
.gitkeep
is a 0-size file, it will remain ignored(because 0-size files are ignored). (#1043)
If
REUSE.toml
is ignored by VCS, the linter no longer parses this file.(#1047)
SPDX license and exception list updated to v3.25.0.
More
LICENSE
andCOPYING
-like files are ignored. Now, such files suffixedby
-anything
are also ignored, typically something likeLICENSE-MIT
. Fileswith the UK spelling
LICENCE
are also ignored. (#1041)Removed
Fixed
REUSE.toml
, fixed the globbing of a single asterisk succeeded by a slash(e.g.
directory-*/foo.py
). The glob previously did nothing. (#1078)attrs
to>=21.3
. Older versions donot import correctly. (#1044)
VCS. (#1047)
lint
has been slightly improved, getting rid of anerrant newline. (#1091)
reuse annotate --merge-copyrights
now works more reliably with copyrightprefixes. This still needs some work, though. (#979)
REUSE.toml
files and one ofthose files could not be parsed, the wrong
REUSE.toml
was signalled as beingunparseable. This is now fixed. (#1047)
REUSE.toml
did not correctly apply its annotations tofiles which have an accompanying
.license
file. (#1058)reuse download SPDX-IDENTIFIER+
, downloadSPDX-IDENTIFIER
instead. This also works for
reuse download --all
. (#1098)v4.0.3
Compare Source
Fixed
attrs
to>=21.3
. Older versions donot import correctly. (#1044)
v4.0.2
Compare Source
Fixed
annotate --merge-copyrights
on a file that does not yet have a year in thecopyright statement. This bug was introduced in v4.0.1. (#1030)
v4.0.1
Compare Source
Fixed
updating
poetry.lock
. (#1028)v4.0.0
Compare Source
This release of REUSE implements the new
REUSE Specification v3.2. It adds the
REUSE.toml
file format as a replacement for.reuse/dep5
. The new format iseasier to write and parse, is better at disambiguating certain corner cases, and
is more flexible for customisation and future additions.
To convert your existing
.reuse/dep5
toREUSE.toml
, you can simply use thereuse convert-dep5
command.Alongside the
REUSE.toml
feature is a wealth of other improvements.reuse lint --lines
may be especially interesting for CI workflows, as well asthe fact that the amount of
PendingDeprecationWarning
s has been drasticallyreduced now that the information aggregation behaviour of
.reuse/dep5
isexplicitly defined in the specification.
The tool has also been made easier to use with the addition of man pages. The
man pages can be found online at https://reuse.readthedocs.io/en/stable/man/.
Your distribution's packager will need to make them accessible via
man reuse(1)
. Unfortunately, man pages cannot be made accessible via Python'spackaging, although the full documentation (including man pages) is included in
the sdist.
This changeset also contains the changes of v3.1.0a1.
Added
REUSE.toml
. (#863)reuse convert-dep5
to convert.reuse/dep5
toREUSE.toml
. (#863)reuse
commands. Distribution maintainers might wishto distribute the (Sphinx-built) man pages. (#975)
.asm
) (#928).graphqls
,.gqls
) (#930).cu
,.cuh
) (#938).csproj
,.fsproj
,.fsx
,.props
,.sln
,.vbproj
) (#940)Cargo.lock
) (#937).clang-tidy
) (#961).properties
files (#968).htaccess
files (#985).npmrc
files (#985).cls
) (#971).cson
) (#1002).hjson
) (#1002).json5
) (#1002).jsonc
) (#1002).taprc
) (#997).zshrc
) (#997).t
) (#997).bats
) (#997).m
) (#604).vhdl
) (#564)Earthfile
and.earthlyignore
) (#1024)man
for UNIX Man pages (.man
) (#954)--lines
output option forlint
. (#956)% !TEX
and% !BIB
as shebangs in TeX and BibTeX files, respectively(#971)
--skip-unrecognized
. (#974)annotate
, rename--copyright-style
to--copyright-prefix
. The formerparameter is still supported. (#973)
--skip-unrecognized
(#974)cpp
andcppsingle
style shorthands (see changes). (#941)Changed
.s
files now use the Python comment style as per GNU Assembler (gas). (#928)COPYING
orLICENSE
was ignored. Thishas been changed. Now, files like
COPYING_README
are no longer ignored, butCOPYING
andCOPYING.txt
are still ignored (in other words: exact matches,or
COPYING
+ a file extension). Idem ditto forLICENSE
. (#886)attrs>=21.1
(#863)tomlkit>=0.8
(#863)c
,css
, andcsingle
styles work. (#941)c
used to support multi-line comments; it now only supports multi-line/* */
comments. This is identical to the oldcss
style.cpp
has been added, which supports multi-line/* */
comments andsingle-line
//
comments. This is identical to the oldc
style.csingle
has been renamed tocppsingle
, and it supports only single-line//
comments.Deprecated
.reuse/dep5
is marked deprecated.reuse convert-dep5
will help you switchto
REUSE.toml
. (#863)Removed
and the contents of a file has been removed. This behaviour is now explicitly
specified in REUSE Specification v3.2. (#1017, related to #779)
reuse init
removed. (#863)csingle
andcss
style shorthands (see changes). (#941)Fixed
Created:
was wrongly formatted since 3.0.0. It nowreturns a correctly formatted ISO 8601 date again. (#952)
reuse download
where being inside of a LICENSES/directory should not create a deeper LICENSES/LICENSES/ directory. (#975)
CONTRIBUTING.md
to the sdist. (#987)reuse spdx
, fixed the output to be more compliant by capitalisingSPDXRef-Document DESCRIBES
appropriately. (#1013)v3.0.2
Compare Source
Fixed
annotate
's '--style
now works again when used for a file with anunrecognised extension. (#909)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.