Update dependency reuse to v4 #126
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/reuse-4.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==2.1.0->==4.0.3Release Notes
fsfe/reuse-tool (reuse)
v4.0.3Compare Source
Fixed
attrsto>=21.3. Older versions donot import correctly. (#1044)
v4.0.2Compare Source
Fixed
annotate --merge-copyrightson a file that does not yet have a year in thecopyright statement. This bug was introduced in v4.0.1. (#1030)
v4.0.1Compare Source
Fixed
updating
poetry.lock. (#1028)v4.0.0Compare Source
This release of REUSE implements the new
REUSE Specification v3.2. It adds the
REUSE.tomlfile 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/dep5toREUSE.toml, you can simply use thereuse convert-dep5command.Alongside the
REUSE.tomlfeature is a wealth of other improvements.reuse lint --linesmay be especially interesting for CI workflows, as well asthe fact that the amount of
PendingDeprecationWarnings has been drasticallyreduced now that the information aggregation behaviour of
.reuse/dep5isexplicitly 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-dep5to convert.reuse/dep5toREUSE.toml. (#863)reusecommands. 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).propertiesfiles (#968).htaccessfiles (#985).npmrcfiles (#985).cls) (#971).cson) (#1002).hjson) (#1002).json5) (#1002).jsonc) (#1002).taprc) (#997).zshrc) (#997).t) (#997).bats) (#997).m) (#604).vhdl) (#564)Earthfileand.earthlyignore) (#1024)manfor UNIX Man pages (.man) (#954)--linesoutput option forlint. (#956)% !TEXand% !BIBas shebangs in TeX and BibTeX files, respectively(#971)
--skip-unrecognized. (#974)annotate, rename--copyright-styleto--copyright-prefix. The formerparameter is still supported. (#973)
--skip-unrecognized(#974)cppandcppsinglestyle shorthands (see changes). (#941)Changed
.sfiles now use the Python comment style as per GNU Assembler (gas). (#928)COPYINGorLICENSEwas ignored. Thishas been changed. Now, files like
COPYING_READMEare no longer ignored, butCOPYINGandCOPYING.txtare 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, andcsinglestyles work. (#941)cused to support multi-line comments; it now only supports multi-line/* */comments. This is identical to the oldcssstyle.cpphas been added, which supports multi-line/* */comments andsingle-line
//comments. This is identical to the oldcstyle.csinglehas been renamed tocppsingle, and it supports only single-line//comments.Deprecated
.reuse/dep5is marked deprecated.reuse convert-dep5will 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 initremoved. (#863)csingleandcssstyle shorthands (see changes). (#941)Fixed
Created:was wrongly formatted since 3.0.0. It nowreturns a correctly formatted ISO 8601 date again. (#952)
reuse downloadwhere being inside of a LICENSES/directory should not create a deeper LICENSES/LICENSES/ directory. (#975)
CONTRIBUTING.mdto the sdist. (#987)reuse spdx, fixed the output to be more compliant by capitalisingSPDXRef-Document DESCRIBESappropriately. (#1013)v3.0.2Compare Source
Fixed
annotate's '--stylenow works again when used for a file with anunrecognised extension. (#909)
v3.0.1Compare Source
Fixed
.qrcand.uinow have the HTML comment style instead of being markeduncommentable. (#896)
files are scanned for REUSE information again. The contents of binary files
are not. (#896)
v3.0.0Compare Source
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, a
replacement for
.reuse/dep5..reuse/dep5will still be supported as adeprecated feature for some time.
That future 3.1 release will have some alpha testing in advance.
Added
downloadandinit. (#697).tcl) (#871).jl) (#815).f90) (#836).bzl) (#870).ld) (#862).s) (#862).empty) (#862).shellcheckrc) (#862)pylintrc) (#862).sld,.sls,.sps) (#875)csinglefor Zig (.zig) and Hare (.ha) (#889)(#858)
annotateon a file with an unrecognised file path, the toolcurrently exits early. To automatically create a .license file for
unrecognised files,
--fallback-dot-licensehas been added. (#823, #851,#853, #859; this took a while to get right.)
.sldirectory as used by Sapling SCM.(#867)
Changed
a directory with a
.gitfile as a submodule, it now uses the git command todetect submodules. This helps detect (quoted from Git man page)
"[repositories] that were cloned independently and later added as a submodule
or old setups", which "have the submodule's git directory inside the submodule
instead of embedded into the superproject's git directory". (#687)
REUSE information. (#825)
--force-dot-licenseand--skip-unrecognisedare now mutually exclusive onannotate. (#852)-extraDocker images. Theopenssh-clientpackage is now in the main image. (#849)
devDocker images. (#849)-debianDocker image is now based off debian:12-slim. It used to bebased on the python:slim image, which used debian:slim under the hood. (#849)
Removed
--explicit-license. (#851)addheader. (#851)sphinx-autodoc-typehintsfor documentation. (#772)Fixed
annotatewhere--single-lineand--multi-linewould notcorrectly raise an error with an incompatible comment style. (#853)
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)
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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.