Metadata-Version: 2.4
Name: fosslight_prechecker
Version: 4.0.6
Summary: FOSSLight Prechecker
Home-page: https://github.com/fosslight/fosslight_prechecker
Download-URL: https://github.com/fosslight/fosslight_prechecker
Author: LG Electronics
License: GPL-3.0-only
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10,<3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python-debian==0.1.40
Requires-Dist: binaryornot
Requires-Dist: requests
Requires-Dist: reuse==1.1.2
Requires-Dist: PyYAML
Requires-Dist: fosslight_util>=2.1.10
Requires-Dist: jinja2
Requires-Dist: pyaskalono
Requires-Dist: setuptools<=80.10.2
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

<!--
Copyright (c) 2021 LG Electronics
SPDX-License-Identifier: GPL-3.0-only
 -->
# FOSSLight Prechecker

<img src="https://img.shields.io/pypi/l/fosslight-prechecker" alt="License" /> <img src="https://img.shields.io/pypi/v/fosslight_prechecker" alt="Current python package version." /> <img src="https://img.shields.io/pypi/pyversions/fosslight_prechecker" /> [![REUSE status](https://api.reuse.software/badge/github.com/fosslight/fosslight_prechecker)](https://api.reuse.software/info/github.com/fosslight/fosslight_prechecker)

**FOSSLight Prechecker** is a tool that can be used to comply with the copyright/license writing rules in the source code.     
It uses [reuse-tool][ret] to check whether the [source code's copyright and license writing rules][rule] are complied with.

[ret]: https://github.com/fsfe/reuse-tool
[rule]: https://opensource.lge.com/guide/19

## 📖 User Guide
Please see the [**User Guide**](https://fosslight.org/fosslight-guide-en/scanner/1_prechecker.html) for more information on how to install and run it.    
Here a short summary:    

- `lint` --- (Default) Check whether the [source code's copyright and license writing rules][rule] are complied with.

- `convert` --- Convert [sbom-info.yaml](https://github.com/fosslight/fosslight_prechecker/blob/main/tests/convert/sbom-info.yaml) or [oss-pkg-info.yaml](https://github.com/fosslight/fosslight_prechecker/blob/main/tests/convert/oss-pkg-info.yaml) to [fosslight_report.xlsx](https://fosslight.org/fosslight-guide-en/learn/2_fosslight_report.html).

- `add` --- Add copyright and license to missing file(s)

- `download` --- Download the text license file(s) that written in sbom-info.yaml or oss-pkg-info.yaml.


## 👏 How to report issue

Please report any ideas or bugs to improve by creating an issue in [Git Repository][repo]. Then there will be quick bug fixes and upgrades. Ideas to improve are always welcome.

[repo]: https://github.com/fosslight/fosslight_prechecker/issues

## 📄 License  
FOSSLight Prechecker is licensed under [GPL-3.0-only][l].

[l]: https://github.com/fosslight/fosslight_prechecker/blob/main/LICENSE
