Fsfe-reuse

Latest version: v0.5.2

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

Scan your dependencies

Page 1 of 3

0.5.2

Added

- `python3 -m reuse` now works.

Changed

- Updated license list to 3.6-2-g2a14810.

Fixed

- Performance of `reuse lint` improved by at least a factor of 2. It no longer
does any checksums on files behind the scenes.

- Also handle `MachineReadableFormatError` when parsing DEP5 files. Tries to
import that error. If the import is unsuccessful, it is handled.

0.5.1

This release was replaced by 0.5.2 due to importing
`MachineReadableFormatError`, which is not a backwards-compatible change.

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>.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.