Closed alpianon closed 3 years ago
@alpianon that's an interesting issue, thanks for raising that up!
I guess we need to create a way of supporting the last official version of Fossology API (currently 1.0.16) additionally to adding new features for the next release. Maybe by using an API version switch in the main Fossology object, latest would be use by default. This can easily be tested in CI by testing against different Fossology version (latest + last release).
I'll implement something and assign you to test.
Today I installed fossology-python on a new machine but while testing it I got the following error when trying to upload a package:
I realized that this is due to the fact that I am using fossology 3.9.0 (release) that supports API v.1.0.16 while latest version of fossology-python supports API v.1.1.1, which is incompatible with API v.1.0.16, and is not supported by any official release of fossology yet. Thus I am left with two options:
Both options would be sub-optimal for me.
I think that I should be better to have consistency between fossology and fossology-python releases, and to keep at least two development branches, one compatible with the latest fossology release (say, "stable" branch), and one compatible with the current master branch of fossology (say, "dev" branch) but with improvements and bug fixes backported to the stable branch.
Since I need it, I could help in maintaining the backport part.
What do you think?