-
Notifications
You must be signed in to change notification settings - Fork 105
Home
Glenn Snyder edited this page Nov 8, 2018
·
8 revisions
Wrapper for common HUB API queries. Upon initialization Bearer tocken is obtained and used for all subsequent calls
Usage:
from blackduck.HubRestApi import HubInstance
username="sysadmin"
password="blackduck"
urlbase="https://ec2-34-201-23-208.compute-1.amazonaws.com"
hub = HubInstance(urlbase, username, password, insecure=True)
projects = hub.get_projects()
Find versions that have identical BOM and optionally delete redundant data
python3 duplicates.py
Set cleanup=True to remove redundant data