On 31.07.2013 12:54, Alexander Heusingfeld wrote:
discussion + code review sounds nice, let's go this way. I don't really care about technical details how actually there are tons of way to do it. But both should happen please just do it ;-)
I don't really care, just copied this from another plugin and replaced the name. If lgpl is better for us, just take it, if apache is better, well you know.One thing we really do need to agree upon though is the license we want to use for the future source code.
Actually I don't really use maven to build the plugin ;-) Well I have a pom.xml but it is used by another intellij plugin for just sync the deps to intellij. Afterwards it's built by IntelliJ in the standart way. This is my preferred way, why more complex? KISS ;-) Do we really need CI? We could also apply to convention, that if anyone share code, he runs all tests locally.A working travis CI build is IMHO very useful as a first validation of code contributions which are then build automatically.
Well I don't had really time for tests till now. Some one should take care about integration tests in intellij, I also would do it, if other features are done and I have time.
Oh did not really noticed, just confused of all those lists, sorry for that. Hm I use mygmail.com account and get mails well fromnabble.com. Looks working for me.
-- sent from a mobile device
Am 31.07.2013 um 14:16 schrieb Oleg Mayevskiy <omaye...@gmail.com>:On 31.07.2013 12:54, Alexander Heusingfeld wrote:discussion + code review sounds nice, let's go this way. I don't really care about technical details how actually there are tons of way to do it. But both should happen please just do it ;-)Perfect! IMO it's a matter of respect for each other that should make us discuss changes first!@George & Alpar do you agree?
I don't really care, just copied this from another plugin and replaced the name. If lgpl is better for us, just take it, if apache is better, well you know.One thing we really do need to agree upon though is the license we want to use for the future source code.
The questions are- What do we want to allow?- What do we want to prohibit?IMO we should allow binary distribution a.k.a. bundling but I'd like to make sure that all modifications are made available as OpenSource. Would you setup other or further implications?Based on this I will try to elaborate the differences between Apache Public License, Eclipse Public License and LGPL and discuss this in a separate mail thread.
Sorry for not being too clear on this:My personal target is to be able to use the plugin for Java, Groovy, Ruby and Clojure sources. As we also have a feature request for PHP and JavaScript, I would never want to exclude anything that Sonar can analyze!!So how is the "local analysis" feature meant to work? Like that:Currently Sonar's local analysis is run by starting Sonar in a separate JVM. This takes up a lot of time and memory! When I say "in-process local analysis" it means that Sonar analysis is run in the same JVM that IntelliJ/ WebStorm/ RubyMine are run in. This can be done because the SonarSource guys extracted the specific code which analysis violations inside Sonar into the so called "sonar-runner". This retrieves the configuration for the selected module from the remote Sonar server and executes the checks locally.The sonar-runner shouldn't be limited to Java as it's the same code which is used inside Sonar server. It just needs a JVM to run in.Alpar made a contribution to this SonarSource project because prior to version 2.3 a local analysis couldn't be aborted.Actually I don't really use maven to build the plugin ;-) Well I have a pom.xml but it is used by another intellij plugin for just sync the deps to intellij. Afterwards it's built by IntelliJ in the standart way. This is my preferred way, why more complex? KISS ;-) Do we really need CI? We could also apply to convention, that if anyone share code, he runs all tests locally.A working travis CI build is IMHO very useful as a first validation of code contributions which are then build automatically.
It's a large effort to setup environments for different IntelliJ versions just to be able to verify that one's contribution doesn't fail any test in any environment.This is even a greater barrier for one-time contributors which sometimes bring in very valuable contributions.
But that is exactly where a good CI process kicks in! The optimum in my point of view would be that each contribution a.k.a. pull-request (in the future) is build and validated against the current version of IntelliJ-community jars, the previous version and the latest EAP build.Currently this means we'd have three builds for IntelliJ11, 12 and 13 - always the latest release. At the moment I still believe this is realizable via Gradle and Git but I'll have to dig into this a little deeper.
Well I don't had really time for tests till now. Some one should take care about integration tests in intellij, I also would do it, if other features are done and I have time.I experienced that people have a different understanding of the term "integration tests". As we're talking about a plugin connecting to a remote server, I'd say an integration test would deal with exactly this: Check whether the above mentioned three plugins connect to different Sonar servers/ server versions. Unfortunately we'd need to have some hosted Sonar servers then.Could you give me your understanding?
Oh did not really noticed, just confused of all those lists, sorry for that. Hm I use mygmail.com account and get mails well fromnabble.com. Looks working for me.At the moment George and Alpar aren't signed up to the mailing list, yet, so we'll have to keep the firstpoint address in CC.Another point is that your replies ain't send to the list because you didn't create your personal mailto-address (you can check it here: http://sonar-intellij-plugin.55862.x6.nabble.com/, only my mails are send there)Short: nabble's usability sucks big time IMO!I created a forum at google groups as an alternative (see Cc):https://groups.google.com/forum/#!msg/sonarcube-intellij-plugin/Let's see how this works. All of you should receive this mail twice now! Once via Firstpoint and once via Google.
--CheersAlex
You received this message because you are subscribed to the Google Groups "SonarCube IntelliJ Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarcube-intellij...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarcube-intellij-plugin/90D7911C-38F9-4CE9-96CD-8D6230C45F98%40goldstift.de.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarcube-intellij-plugin/CAF1gAWtP8UuJceFuE7o%2BtEior90KUDVwfc6akva-zwJNUvRcMw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarcube-intellij-plugin/4AFA0903-1686-4205-A204-B12C9D02039A%40gmail.com.
Sorry for not being too clear on this:My personal target is to be able to use the plugin for Java, Groovy, Ruby and Clojure sources. As we also have a feature request for PHP and JavaScript, I would never want to exclude anything that Sonar can analyze!!So how is the "local analysis" feature meant to work? Like that:Currently Sonar's local analysis is run by starting Sonar in a separate JVM. This takes up a lot of time and memory! When I say "in-process local analysis" it means that Sonar analysis is run in the same JVM that IntelliJ/ WebStorm/ RubyMine are run in. This can be done because the SonarSource guys extracted the specific code which analysis violations inside Sonar into the so called "sonar-runner". This retrieves the configuration for the selected module from the remote Sonar server and executes the checks locally.The sonar-runner shouldn't be limited to Java as it's the same code which is used inside Sonar server. It just needs a JVM to run in.Alpar made a contribution to this SonarSource project because prior to version 2.3 a local analysis couldn't be aborted.
Actually I don't really use maven to build the plugin ;-) Well I have a pom.xml but it is used by another intellij plugin for just sync the deps to intellij. Afterwards it's built by IntelliJ in the standart way. This is my preferred way, why more complex? KISS ;-) Do we really need CI? We could also apply to convention, that if anyone share code, he runs all tests locally.A working travis CI build is IMHO very useful as a first validation of code contributions which are then build automatically.
It's a large effort to setup environments for different IntelliJ versions just to be able to verify that one's contribution doesn't fail any test in any environment.This is even a greater barrier for one-time contributors which sometimes bring in very valuable contributions.But that is exactly where a good CI process kicks in! The optimum in my point of view would be that each contribution a.k.a. pull-request (in the future) is build and validated against the current version of IntelliJ-community jars, the previous version and the latest EAP build.Currently this means we'd have three builds for IntelliJ11, 12 and 13 - always the latest release. At the moment I still believe this is realizable via Gradle and Git but I'll have to dig into this a little deeper.
Well I don't had really time for tests till now. Some one should take care about integration tests in intellij, I also would do it, if other features are done and I have time.I experienced that people have a different understanding of the term "integration tests". As we're talking about a plugin connecting to a remote server, I'd say an integration test would deal with exactly this: Check whether the above mentioned three plugins connect to different Sonar servers/ server versions. Unfortunately we'd need to have some hosted Sonar servers then.Could you give me your understanding?
Actually I don't really use maven to build the plugin ;-) Well I have a pom.xml but it is used by another intellij plugin for just sync the deps to intellij. Afterwards it's built by IntelliJ in the standart way. This is my preferred way, why more complex? KISS ;-) Do we really need CI? We could also apply to convention, that if anyone share code, he runs all tests locally.A working travis CI build is IMHO very useful as a first validation of code contributions which are then build automatically.
It's a large effort to setup environments for different IntelliJ versions just to be able to verify that one's contribution doesn't fail any test in any environment.This is even a greater barrier for one-time contributors which sometimes bring in very valuable contributions.But that is exactly where a good CI process kicks in! The optimum in my point of view would be that each contribution a.k.a. pull-request (in the future) is build and validated against the current version of IntelliJ-community jars, the previous version and the latest EAP build.Currently this means we'd have three builds for IntelliJ11, 12 and 13 - always the latest release. At the moment I still believe this is realizable via Gradle and Git but I'll have to dig into this a little deeper.
# Set the "sonar.dryRun" property to "true" to run a local analysis sonar-runner -Dsonar.dryRun= true |
# required metadata
-Dsonar.projectKey=my:project
-Dsonar.projectName=My project
-Dsonar.projectVersion=1.0
# path to source directories (required)
-Dsonar.sources=srcDir1,srcDir2
# The value of the property must be the key of the language.
-Dsonar.language=cobol
--
You received this message because you are subscribed to the Google Groups "SonarQube IntelliJ Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube-intellij...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube-intellij-plugin/adff96df-e159-4677-9715-49ebac75705c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SonarQube IntelliJ Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube-intellij...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube-intellij-plugin/7109cac3-fea3-417f-8cc2-1f3a6dea8e36%40googlegroups.com.