Re: EBN Going Away

2020-05-09 Thread Nicolas Fella
On Donnerstag, 7. Mai 2020 10:39:44 CEST Ben Cooksley wrote:
> I believe Clazy recently gained support for doing that.

That is not entirely correct. I have made a proof-of-concept script that 
extracts warnings
from clazy and emits them in the code climate format 
(https://invent.kde.org/nicolasfella/
clazy_codeclimate/-/blob/master/clazy_codeclimate.py[1]), but it's not part of 
clazy and I'm
not sure I want it to be. After some adjustments it is now generic enough to 
extract all
clang warnings (from clang itself but also clang-tidy etc.) so clazy feels like 
the wrong
home to me. It should be possible to upstream it to code climate itself 
(https://
github.com/codeclimate/codeclimate/issues/707[2]), but that would require some 
work on
the "packaging"

Cheers

Nico


[1] https://invent.kde.org/nicolasfella/clazy_codeclimate/-/blob/master/
clazy_codeclimate.py
[2] https://github.com/codeclimate/codeclimate/issues/707


Re: EBN Going Away

2020-05-07 Thread Ben Cooksley
On Thu, May 7, 2020 at 3:16 AM Friedrich W. H. Kossebau
 wrote:
>
> Hi Allen.

Hi Friedrich,

>
> Am Mittwoch, 6. Mai 2020, 16:56:57 CEST schrieb Allen Winter:
> > In 2005 Adriaan and I setup a little service for improving code quality
> > which we named "The English Breakfast Network" (ebn.kde.org)
> >
> > Sometime soon the server that runs the EBN will be taken down
> > and I have no intention of moving it elsewhere.  We could have
> > jenkins take over if someone wants to take that on.
>
> Thanks for having provided that tool and the server. Countless commits
> pointing to "EBN" or "krazy" show that it served a lot to improve quality of
> the software done by KDE.
>
> Myself still have made visits to ebn.kde.org also recently, so a bit sad to
> see it go away now. Thus hoping someone(!=me) indeed will one day make the
> non-clazy-covered checks to reappear on KDE CI, for convenient browsing.

If someone is interested in this, i'd suggest looking into Gitlab's
Code Quality functionality
(due to partly move to CE - see
https://gitlab.com/gitlab-org/gitlab/-/issues/212499)

In essence, you would need Krazy to produce a file that is compatible
with the code climate format, which Gitlab is then able to process.
I believe Clazy recently gained support for doing that.

>
> > If you want to run krazy locally via command line see
> > https://community.kde.org/Guidelines_and_HOWTOs/Code_Checking
> >
> > The documentation sanitizer also has a command line interface
> > if someone is interested in documenting how to get it and use it.
> >
> > several Krazy checks can be done via Clazy these days, but not everything.
> > I plan to continue maintaining the Krazy tools as time permits.
>
> There is also a (unmaintained, but building at least) plugin for KDevelop:
> https://commits.kde.org/kdev-krazy2
>
> Cheers
> Friedrich
>
>

Cheers,
Ben


Re: EBN Going Away

2020-05-06 Thread Friedrich W. H. Kossebau
Hi Allen.

Am Mittwoch, 6. Mai 2020, 16:56:57 CEST schrieb Allen Winter:
> In 2005 Adriaan and I setup a little service for improving code quality
> which we named "The English Breakfast Network" (ebn.kde.org)
> 
> Sometime soon the server that runs the EBN will be taken down
> and I have no intention of moving it elsewhere.  We could have
> jenkins take over if someone wants to take that on.

Thanks for having provided that tool and the server. Countless commits 
pointing to "EBN" or "krazy" show that it served a lot to improve quality of 
the software done by KDE.

Myself still have made visits to ebn.kde.org also recently, so a bit sad to 
see it go away now. Thus hoping someone(!=me) indeed will one day make the 
non-clazy-covered checks to reappear on KDE CI, for convenient browsing.

> If you want to run krazy locally via command line see
> https://community.kde.org/Guidelines_and_HOWTOs/Code_Checking
> 
> The documentation sanitizer also has a command line interface
> if someone is interested in documenting how to get it and use it.
> 
> several Krazy checks can be done via Clazy these days, but not everything.
> I plan to continue maintaining the Krazy tools as time permits.

There is also a (unmaintained, but building at least) plugin for KDevelop:
https://commits.kde.org/kdev-krazy2

Cheers
Friedrich




EBN Going Away

2020-05-06 Thread Allen Winter
In 2005 Adriaan and I setup a little service for improving code quality
which we named "The English Breakfast Network" (ebn.kde.org)

Sometime soon the server that runs the EBN will be taken down
and I have no intention of moving it elsewhere.  We could have
jenkins take over if someone wants to take that on.

api.kde.org will be retained

If you want to run krazy locally via command line see
https://community.kde.org/Guidelines_and_HOWTOs/Code_Checking

The documentation sanitizer also has a command line interface
if someone is interested in documenting how to get it and use it.

several Krazy checks can be done via Clazy these days, but not everything.
I plan to continue maintaining the Krazy tools as time permits.


-Allen