Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Build clang-format patch #2065

Closed
La0 opened this issue May 2, 2019 · 3 comments
Closed

Build clang-format patch #2065

La0 opened this issue May 2, 2019 · 3 comments

Comments

@La0
Copy link
Contributor

La0 commented May 2, 2019

The remote workflow does not produce any clang-format diff patches anymore.
The clang-format task in-tree only produces a JSON payload compatible with our parser.

As our publication workflow does not produce inline comments for clang-format, and does not produce a patch anymore, nothing is publishable, so the bot does not publish any comment when only clang-format issues are detected on a patch. But the build status is fail !

This patch is also needed for future work on Lando, and should be available as an artifact on our task, and not from the analyzer itself (especially as we would have to run twice clang-format to get both JSON & DIFF outputs).

So we should build the diff version of the json patch in the bot.

@La0
Copy link
Contributor Author

La0 commented May 2, 2019

After discussion, it seems better to build the diff in the analyzer, as it takes the same time to build json+diff than just json (configure is reused !).

So i did a patch in mozilla-central that does just that.

I'm now working on exposing that patch from our own task

@sylvestre
Copy link
Contributor

sylvestre commented May 2, 2019 via email

La0 pushed a commit to La0/mozilla-relengapi that referenced this issue May 2, 2019
@La0 La0 closed this as completed in b8ff075 May 2, 2019
@La0
Copy link
Contributor Author

La0 commented May 3, 2019

In tree patch landed: https://hg.mozilla.org/mozilla-central/rev/f5f8345a5c87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants