Rspec github repository is gone/private?

Hi, I am not sure where else to post this. Anyway,https://github.com/SonarSource/rspec repository seems gone (or private i don’t know). Is this permanent ? Is there an official communication on this or maybe the rspec has been moved somewhere else?

Thanks, Greg.

Hi Greg,

Welcome to the community!

Yes, we’ve made it private. I don’t have a lot of details for you. Official communication is in the works.

 
Ann

Hi again,

Okay, here’s the official statement:

The SonarQube rules site is currently unavailable as is the RSPEC repo. SonarQube users are able to view rules within the SonarQube console. We recognize the rules site and rspec repository are a valuable resource and will provide additional updates as available.

HTH,
Ann

Hello,

Can we have some update on when (or if?) the rules site and rspec repo will be back?

Or is there an alternative?

I was using the public rules website, it’s very handy to share some rules description with someone without access to a SonarQube console or accross organizations (or you know in a public forum like this one).

One example, I’m using SonarQube for IDE and I’m not always on a project with a SonarQube server behind. Being able to share a link from IDE would be great.

Cheers, Matt

Hi @mfillon,

There is no further update. The site was pulled to protect IP. It won’t be coming back.

The substitute is to use your org in SonarQube Cloud or your local instance of SonarQube as the reference.

 
Ann

I ended up here after finding the downstream effects of making the RSPEC repository/site private.

The SonarSource/SonarJS repo still contains many public links to sonarsource.github.io/rspec, which now redirect users through GitHub authentication instead of showing the rule documentation:

I signed up for this Discourse to figure out what happened to these public docs.

I count 923 sonarsource.github.io/rspec occurrences across 626 committed files in SonarJS alone. GitHub code search also finds another 420 files referencing it outside SonarJS.

Eg. these links are now broken in PMD’s public rule documentation:

I understand from the update above that the full RSPEC repository/site isn’t coming back because of the IP protection.

G Ann Campbell, if you know anyone at SonarSource involved in this decision, could you ask them if such an option would be possible: Would it be possible to provide a public subset containing only the public docs intended for users?

Eg. one suggestion off the top of my head:

  1. Keep the public-facing rule documentation as Markdown files directly in repositories such as SonarJS, similar to the rule docs that were previously maintained in eslint-plugin-sonarjs, and link to those files from the generated rules table, meta.docs.url, IDE integrations, etc.

    This would avoid needing to maintain a separate documentation site, while allowing granular exposure of public docs without making the internal RSPEC content public again.

Do you consider the rule descriptions IP or only the code detection?

Hi @blelkes-ob,

All of the above, apparently. :joy:

Honestly, I wasn’t part of the discussions around this. I can only tell you it was a strategic decision.

 
Ann

It’s even worse than the Rspec repo having gone private. I’ve noticed the SonarAnalyzer.CSharp .NET analyzer package has switched to a source-available license a couple of years ago, and is no longer Free Software/Open Source. :grimacing:

I’ve been using an outdated version of the package in my project and saw this now while working on upgrading. I’ll remove the SonarAnalyzer dependency.