Generate Notice file from Blackduck in JSON, TEXT or HTML format
Project description
BDNOTICE
Generate Notice file from Blackduck in JSON, TEXT or HTML format
Description
This is intended for generating Notice file from Blackduck in JSON, TEXT or HTML format
Getting Started
Dependencies
- Blackduck
- importlib-resources
Installing
- pip install bdnotice
Executing program
- How to run the program
<!-- on the folder it is running place this blackduck config file for blackduck library-->
.restconfig.json
{
<!-- make sure Blackduck_url should not end with slash -->
"baseurl": "Blackduck_url",
"api_token": "API_KEY",
"insecure": true,
"debug": false
}
pip install bdnotice
ex:
bdnotice PJ PV -f C:\DIR\Blackduck_report -r HTML -c
bdnotice PJ PV -f C:\DIR\Blackduck_report -r TEXT -c
Help
Any advise for common problems or issues.
>bdnotice -h
usage: A program to generate the notices file for a given project-version
[-h] [-f FILE_NAME_BASE] [-r {JSON,TEXT,HTML}] [-c] project_name version_name
positional arguments:
project_name
version_name
options:
-h, --help show this help message and exit
-f FILE_NAME_BASE, --file_name_base FILE_NAME_BASE
Base file name to write the report data into. If the report
format is TEXT a .zip file will be created, otherwise a .json
file
-r {JSON,TEXT,HTML}, --report_format {JSON,TEXT,HTML}
Report format - choices are TEXT, JSON or HTML
-c, --include_copyright_info
Set this option to have additional copyright information from
the Black Duck KB included in the notices file report.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bdnotice-0.1.0.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file bdnotice-0.1.0.tar.gz
.
File metadata
- Download URL: bdnotice-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d637d9fd45cac96e4525243342564604780223624c9b83a86e882fa08969564f |
|
MD5 | bcea98b10f66ed70a5cd283b185d8d8d |
|
BLAKE2b-256 | e25980e3e752f166d5544973e20f5720ff83e86466702f83c5033b6f3ab5d9b9 |
File details
Details for the file bdnotice-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: bdnotice-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58a5b61458868a426a3001fff04dda597e8f4c377ea0b3f495bdd84c5da6d33 |
|
MD5 | d3f5e25e4113efe989c359e0b5c0eee5 |
|
BLAKE2b-256 | 33dce1d3703154666f56835974ccd80b49941d6319b0ce1af76b8c2cede8d916 |