ReuseMe provides a Pre-commit hook, Command Line Interface and integration with GitHub Actions for managing software licensing and copyright attributions, including support for:
- Validation of your files against the Reuse specification
{
"SPDXID": "SPDXRef-DOCUMENT",
"spdxVersion": "SPDX-2.3",
"name": "reuse-me",
"documentNamespace": "http://spdx.org/spdxdocs/spdx-v2.3-HASH",
"dataLicense": "CC0-1.0",
"creationInfo": {
"comment": "Generated by ReuseMe",
"created": "2023-06-15T12:45:54.800Z",
"creators": [
...
]
...
}
...
}
⚠️ NOTE⚠️ ReuseMe (and its owner) are not part of a law firm and, as such, the owner nor the application provide legal advise. Using ReuseME does not constitute legal advice or create an attorney-client relationship.
ReuseMe is created for the aggregation of Copyright and License information provided by the users in the files stored in their repositories. In the end, the users of ReuseMe are responsible for the correctness of the generated Software Bill of Materials, the associated licenses, and attributions. For that reason, ReuseMe is provided on an "as-is" basis and makes no warranties regarding any information or licenses provided on or through it, and disclaims liability for damages resulting from using the application.
You can add ReuseMe as a pre-commit by:
- Installing pre-commit
- Including ReuseMe in your
.pre-commit.config.yaml
file, e.g.:
repos:
- repo: https://github.com/dev-build-deploy/reuse-me
rev: v0.8.0
hooks:
- id: reuse-me
- Installing the hooks
$ pre-commit install
The basic workflow can be set up as such:
name: Copyright & Licenses
on:
pull_request:
jobs:
reuse-me:
name: REUSE compliance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dev-build-deploy/reuse-me@v0
You can find more details in the dedicated documentation
Performing local validation is as simple as running the reuse-me
CLI tool;
$ reuse-me
You can find more details in the dedicated documentation
For more support, please refer to our Basic guidelines or the excellent REUSE FAQ
If you have suggestions for how reuse-me could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
MIT © 2023 Kevin de Jong <[email protected]>