Is a native packages repository still maintained?

Hello,
Just a quick question: do you plan to update the native packages repository? The latest available version to download is SonarQube 7.1. The repositody is (has been) maintained by Godin (Evgeny Mandrikov).

Cheers

1 Like

Hi Adam,

As I mentioned in the 7.2 announcement, there’s no 7.2 image on purpose. Why? Well, as you note, the repository has been maintained to date by Godin on an at-best basis. Then we had the packaging changes in 7.2 and the question became how to replace 1 package with 4.

Rather than making hasty decisions, we set the whole issue aside to give us time to look at incorporating this maintenance into our regular procedures.

HTH,
Ann

1 Like

The answer is perfect :blush: I just wanted to know if the project was abandoned :slight_smile:

Hi Ann,

do you have any information when current RPM packages will be available?

We would love to upgrade our SonarQube 7.1 (developer edition) instance to the current version, but using the ZIP-distribution is not an option for us.

Best regards
Stephan

Hi Stephan,

There will not be RPM packages for 7.2. Will there be RPM packages for 7.3 (imminent)? No. Not at initial release and not later. We’re not doing RPM packages, or Docker images, or… until we get a better handle on how we want to deal with non-zip distributions.

Ann

Would be interesting to get more details into why that is not an option!

Hi Nicolas,

using the package manager to install software on linux distributions is the standard way to go. It is less error prone than installing from a non-standard ZIP-distribution, needs less manual setup and is easier to update.

As the official installation guide explicitly mentions the native packages for Linux (https://docs.sonarqube.org/display/SONAR/Installing+the+Server#InstallingtheServer-installingWebServerInstallingtheWebServer), we chose this method to setup our server instance. Our internal update processes for our infrastructure rely on the package manager of the operating system (CentOS) and we do not want to change that.

Best regards
Stephan

Hi Stephan,

Thanks for pointing that out. I’ve edited the docs.

Ann

After wondering, why our sonar installation would not update anymore, I finally found this thread.

Could you please elaborate a little bit more what the problem is with creating updated packages? If there are no fundamental issues, I’m sure “the community” (including myself) is willing to help out with those packages.

I checked the SonarQube sources on github, but I did not find the package specs for RPMs and debian, it would be very easy to start from something existing.

Hi,

This started as someone’s off-hours side project. He wants a life now. Transferring it to a team responsibility is not something we take lightly. We’re planning to resume releasing Docker images for the community edition “soon”, but no current plans on RPM.

 
Ann

thanks for the clarification.

So just to be 100% sure I understand you correctly: there’s no way you can provide the source RPMs/debian package sources for the existing 7.1 package?

Because not needing to completely reinvent the wheel would tremendously help any potential efforts to revive the package building.

Hi,

To be crystal clear: we will not provide an RPMs/debian package for 7.1.

 
Ann

Hi,
If somebody wants to maintain RPM packages, then:

Cheers

yes, that’s where the stale packages are. But on sourceforge you only find the binary packages, but not the specs how to build them.

In order to easily revive building, the SRPMS (Source RPMS) should be provided, too, and the same goes for the debian build spec files, and they are not there.

But never mind, sorry for the noise, it just would have been a nice and easy starting point.

Instead, I will now have a look on how the guys at ArchLinux are building their package and will craft our own debian packages out of that.

Thanks.

You can find the specs on the github repository: https://github.com/Godin/sonar-native-packages

3 Likes

Bugger. Our IA folks tend to prefer the auditability of RPMs. Yeah, it wasn’t an “official” RPM, but, that the documentation used to link to it was “enough”.

Should be worth noting that having something - particularly a tool that’s used for security-related activities - provide in a verifiable packaging is a big plus. Always nice when your security scanners can do something basic like rpm -V and see if things are different than how the packaging thinks they ought to be (and validate that the installed packaging is the same as your designated source of truth).

Hi

Now we are at 7.9 LTS version, is there any plan for an official RPM ?

Thanks

One more reason for wanting an RPM package is for use within an RPM build system. Typically this uses the mock tool to build the source RPM within a chrooted environment with only the packages declared by BuildRequires stanzas in the specfile available to the build. Without a vendor provided RPM that can be referenced it falls to the end user to create an RPM from the tar distribution so that it can be added to the package set installed by mock for the build.

Any news on that?

https://pkgs.org/download/SonarQube seems to list some packages, but I have no idea where they came from.

Hi @brunojcm,

Welcome to the community!

…or any version after that.

We will, however, offer officially “supported” Docker images starting with 8.2 (E.T.A. any day now).

 
HTH,
Ann