Reuse

Latest version: v3.0.2

Safety actively analyzes 630217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.5.0

Added

- TeX and ML comment styles added.
- Added `--year` and `--exclude-year` to `reuse addheader`.
- Added `--template` to `reuse addheader`.
- Added `--explicit-license` to `reuse addheader`.
- `binaryornot` added as new dependency.
- Greatly improved the usage documentation.

Changed

- `reuse addheader` now automatically adds the current year to the copyright
notice.
- `reuse addheader` preserves the original header below the new header if it did
not contain any SPDX information.
- `reuse addheader` now correctly handles `.license` files.
- Bad licenses are no longer resolved to LicenseRef-Unknown<n>. They are instead
resolved to the stem of the path. This reduces the magic in the code base.
- `.gitkeep` files are now ignored by the tool.
- Changed Lisp's comment character from ';;' to ';'.

0.4.1

Added

- `--all` argument help to `reuse download`, which downloads all detected
missing licenses.

Fixed

- When using `reuse addheader` on a file that contains a shebang, the shebang is
preserved.
- Copyright lines in `reuse spdx` are now sorted.
- Some publicly visible TODOs were patched away.

0.4.0

This release is a major overhaul and refactoring of the tool. Its primary focus
is improved usability and speed, as well as adhering to version 3.0 of the REUSE
Specification.

Added

- `reuse addheader` has been added as a way to automatically add copyright
statements and license identifiers to the headers of files. It is currently
not complete.
- `reuse init` has been added as a way to initialise a REUSE project. Its
functionality is currently scarce, but should improve in the future.

Changed

- `reuse lint` now provides a helpful summary instead of merely spitting out
non-compliant files.
- `reuse compile` is now `reuse spdx`.
- In addition to `Copyright` and `©`, copyright lines can be marked with the
tag `SPDX-FileCopyrightText:`. This is the new recommended default.
- Project no longer depends on pygit2.
- The list of SPDX licenses has been updated.
- `Valid-License-Identifier` is no longer used, and licenses and exceptions can
now only live inside of the LICENSES/ directory.

Removed

- Removed `--ignore-debian`.
- Removed `--spdx-mandatory`, `--copyright-mandatory`, `--ignore-missing`
arguments from `reuse lint`.
- Remove `reuse license`.
- GPL-3.0 and GPL-3.0+ (and all other similar GPL licenses) are no longer
detected as SPDX identifiers. Use GPL-3.0-only and GPL-3.0-or-later instead.

Fixed

- Scanning a Git directory is a lot faster now.
- Scanning binary files is a lot faster now.

0.3.4

This release should be a short-lived one. A new (slightly
backwards-incompatible) version is in the works.

Added

- Copyrights can now start with `©` in addition to `Copyright`. The former is
now recommended, but they are functionally similar.

Changed

- The source code of reuse is now formatted with black.
- The repository has been moved from <https://git.fsfe.org/reuse/reuse> to
<https://gitlab.com/reuse/reuse>.

0.3.3

Fixed

- Any files with the suffix `.spdx` are no longer considered licenses.

0.3.2

Fixed

- The documentation now builds under Python 3.7.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.