Skip to content

Releases: fossology/fossology-python

Breaking change - Support uploads/jobs pagination

10 Feb 14:33
a6f9918
Compare
Choose a tag to compare

Endpoints /uploads and /jobs` support pagination if the number of record is bigger than 100.

This release allows limiting listing to given pages and page-sizes or retrieve all pages at once.

Value returned by list_uploads and list_jobs is now a tuple with the Upload/Job list and the total number of pages available.
This is a breaking change in the API.

Alignment release 1.2.1

29 Jan 14:23
0af632d
Compare
Choose a tag to compare

Align release of fossology-python with Fossology REST API version, currently 1.2.1.

New features:

  • Limit file search to a single upload (#47)
  • Add upload from server (#50)
  • Support backward compatibility with previous API version (#51)
  • Support /license and /groups new endpoints (#55 and #56)

Other improvements:

  • Use pytest as the default test framework
  • Extend testsuite to support docker shared volumes in Github actions
  • Sort imports using isort

First major release 1.0.0

31 Dec 09:21
Compare
Choose a tag to compare

This is the first major version of the fossology python wrapper.

This version supports the fossology API up to version 1.1.1.
Some incompatibilities with former versions of the API could remain.

This library now uses pytest to perform the unit and integration tests (using the latest tag of Fossology Docker container).
The testsuite of this first major release covers 94% of the code.

Minor release 0.2.0 with refactored report API

16 Oct 13:08
de95d1e
Compare
Choose a tag to compare

The download_report() function now gets the name of the report generated by the Fossology server from the HTTP response header and returns both the report content, and the report filename. See documentation for details.

This is a small but breaking change compared with the previous version, Fossology clients source code will need some minor adaptation if an upgrade is performed.

Patch release v0.1.4

14 Oct 14:57
Compare
Choose a tag to compare

Add wait_time option to improve configurability depending on the size of the uploaded file.

Patch release

28 Sep 11:10
fa8ed27
Compare
Choose a tag to compare

Honour Retry-After header from GET uploads

Support REST API version 1.0.16

25 Jun 10:40
4375580
Compare
Choose a tag to compare
  • Add switch to support URL upload and document the different upload types: file, VCS and URL.
  • Add upload filesha1
  • Improve compatibility with future API objects by using keyword arguments
  • Bug fix: remote use of Walrus operator to ensure compatibility with Python 3.6 and 3.7

Update to REST API version 1.0.13

06 May 10:26
9b4902c
Compare
Choose a tag to compare
  • Add upload argument to method list_jobs(), closes #21
  • Add options to wait for job completion in methods schedule_jobs and detail_job() as suggested in #20
  • Update to REST API version 1.0.13:
    • DELETE /users/{id}
    • GET /uploads/{id}/licenses
  • Add ignoreScm and groupName options for POST /uploads
  • Add groupName option for DELETE /uploads/{id} and PATCH /uploads/{id}
  • Breaking change: use Upload object instead of upload_id in method upload_summary
  • Improve exception handling by sending raw server response in case no JSON is returned
  • Fix implementation of specific agents handling, extend test
  • Fix styling/formatting, shorten list of flake8 ignores
  • Add test coverage in actions and export badge on README (using codecov)
  • Improve coverage rate to 83%, fix some bugs on the way
  • Extend copyright to 2020 on source files

Support any custom agent

30 Mar 15:03
0735f80
Compare
Choose a tag to compare

Add possibility to customize scan agents depending on the Fossology instance.

Upload summary

30 Mar 15:05
Compare
Choose a tag to compare

Add GET endpoint about upload clearing summary.