[NEW RELEASE] SVG Badges plugin 1.2.0

63 views
Skip to first unread message

Michel Pawlak

unread,
Mar 12, 2016, 1:18:05 PM3/12/16
to SonarQube
Dear community,

I'm pleased to announce the release of SVG Badges plugin for SonarQube version 1.2.0. 

Important notes:
  • the web service url changed so you need to change the url of preexisting images
  • the key of the plugin changed from "status" to "badges" 
Questions to @Ann:
  • can you please add this new version to the update center ?
  • is there a way to handle the plugin key change in the update center (mark badges 1.2.0 as an update of status 1.1.0?)
  • can you please remove all older versions of the plugin from update center (I mean any occurrence of SVG Status plugin)?

Release Notes:
  • rename plugin to SVG Badges #13 (based on Fabrice Bellingard's suggestion)
  • change badge label from "quality" to "quality gate" #17 (based on David Racoon's idea)
  • replace "none" badge image by "not set"
  • change web service url from /api/status/image? to /api/badges/gate?
  • generate "not found" badge if no analysed project with provided key is found #11 (based on Ann Campbell's suggestion)
  • XSL transformation of generated SVG image in order to use client-friendly fonts #19
  • optimize SVG image weight #3
  • generate specific image when web service requires credentials #15 (reported by Fabrice Bellingard) 
  • adapt documentation

Requirements:
  • SonarQube 4.5.4+

Link to vote discussion: thread on SonarQube's google group
Link to release notes: release notes 1.2.0
Link to plugin binaries: qualinsight-sonarqube-badges-1.2.0.jar
Link to project page and documentation: SVG Status Plugin for SonarQube on GitHub
Link to project on Nemo: qualinsight-plugins-sonarqube-badges

Thanks to Ann, Fabrice, David for their feedback and suggestions.

Cheers,

Michel

G. Ann Campbell

unread,
Mar 14, 2016, 5:14:02 AM3/14/16
to SonarQube
On Saturday, 12 March 2016 19:18:05 UTC+1, Michel Pawlak wrote:
Questions to @Ann:
  • can you please add this new version to the update center ?
Of course. :-) 
  • is there a way to handle the plugin key change in the update center (mark badges 1.2.0 as an update of status 1.1.0?)
Nope. There are no facilities in the Update Center for this. Existing users will have no idea about the upgrade path unless they happen to see this thread.
 
  • can you please remove all older versions of the plugin from update center (I mean any occurrence of SVG Status plugin)?
 Easily.


It wasn't clear to me from your RC announcement that you were changing not just the published name of the plugin but also its key, and I didn't catch it in my testing. For the reason stated above, this change is regrettable. Before I try to sort through the UC changes to make this happen, I have to ask if it's possible that you might reconsider the key change and issue a point release with the old key restored.


Ann

Michel Pawlak

unread,
Mar 14, 2016, 5:30:12 AM3/14/16
to SonarQube
@Ann what about doing the following: release a minor 1.1.2 version that:
  • generates an image asking users to uninstall the plugin and to install the new version
  • logs at each api call that the administrator should replace the plugin by SVG Badges
Michel

G. Ann Campbell

unread,
Mar 14, 2016, 5:41:15 AM3/14/16
to Michel Pawlak, SonarQube
:-(

An upgrade that only yields error (okay deprecation) messages?



---
G. Ann CAMPBELL | SonarSource
Product Owner

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/VKjIsgogRW0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/7f0e07c3-9cc7-4bc9-b34b-d0d837172369%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

michel...@gmail.com

unread,
Mar 14, 2016, 6:05:48 AM3/14/16
to G. Ann Campbell, SonarQube
Well, I'll change the key then.

Michel Pawlak

unread,
Mar 14, 2016, 4:26:28 PM3/14/16
to SonarQube, michel...@gmail.com

G. Ann Campbell

unread,
Mar 15, 2016, 4:54:58 AM3/15/16
to Michel Pawlak, SonarQube
Hi Michel,

I've added this to the update center, but pointed it at the 1.2 release notes instead of the 1.2.1 release notes. I'm not sure this is "proper", but my concern is that if I point to the "revert plugin key value" release notes, existing users will miss the rather significant change of url that this version includes.


Ann



---
G. Ann CAMPBELL | SonarSource
Product Owner

G. Ann Campbell

unread,
Mar 15, 2016, 5:08:59 AM3/15/16
to SonarQube, michel...@gmail.com
I've also updated Nemo.

To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.

Michel Pawlak

unread,
Mar 15, 2016, 5:16:10 AM3/15/16
to SonarQube, michel...@gmail.com
Thanks, the result is nicer than the previous one:

David Racodon

unread,
Mar 31, 2016, 9:44:36 AM3/31/16
to Michel Pawlak, SonarQube
Hi,

I'd really like to see this plugin listed on http://docs.sonarqube.org/display/PLUG/Plugin+Library as it is now available in the Update Center.

Thanks

Regards,

David RACODON
Freelance QA Consultant

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/9a036e36-fdde-4814-849d-7382d048949a%40googlegroups.com.

G. Ann Campbell

unread,
Mar 31, 2016, 10:04:30 AM3/31/16
to David Racodon, Michel Pawlak, SonarQube
Thanks for the reminder, @David. Done.



---
G. Ann CAMPBELL | SonarSource
Product Owner

David Racodon

unread,
Mar 31, 2016, 10:16:44 AM3/31/16
to G. Ann Campbell, Michel Pawlak, SonarQube
Thanks Ann!

David RACODON
Freelance QA Consultant

Reply all
Reply to author
Forward
0 new messages