[OISF/outreachy] Help running clang-format script

Juliana Fajardini Reichow jufajardini at gmail.com
Wed Oct 21 17:59:19 UTC 2020


Le mer. 21 oct. 2020 à 18:51, Janani Ramjee <janani6472 at gmail.com> a écrit :

> Hi Juliana,
> You will need to install git clang first, I guess. It can be done via the
> terminal, if you are using Ubuntu.
> Regards,
> Janani
>
> Hey Janani,

worked wonderfully!

Thanks :)



>
> On Wed, Oct 21, 2020, 11:16 PM Juliana Fajardini Reichow via Outreachy <
> outreachy at lists.openinfosecfoundation.org> wrote:
>
>> Hi all,
>>
>> I was trying to run clang-format to check exactly which parts of my code
>> formatting are not compliant, as suggested by "Formatting Check (clang
>> 9)" test
>> ERROR: Branch requires formatting
>> ERROR: View required changes with: clang-format.sh check-branch --diff
>> ERROR: Use clang-format.sh rewrite-branch or clang-format.sh branch to
>> fix formatting
>> Error: Formatting is not following code style guide!
>>
>> But I get an error:
>> ./clang-format.sh check-branch --diff
>> ERROR: None of git-clang-format-11 git-clang-format-10 git-clang-format-9
>> git-clang-format found
>>
>> I tried running it from within "scripts" folder and from suricata one,
>> and got the same error...
>>
>> If someone can help me understand how to run those, for future use, that
>> would be great! :)
>>
>> Thanks in advance,
>> Juliana
>>
>> --
>> Juliana Fajardini Reichow
>> _______________________________________________
>> Outreachy mailing list
>> Outreachy at lists.openinfosecfoundation.org
>> https://lists.openinfosecfoundation.org/listinfo/outreachy
>>
>

-- 
Juliana Fajardini Reichow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/outreachy/attachments/20201021/d47d081e/attachment.html>


More information about the Outreachy mailing list