[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: kate clang-format
From: Dominik Haumann <dhaumann () kde ! org>
Date: 2019-10-06 12:15:44
Message-ID: CALi_srAnfqMV02PE1ayeEBb36+NFJdmLz-9So0-w6MoZ-GLYSg () mail ! gmail ! com
[Download RAW message or body]
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@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
>
[Attachment #3 (text/html)]
<div dir="auto">Direct push is typically Christoph and me. But I don't see that a \
big issue: feel free to run clang-format any time.<div dir="auto"><br></div><div \
dir="auto">Best regards</div><div dir="auto">Dominik</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">Christoph Cullmann <<a \
href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> schrieb am So., 6. \
Okt. 2019, 13:47:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 2019-10-06 13:29, Albert Astals \
Cid wrote:<br> > El diumenge, 6 d'octubre de 2019, a les 13:17:54 CEST, Mark<br>
> Nauwelaerts va escriure:<br>
>> Hi All,<br>
>> <br>
>> Recently a .clang-format file was added to kate repo along with a <br>
>> reformat.sh<br>
>> helper script to suitably format all files. However, applying the <br>
>> latter script<br>
>> (again) shows a diff, where presumably the ideal intention is that <br>
>> there is no diff.<br>
>> <br>
>> So, maybe some sort of format/linting should or could be added? <br>
>> Perhaps by means<br>
>> of a git-commit hook, or some automated job (like translations) that<br>
>> auto-formats in case some author did not format accordingly?<br>
> <br>
> Since kate is in <a href="http://invent.kde.org" rel="noreferrer noreferrer" \
target="_blank">invent.kde.org</a> a CI job that makes sure the<br> > formatting \
is correct is the solution.<br> > <br>
> That way no commit will go in without being checked.<br>
> <br>
> Except for the people that do direct pushes ;)<br>
<br>
CI support would be great.<br>
<br>
At the moment just feel free to push the reformat commit.<br>
<br>
Greetings<br>
Christoph<br>
<br>
> <br>
> Cheers,<br>
> Albert<br>
> <br>
>> <br>
>> Regards,<br>
>> Mark<br>
>> <br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer noreferrer" \
target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" \
rel="noreferrer noreferrer" target="_blank">https://kate-editor.org</a><br> \
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic