get fossology report for a given folder id
Project description
getfr
Fossology combined Notice report generater for all pkgs in a specified folder
Description
This is intended for generating the reports(readmeoss,spdx2,spdx2tv,dep5,unifiedreport) using folder_id in fossology.
Getting Started
Dependencies
- easy_fossy
Installing
- pip install dist/getfr-v.v.v.tar.gz
Executing program
- How to run the program
pip install getfr
COMMAND FORMAT:
getfr [-h] [--sbom | --no-sbom] folder_id clearing_status userid since_yyyy_mm_dd report_format
example command:
getfr 107 closed all 2024-02-01 readmeoss --sbom
configure your server in config.ini
- (config.ini file with below contents is essential & effortless kickstart)
[prod]
url = http://fossology.com:port/repo/api/v1/
uname =
pwd =
access = write
bearer_token = Bearer OHNSUFaI6OtoFNz
token_valdity_days = 365
token_expire = 2022-10-29
reports_location = reports/
group_name = fossy
Help
>getfr -h
usage: getfr [-h] [--sbom | --no-sbom] folder_id clearing_status userid since_yyyy_mm_dd report_format
positional arguments:
folder_id get the folder id from the fossology. organize > folders > Edit properties > select the folder to edit
>check the folder id form url
clearing_status closed , open, inprogress, rejected
userid all, or give single specific user id
since_yyyy_mm_dd files uploaded date from 2024-02-01s
report_format readmeoss,spdx2,spdx2tv,dep5,unifiedreport
options:
-h, --help show this help message and exit
--sbom, --no-sbom create sbom
Authors
Dinesh Ravi
Version History
- 0.1.0
- Initial Release
License
This project is licensed under the MIT License - see the MIT file for details
Acknowledgments
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
getfr-0.2.4.tar.gz
(5.4 kB
view details)
Built Distribution
getfr-0.2.4-py3-none-any.whl
(5.6 kB
view details)
File details
Details for the file getfr-0.2.4.tar.gz
.
File metadata
- Download URL: getfr-0.2.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a60c49b4e34ad7c5ae2869b38e58783d3847fa28bd8fbb9c57a5319bbf62e84 |
|
MD5 | e1409d97e68170c19e8aada930a6b945 |
|
BLAKE2b-256 | 782b2c131c39efaf9cfc5951150c6602e240fa0d8fd8f26a6202c656ae35b189 |
File details
Details for the file getfr-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: getfr-0.2.4-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2072bb18aee5e1d1f92e764720e1df48fb9606522efba16825b9b3f9b611adf |
|
MD5 | da325af3676f89dc1148f709f56953cf |
|
BLAKE2b-256 | 5e8be18e8124960fc2f8f57f7d5be246b865a221d0ce5f56d45b50c2c577b988 |