shijl0925 / python-sonarqube-api

Python Client library for interacting with Community, Developer, and Enterprise Editions SonarQube's REST APIs and SonarCloud's REST APIs.
https://python-sonarqube-pro-api.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
133 stars 76 forks source link

API breaking changes on 2.x not documented + previous packages wiped from everywhere #84

Closed xmsanchez closed 1 year ago

xmsanchez commented 1 year ago

I know this has similarities with this issue but I believe this is a more serious problem.

I do not really understand how it is possible that previous releases has been completely removed from everywhere and all the breaking changes are not mentioned anywhere. These changes broke functionality in a complex tool that we were close to put to production and the team is not confident anymore to use this library.

It's not my intention to blame no one, I just want to note that this is a problem that should be prevented.

In my opinion:

If I'm just missing something, please, I kindly apologize and I'd appreciate any clarification to understand it.

Again, it's not my intention to blame somebody! I appreciate all the effort from contributors to open-source, I want that to be clear :-)

tanaya-patil commented 1 year ago

I was currently looking out for v1.3.0 and I completely agree with @xmsanchez . Need some light to be thrown here.

shijl0925 commented 1 year ago

The Previous releases packages(from 1.2.3 to 1.3.7) has been remade and restored. such as: 1.3.7 , the link: https://pypi.org/project/python-sonarqube-api/1.3.7.post0/

xmsanchez commented 1 year ago

Great! Thanks a lot. By the way, what is the reason why the permissions class has disappeared in 2.x?

AttributeError: 'SonarEnterpriseClient' object has no attribute 'permissions'

This is one of the stoppers I have with the new version. Since there is no changelog describing the breaking changes I'm not sure if there's an alternative or not. I quickly searched the source code but I couldn't find it.

shijl0925 commented 1 year ago

you can find the permissions class in these packages low than 2.x.