On 21. 11. 23 16:50, Guillaume Smet wrote:
> Hey Jonathan,
>
> Thanks for reaching out. I'm a big fan of SonarQube (worked a lot with
> it at my previous company and even contributed to it a bit when it was
> still called Sonar).
>
> Sorry, I was on PTO when you sent your initial email and had a big pile
> of things waiting for me when I came back.
>
> I was the one who set up the initial analysis, IIRC, I had some issues
> and wasn't able to publish anything to Sonarcloud but didn't have much
> time to dig.
> I started the workflow manually to see what's the current status. We
> need to make it work before actually scheduling it.
> I will let you know how it goes.
>
> As for 2, I'm not exactly sure. @Martin Kouba <mailto:
mko...@redhat.com>
> I wonder if some ArC stuff could be a good start? IIRC, you sometimes
> display warnings (typically when injecting private members?) and that
> might be a good start as they should be pretty easy to implement.
Yes, we do log an INFO message if a private member is used (field
injection point, producer field/method, @PreDestroy callback, etc.).
And the rationale is explained in the docs:
https://quarkus.io/guides/cdi-reference#native-executables-and-private-members
>
> Thanks!
>
> --
> Guillaume
>
> On Sat, Nov 18, 2023 at 7:07 PM Jonathan Vila Lopez
> <
jonath...@gmail.com <mailto:
jonath...@gmail.com>> wrote:
>
> Hello
>
> How can we move on to the 2 topics?
>
> 1. Quarkus using SonarCloud to analyze the code
> * Quarkus already has the SonarCloud job in the pipeline but no
> branch assigned so it has never been executed.
> * Quarkusio has been already created as an organization in
> SonarCloud.io, but it doesn't have any project yet
>
> 2. Creation of rules to cover Quarkus best practices
>
> Best
>
> On Thu, Nov 2, 2023 at 2:55 PM Eric Deandrea <
edea...@redhat.com
> <mailto:
edea...@redhat.com>> wrote:
>
> As the primary maintainer of the sample app I'm happy to help
> contribute/integrate rules as well!
>
>
> Eric Deandrea
>
> Sr. Principal Technical Marketing Manager
>
> Red Hat <
https://www.redhat.com/>
>
>
edea...@redhat.com <mailto:
edea...@redhat.com> M:
>
978.237.4727 <tel:
978.237.4727>
>
> <
https://red.ht/sig>
> <mailto:
hcum...@redhat.com>> wrote:
>> I’m late to this party, but a huge +1 for getting some Quarkus
>> rules into Sonar*.
>>
>> If we do nothing else, we should also make sure that Sonar* is
>> running against the quickstart repo, to ensure our recommended
>> best practices and our samples are aligned. :)
>>
>> We have a bit of an advantage in Quarkus, because we do so
>> much at build time, so (in principle) we already catch the
>> most serious user errors during compilation. But I’m sure if
>> we put our heads together (and do an SME review of some
>> real-world apps) we could identify some common smells and
>> commonly-missed optimisations.
>>
>>
>> --
>> HollyCummins
>> Senior Principal Quarkus Software Engineer, Java Champion
>>
>> Red Hat<
https://www.redhat.com>
>>
>> <
https://www.redhat.com>
>>
>>
>>> On 1 Nov 2023, at 10:27, Jonathan Vila Lopez
>>> <
jonath...@gmail.com <mailto:
jonath...@gmail.com>> wrote:
>>>
>>> The perfect solution could be using SonarCloud, as it is free
>>> for opensource projects and has more features than SonarQube
>>> community edition.
>>>
>>> On Tue, Oct 31, 2023 at 11:28 PM Sergey Beryozkin
>>> <
sbia...@redhat.com <mailto:
sbia...@redhat.com>> wrote:
>>>
>>> Perhaps giving SonarQube a try as a Github Action can be
>>> done ? We currently have CodeQL upstream, so the outputs
>>> can be compared
>>>
>>> Thanks Sergey
>>>
>>> On Sat, Oct 28, 2023 at 12:44 PM Gaëtan Bloch
>>> <
gaetan...@gmail.com <mailto:
gaetan...@gmail.com>>
>>> wrote:
>>>
>>> Hello,
>>>
>>> Not that my opinion matters that much, but I would
>>> love to see this happening as a SonarQube/Lint/Cloud
>>> heavy user.
>>>
>>> If I can participate in any way, let me know.
>>>
>>> I'm currently working on this issue
>>> (
https://github.com/quarkusio/quarkus/issues/9602#issuecomment-1729398262 <
https://github.com/quarkusio/quarkus/issues/9602#issuecomment-1729398262>), but don't have much time during this end-of-year period.
>>> <
https://github.com/quarkiverse/>) would really
>>> benefit from such rules.
>>>
>>> Best Regards,
>>>
>>> George Gastaldi
>>>
>>>> On 27 Oct 2023, at 08:37, Jonathan Vila Lopez
>>>> <
jonath...@gmail.com
>>>> <mailto:
jonath...@gmail.com>> wrote:
>>>>
>>>> Hello
>>>>
>>>> <Intro>
>>>> I work for Sonar (SonarSource) a company that
>>>> produces 3 main projects: SonarQube, SonarLint,
>>>> and SonarCloud related to the detection of "bad
>>>> code" doing code static analysis and helping
>>>> teams to reduce bugs, and vulnerabilities, and
>>>> improving cleanliness.
>>>>
>>>> <Context>
>>>> These tools are mainly free and open source, at
>>>> least for Java. And in the case of open source
>>>> projects even the SaaS approach SonarCloud is
>>>> free including paid features not in the
>>>> community edition for SonarQube.
>>>>
>>>> Thesetools have rulesthat cover format, bugs,
>>>> vulnerabilities, and good practices.
>>>>
>>>> <Topics to discuss>
>>>> Currently,the JVM team has developed
>>>> severalrules
>>>> <
https://rules.sonarsource.com/java/tag/spring/>covering good practices for Spring Boot, and more are in development.
>>>>
>>>> I was wondering if the Quarkus team would be
>>>> interested in collaborating:
>>>> 1. In order to develop/help to develop those rules
>>>> 2. In order to use SonarCloud for free in the
>>>> analysis.
>>>>
>>>> Looking forward to hearing your thoughts.
>>>>
>>>> Best
>>>>
>>>> --
>>>> You received this message because you are
>>>> subscribed to the Google Groups "Quarkus
>>>> Development mailing list" group.
>>>> To unsubscribe from this group and stop
>>>> receiving emails from it, send an email
>>>>
toquarkus-de...@googlegroups.com
>>>> <mailto:
quarkus-dev...@googlegroups.com>.
>>>> To view this discussion on the web
>>>> visithttps://
groups.google.com/d/msgid/quarkus-dev/CAE8BUt6V2Z-56A%2B_cSybT9TndJbasDh0HoJu0UnSvCE_LP91NQ%40mail.gmail.com <
https://groups.google.com/d/msgid/quarkus-dev/CAE8BUt6V2Z-56A%2B_cSybT9TndJbasDh0HoJu0UnSvCE_LP91NQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>>>
>>>
>>> --
>>> You received this message because you are
>>> subscribed to the Google Groups "Quarkus
>>> Development mailing list" group.
>>> To unsubscribe from this group and stop receiving
>>> emails from it, send an email
>>>
toquarkus-de...@googlegroups.com
>>> <mailto:
quarkus-dev...@googlegroups.com>.
>>> To view this discussion on the web
>>> visithttps://
groups.google.com/d/msgid/quarkus-dev/FCDB1EF3-A02E-4AD0-9856-5A506112F72B%40redhat.com <
https://groups.google.com/d/msgid/quarkus-dev/FCDB1EF3-A02E-4AD0-9856-5A506112F72B%40redhat.com?utm_medium=email&utm_source=footer>.
>>>
>>>
>>> --
>>> You received this message because you are subscribed
>>> to the Google Groups "Quarkus Development mailing
>>> list" group.
>>> To unsubscribe from this group and stop receiving
>>> emails from it, send an email
>>>
toquarkus-de...@googlegroups.com
>>> <mailto:
quarkus-dev...@googlegroups.com>.
>>> To view this discussion on the web
>>> visithttps://
groups.google.com/d/msgid/quarkus-dev/CAKQVN%2BKq%2BjaHe1Y_Q3-boSra7ZacV6cihE%3D%2BBZJ6K5QhsrUZ-g%40mail.gmail.com <
https://groups.google.com/d/msgid/quarkus-dev/CAKQVN%2BKq%2BjaHe1Y_Q3-boSra7ZacV6cihE%3D%2BBZJ6K5QhsrUZ-g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the
>>> Google Groups "Quarkus Development mailing list" group.
>>> To unsubscribe from this group and stop receiving emails from
>>> it, send an email
toquarkus-de...@googlegroups.com
>>> <mailto:
quarkus-dev...@googlegroups.com>.
>>> To view this discussion on the web
>>> visithttps://
groups.google.com/d/msgid/quarkus-dev/CAE8BUt5YtACcE-FGYEw7zGyxcLRpyQu8PRFYxRrdaYOH9LxnQw%40mail.gmail.com <
https://groups.google.com/d/msgid/quarkus-dev/CAE8BUt5YtACcE-FGYEw7zGyxcLRpyQu8PRFYxRrdaYOH9LxnQw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>>
>> --
>> You received this message because you are subscribed to the
>> Google Groups "Quarkus Development mailing list" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send an email to
quarkus-dev...@googlegroups.com
>> <mailto:
quarkus-dev...@googlegroups.com>.
>> To view this discussion on the web visit
>>
https://groups.google.com/d/msgid/quarkus-dev/A4A1DC49-74AE-4547-8F4E-6888D306EF2D%40redhat.com <
https://groups.google.com/d/msgid/quarkus-dev/A4A1DC49-74AE-4547-8F4E-6888D306EF2D%40redhat.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
quarkus-dev...@googlegroups.com
> <mailto:
quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/quarkus-dev/CAE8BUt7hqpDe6fhi9a9CNvhB1LU-a%2BZgYzePBR6ScxCVhG75BQ%40mail.gmail.com <
https://groups.google.com/d/msgid/quarkus-dev/CAE8BUt7hqpDe6fhi9a9CNvhB1LU-a%2BZgYzePBR6ScxCVhG75BQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
--
Martin Kouba
Principal Software Engineer
Red Hat, Czech Republic