Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFF V0.9.8 with SQ6.x #1196

Closed
guwirth opened this issue Aug 6, 2017 · 15 comments
Closed

RFF V0.9.8 with SQ6.x #1196

guwirth opened this issue Aug 6, 2017 · 15 comments
Assignees
Labels
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Aug 6, 2017

Hi everyone,

During the last month we added a lot of cool new features and bugfixes. Like to ask you to give us some feedback to V0.9.8.

  • Is someone already using the V0.9.8 snapshot?
  • Someone using already the new C plugin?
  • New sensors, clang support... ?
  • C++17 support... ?
  • With which SQ version?
  • On which operating system?

Changes in V0.9.8:
https://github.com/SonarOpenCommunity/sonar-cxx/issues?utf8=✓&q=milestone%3A0.9.8%20is%3Aclosed%20

Download latest snapshot from here:
https://ci.appveyor.com/project/SonarOpenCommunity/sonar-cxx/branch/master/artifacts

Looking forward to here from you...

Best regards,

@yachoor
Copy link
Contributor

yachoor commented Aug 9, 2017

I'm using sonar-cxx V0.9.8 snapshot with SonarQube 6.5 on Ubuntu 17.04 with C++98 projects (no C code), with:

  • google test for testing with xml reports added to cxx.xunit.reportPath
  • gcc + lcov + lcov_cobertura.py for coverage information for cxx.coverage.reportPath
  • cppcheck for cxx.cppcheck.reportPath
  • clang-tidy (nightly build) for cxx.clangtidy.reportPath with sonar.cxx.clangtidy.customRules added for rules not yet included in sonar-cxx plugin
  • clang (nightly build) report with -Weverything and gcc coverage build report included in cxx.compiler.reportPath (I used to add missing clang and clang-tidy warnings as GCC Custom Rules wtih Custom Rule Template, but it didn't allow for '-' in rule names so I had to replace '-' with '_' in build logs, now I use sonar.cxx.compiler-gcc.customRules)
  • oclint and cpplint reports included in cxx.other.reportPath and rules for them added in sonar.cxx.other.rules

@gena01
Copy link
Contributor

gena01 commented Sep 11, 2017

Any plans on creating some sort of test releases? How complete is the current state of master as far as 0.9.8 release is concerned? Anything major missing?

It seems that it's been >6 months since last release, this makes my testing a bit more extensive considering amount of changes made since that release.

@guwirth
Copy link
Collaborator Author

guwirth commented Sep 12, 2017

@gena01 my plan was to release together with next SQ LTS version 6.7 (https://github.com/SonarOpenCommunity/sonar-cxx/milestones).
My feeling is that there are still some features not stable, not documented, ...

But maybe it would help to collect the must have points for next release.
So to @ALL: Which open issues must be closed with next release? Currently these points are marked open (https://github.com/SonarOpenCommunity/sonar-cxx/milestones/0.9.8).

@guwirth
Copy link
Collaborator Author

guwirth commented Sep 12, 2017

@gena01 could you provide more information which parts of the cxx plugin you are using and you are thinking they are stable?

@guwirth
Copy link
Collaborator Author

guwirth commented Oct 2, 2017

@ALL next planned SQ LTS version is 6.7 end of October. My idea is to continue another two weeks by mid of October and close feature development for 0.9.8 then. I like to continue with two weeks stabilization.

The 0.9.8 is then the last version supporting 5.6 LTS (and if possible all between 5.6 to 6.7). After 0.9.8 I like to drop support for all versions before 6.7 LTS.

All like to have a feature in 0.9.8 should provide this by mid of October.

Does this fit? Like to hear your ideas to this...

@jfallot
Copy link

jfallot commented Oct 12, 2017

Sounds good, I am impatient to get this new release to let me upgrade to the latest SQ release (although I could try snapshots, I prefer to wait for a released version since I am currently not looking for new features of the sonar-cxx plugin).
In an ideal world, it would be great to have updates of the cxx plugin to be released more quickly to address SQ compatibility issues, while other pure sonar-cxx evolutions and minor fixes would be delivered through bigger sonar-cxx releases, but I know you are already doing lot of work!

@guwirth
Copy link
Collaborator Author

guwirth commented Oct 15, 2017

@ALL these are the remaining open issues for 0.9.8: https://github.com/SonarOpenCommunity/sonar-cxx/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.9.8.

Especially the grammar bugs are hard nuts. Help is welcome to close/fix them!

@guwirth
Copy link
Collaborator Author

guwirth commented Oct 22, 2017

@ALL plugin should also work with SQ 6.6

@guwirth
Copy link
Collaborator Author

guwirth commented Oct 28, 2017

@ALL final spurt with SQ 6.7 LTS

@guwirth
Copy link
Collaborator Author

guwirth commented Oct 29, 2017

first draft for 0.9.8 release notes
@ALL something missing / to be changed?

We are pleased to announce the SonarQube C++ Community Plugin version 0.9.8.
See lists below for features added and bugs fixed in this release.

SonarQube compability

Enhancements

Bugfixes

Know Issues

For an up to date list of known issues see the issue tracker.

  • V0.9.8 is not compatible with Java 9
  • Starting with SQ 6.2 there are some new metrics and some are no more available. Please have a look to the SonarQube release notes.

Thanks ....

go to all contributors (in alphabetical order):

@Bertk
@guwirth
@jmecosta
@Kochise
@gyorb
@nathanaelg
@gena01
@MarcAntoineCRUE
@Pasick
@stefanweiser

... and all people which were active on the issue tracker!

@guwirth
Copy link
Collaborator Author

guwirth commented Nov 10, 2017

@ALL I did some tests with

  • plugin 0.9.8 and SQ 5.6.4 on Windows 7:
  • tools: Cppcheck, VS 2015 warnings, Boost.Test, Bullseye Coverage and some others....

Tests are successful.

# required metadata (parameter for sonar-runner)
#sonar.projectKey=XXX
#sonar.projectName=XXX

# required metadata
sonar.projectVersion=a.b.c
sonar.language=c++

#links
sonar.links.ci=XXX

# disable SCM support
sonar.scm.disabled=true

# path to source directories (parameter for sonar-runner)
#sonar.sources=.
#sonar.tests=.

# global cxx plugin settings
sonar.cxx.errorRecoveryEnabled=true
sonar.cxx.coverage.forceZeroCoverage=true

# duplicate detection
sonar.cxx.cpd.ignoreLiterals=false
sonar.cxx.cpd.ignoreIdentifiers=false

# include directories
sonar.cxx.forceIncludes=VS10Macros.h
sonar.cxx.includeDirectories=.

# supported file extensions and exclusions
sonar.cxx.suffixes.sources=.c,.cpp
sonar.cxx.suffixes.headers=.h,.hh,.hpp,.inl
sonar.exclusions=XXXX

# paths to the reports
sonar.cxx.cppcheck.reportPath=.reports/cppcheck.xml
sonar.cxx.other.reportPath=.reports/cxx-*.xml
sonar.cxx.coverage.reportPath=.reports/coverage-*.xml
sonar.cxx.xunit.reportPath=.reports/*.test.boostd.exe.log.xml

# unit tests: simple mode, boost
sonar.cxx.xunit.provideDetails=false
sonar.cxx.xunit.xsltURL=boosttest-1.x-to-junit-1.0.xsl

@guwirth
Copy link
Collaborator Author

guwirth commented Nov 10, 2017

@ALL final testing with SQ 6.7 open. Like to release then. Are there any known issues?

@guwirth
Copy link
Collaborator Author

guwirth commented Nov 13, 2017

@ALL I'm finished my tests with v0.9.8 cxx plugin and SQ 6.7 LTS. I tested same sensors as mentioned above. For me it is working now. Think we still have gaps using Linux CI and Clang tools. Someone already working with it?

@valdiz777
Copy link

@guwirth I have been using the snapshot day to day on Centos 7 and Jenkins. Haven't had any issues so far

@guwirth
Copy link
Collaborator Author

guwirth commented Nov 14, 2017

@ALL will release v0.9.8 this evening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants