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

V0.9.2 release: remaining issues? #363

Closed
guwirth opened this issue Jan 5, 2015 · 35 comments
Closed

V0.9.2 release: remaining issues? #363

guwirth opened this issue Jan 5, 2015 · 35 comments
Labels
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Jan 5, 2015

Hello all, which points are remaining to finish the V0.9.2 release?

Created some filters to track V0.9.2 changes:

@wenns
Copy link
Contributor

wenns commented Jan 5, 2015

Besides polishing of already merged stuff (C compatibility etc.) I think it is fair to merge the reactor / multi module thing: its is already sitting very long in the queue and is requested by both Jorge and Bert. But thats the last feature I want to merge in the 0.9.2-cycle. Time to test in production, gentlemen.

BTW: I've drafted the release procedure: https://github.com/wenns/sonar-cxx/wiki/Release-Procedure.

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 5, 2015

Tried to assign all issues to a milestone (0.9.2 or 0.9.3). Please correct if I did it wrong.

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 5, 2015

@wenns Not possible to set assignee lcintrat and Zetten. Maybe you have to configure this for the repository.

@wenns
Copy link
Contributor

wenns commented Jan 5, 2015

Should work now

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 5, 2015

POM is ready, contains all developers.

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 5, 2015

All issues and pull requests are assigned to developers and milestones.

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 5, 2015

@wenns will create this as draft in this issue or do you have it already?

  • compose a list of fixed bugs
  • compose a list of enhancements
  • don't forget to thank to the contributors

@wenns
Copy link
Contributor

wenns commented Jan 5, 2015

No I havent. Please focus on stuff which is actually relevant for users when you compose the lists.

@jmecosta
Copy link
Member

jmecosta commented Jan 6, 2015

started running in production code... so far no regressions..

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 6, 2015

Below a first draft for 0.9.2 enhancements. Still not complete at least xunit and multi-module missing. Please verify. Will provide another list with bugfixes.

enhancements

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 6, 2015

bugfixes

@jmecosta
Copy link
Member

jmecosta commented Jan 6, 2015

Looks very good

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 6, 2015

Thanks ....

go to all contributors (in alphabetical order):

@Bertk
@guwirth
@jmecosta
@lcintrat
@Typz
@Zetten

... and all people which were active on the Issue Tracker!

@wenns
Copy link
Contributor

wenns commented Jan 6, 2015

Superb ;)

@wenns
Copy link
Contributor

wenns commented Jan 7, 2015

Have extended the integration test documentation by an use case mind map.
https://github.com/wenns/sonar-cxx/wiki/Integration-test-suite
Helps to reason about things like the roadmap.

@wenns
Copy link
Contributor

wenns commented Jan 7, 2015

I've transverred the text snippets above to:
https://github.com/wenns/sonar-cxx/releases/tag/untagged-5e671789177ba72fd86b
Please edit there if necessary

@jmecosta
Copy link
Member

jmecosta commented Jan 7, 2015

What is perform static code analysis?

On Wed, Jan 7, 2015, 15:26 Waleri Enns notifications@github.com wrote:

I've transverred the text snippets above to:

https://github.com/wenns/sonar-cxx/releases/tag/untagged-5e671789177ba72fd86b
Please edit there if necessary


Reply to this email directly or view it on GitHub
#363 (comment).

@wenns
Copy link
Contributor

wenns commented Jan 7, 2015

The checks from the repos c++ SonarQube and c++ SonarQube Common.

@wenns
Copy link
Contributor

wenns commented Jan 7, 2015

I think I spotted a performance regression:

Sensor CxxRatsSensor...
15:50:08.432 INFO  - Sensor CxxRatsSensor done: 1174 ms
15:50:08.432 INFO  - Sensor CxxXunitSensor...
15:50:09.503 INFO  - Sensor CxxXunitSensor done: 1071 ms
15:50:09.504 INFO  - Sensor CxxCoverageSensor...
15:50:13.196 INFO  - Sensor CxxCoverageSensor done: 3692 ms
15:50:13.197 INFO  - Sensor CxxCppCheckSensor...
15:50:14.322 INFO  - Sensor CxxCppCheckSensor done: 1125 ms
15:50:14.323 INFO  - Sensor CxxVeraxxSensor...
15:50:15.140 INFO  - Sensor CxxVeraxxSensor done: 817 ms
15:50:15.140 INFO  - Sensor CxxValgrindSensor...
15:50:15.950 INFO  - Sensor CxxValgrindSensor done: 810 ms

I had no reports configured: the sensors spent each 1 s. doing basically nothing. Pretty sure it wasnt like that before.

@jmecosta
Copy link
Member

jmecosta commented Jan 7, 2015

I can check this to.

@wenns
Copy link
Contributor

wenns commented Jan 8, 2015

Happens on big projects, was due to the replacement of the Ant-based implementation with something other. Will just revert this commit. Ant, welcome back.

@jmecosta
Copy link
Member

jmecosta commented Jan 8, 2015

interesting... i have good results
20:51:53.977 INFO - Sensor CxxXunitSensor done: 44 ms
20:51:53.977 INFO - Sensor CxxCoverageSensor...
20:51:53.996 INFO - Sensor CxxCoverageSensor done: 19 ms
20:51:53.996 INFO - Sensor CxxCppCheckSensor...
20:51:54.003 INFO - Sensor CxxCppCheckSensor done: 7 ms
20:51:54.003 INFO - Sensor CxxVeraxxSensor...
20:51:54.011 INFO - Sensor CxxVeraxxSensor done: 8 ms
20:51:54.011 INFO - Sensor CxxValgrindSensor...
20:51:54.018 INFO - Sensor CxxValgrindSensor done: 7 ms

C:\Tekla\BuildTools\sonar-runner
SonarQube Runner 2.3
Java 1.7.0_71 Oracle Corporation (64-bit)
Windows 8.1 6.3 amd64

@wenns
Copy link
Contributor

wenns commented Jan 13, 2015

The performance hit was really obvious. It can be clearly seen in the code. The implementation has tried every single path under the basedir against the pattern. This is just not very smart. Should have noticed it earlier.

@wenns
Copy link
Contributor

wenns commented Jan 14, 2015

Guys, what did your testing say? Do I have an OK for releasing the current HEAD?

@jmecosta
Copy link
Member

I think so

On Wed, Jan 14, 2015, 02:51 Waleri Enns notifications@github.com wrote:

Guys, what did your testing say? Do I have an OK for releasing the current
HEAD?


Reply to this email directly or view it on GitHub
#363 (comment).

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 14, 2015

  • for boost unit test only simple mode can be used currently, but for me it is ok to support this with V0.9.3
  • final test with version from yesterday open from my side (doing it today)

@wenns
Copy link
Contributor

wenns commented Jan 14, 2015

Ok. I'll wait for another day or two. My own test in production can be considered as successful. Found one preprocessor issue (fixed) and one minor grammar issue (deferred).

@Zetten
Copy link
Contributor

Zetten commented Jan 14, 2015

The current HEAD (770abf8) looks good on my projects too - no unexpected changes in violations or metrics. Analysis seems very slightly quicker as well, but it could just be noise.

Due to my mixed-language modules I have to comment out the DependencyAnalyzer use in CxxSquidSensor, but everything else seems fine.

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 14, 2015

Did a test with SQ 4.5.2 (test database), sonar-runner 2.4, cxx 0.9.2 on Windows 7 x64

  • we ignore parsing errors and are not using any AST based functions yet
  • used functionality is ok => release

Settings:

# required metadata
sonar.projectKey=xxx
sonar.projectName=yyy
sonar.projectVersion=1.2.3

# no test of multi-language or multi-module
sonar.language=c++

# path to source directories
sonar.sources=.
sonar.cxx.includeDirectories=.

# special cxx settings
sonar.cxx.errorRecoveryEnabled=true
sonar.cxx.coverage.forceZeroCoverage=true
sonar.cxx.xunit.provideDetails=false
sonar.cxx.forceIncludes=VS10Macros.h

sonar.cxx.suffixes.sources=.c,.cpp
sonar.cxx.suffixes.headers=.h,.hh,.hpp,.inl
sonar.exclusions=**/_*.*,**/*_i.*,**/*_p.*,**/*Test*/**,**/*Example*/**,**/*Demo*/**,**/resource.h,**/*_obsolete/**,**/*_deprecated/**

# 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.xsltURL=boosttest-1.x-to-junit-1.0.xsl
sonar.cxx.xunit.reportPath=reports/*.test.boostd.exe.log.xml

@Bertk
Copy link
Contributor

Bertk commented Jan 14, 2015

I guess there is an issue with XPathCheck (cxx.checks) and visitFile method. I get results only if the matchFilePattern is empty. I use xpathQuery = //IDENTIFIER[@tokenValue='OutputDebugString']
and when I use matchFilePattern= **/*.cpp nothing is detected. It works without the matchFilePattern. The file pattern support should be removed.
I used SQ 4.5.2, Windows 7 64bit, JDK 1.7.u71, sonar-runner 2.4
Beside this issue - everything looks OK.

@guwirth
Copy link
Collaborator Author

guwirth commented Jan 14, 2015

See description: /**/*.cpp - matches all .cpp files in all directories (you have to define the root directory '/')

@wenns
Copy link
Contributor

wenns commented Jan 14, 2015

Guys, its done: https://github.com/wenns/sonar-cxx/releases/tag/cxx-0.9.2
Finally.
Thanks A LOT to all of you.
It was a quite busy chrismas offtime...

@wenns wenns closed this as completed Jan 14, 2015
@jmecosta
Copy link
Member

Thanks everyone also for the new release :)

@wenns
Copy link
Contributor

wenns commented Jan 15, 2015

Almost forgotten: There is one last point in the release procedure checklist: "Tweet/Announce". Can you guys do that on your channels?

@jmecosta
Copy link
Member

done, twitter and google+

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