blackducksoftware / hub-rest-api-python

HUB REST API Python bindings
Apache License 2.0
89 stars 104 forks source link

No license is assigned to project on creation #179

Closed lcsongor closed 1 year ago

lcsongor commented 3 years ago

The REST API of Blackduck supports assigning a license to a new project, upon creation, however there is no support for this in this Python library. The issue is in Versions.py: def add_version_as_component(self, main_project_release, sub_project_release): line 20 in the latest version This is necessary to properly create new projects, which have an initial license.

OffBy0x01 commented 3 years ago

Hey @lcsongor, if you have a fix for the issue already, perhaps you could create a PR with it?