https://github.com/merobi-hub/license-updater
A script for programmatically converting Apache Foundation license text in a project from block format to the new SPDX format
https://github.com/merobi-hub/license-updater
utility
Last synced: 3 months ago
JSON representation
A script for programmatically converting Apache Foundation license text in a project from block format to the new SPDX format
- Host: GitHub
- URL: https://github.com/merobi-hub/license-updater
- Owner: merobi-hub
- License: apache-2.0
- Created: 2022-02-02T20:41:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T11:54:34.000Z (about 3 years ago)
- Last Synced: 2025-01-06T16:22:12.279Z (5 months ago)
- Topics: utility
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Simple Script to Update License Text
The lengthy block text often used by open source developers to include a license
in their projects has been superceded by the SPDX License standard, which
reduces the length of the license text to a single, machine-readable line.This project automates the process of replacing block license text with
SPDX-compliant text or adding the same where no license text is present.## Requisites
Python 3
## Supported License Types
Apache 2.0
## Supported File Types
.java
.py
.md
.txt
.rs## Excluded File Types
.data
.jar
.png
.pack
.idx
.html
.csv## How to Use
Copy the spdx-convert.py file to the root directory of your project. Then, cd into the root directory and execute the script
with Python 3.## Contributors
[merobi-hub](https://github.com/merobi-hub)
## More Info
[SPDX License List](https://spdx.org/licenses/)