kate clang-format

Dominik Haumann dhaumann at kde.org
Sun Oct 6 13:15:44 BST 2019


Direct push is typically Christoph and me. But I don't see that a big
issue: feel free to run clang-format any time.

Best regards
Dominik

Christoph Cullmann <christoph at cullmann.io> schrieb am So., 6. Okt. 2019,
13:47:

> On 2019-10-06 13:29, Albert Astals Cid wrote:
> > El diumenge, 6 d’octubre de 2019, a les 13:17:54 CEST, Mark
> > Nauwelaerts va escriure:
> >> Hi All,
> >>
> >> Recently a .clang-format file was added to kate repo along with a
> >> reformat.sh
> >> helper script to suitably format all files. However, applying the
> >> latter script
> >> (again) shows a diff, where presumably the ideal intention is that
> >> there is no diff.
> >>
> >> So, maybe some sort of format/linting should or could be added?
> >> Perhaps by means
> >> of a git-commit hook, or some automated job (like translations) that
> >> auto-formats in case some author did not format accordingly?
> >
> > Since kate is in invent.kde.org a CI job that makes sure the
> > formatting is correct is the solution.
> >
> > That way no commit will go in without being checked.
> >
> > Except for the people that do direct pushes ;)
>
> CI support would be great.
>
> At the moment just feel free to push the reformat commit.
>
> Greetings
> Christoph
>
> >
> > Cheers,
> >   Albert
> >
> >>
> >> Regards,
> >> Mark
> >>
>
> --
> Ignorance is bliss...
> https://cullmann.io | https://kate-editor.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20191006/148e24c7/attachment.html>


More information about the KWrite-Devel mailing list