Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Issue 111953007: Add clang-format binaries and scripts for all platforms (Closed)

Created:
7 years ago by ncarter (slow)
Modified:
5 years, 2 months ago
CC:
chromium-reviews, hinoka, awong
Visibility:
Public.

Description

Add clang-format binaries and scripts for all platforms. The binaries are hosted in Google storage, and pulled in via a runhook. Each included binary is roughly 1.1MB. The binaries referenced here were built from clang at revision 198831. On the wiki, I've started instructions for how to update the binaries in the future: https://code.google.com/p/chromium/wiki/UpdatingClangFormatBinaries Note that clang_format/scripts are copied here only as an expedience; once we have a proper mirror set up, we'll pull these via DEPS BUG=240309 TBR=brettw,phajdan.jr Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244372

Patch Set 1 #

Patch Set 2 : Fix the SHA hashes #

Total comments: 2

Patch Set 3 : New binaries, dropped linux32, added LICENSE file, added README.chromium, added link to wiki docume… #

Patch Set 4 : Remove extra clang-format-diff.py #

Patch Set 5 : It's 2014 #

Patch Set 6 : Fix stupid grammar. #

Patch Set 7 : Fix bug in DEPS #

Total comments: 4

Patch Set 8 : Resolve license check issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+403 lines, -8 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/clang_format/README.chromium View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
A + third_party/clang_format/README.txt View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
A third_party/clang_format/bin/linux/clang-format.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/clang_format/bin/mac/clang-format.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/clang_format/bin/win/clang-format.exe.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/clang_format/scripts/clang-format.el View 1 chunk +56 lines, -0 lines 0 comments Download
A third_party/clang_format/scripts/clang-format.py View 1 chunk +79 lines, -0 lines 0 comments Download
A third_party/clang_format/scripts/clang-format-bbedit.applescript View 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/clang_format/scripts/clang-format-diff.py View 1 2 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/clang_format/scripts/clang-format-sublime.py View 1 chunk +58 lines, -0 lines 0 comments Download
M tools/checklicenses/checklicenses.py View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
ncarter (slow)
7 years ago (2013-12-12 22:32:17 UTC) #1
Nico
\o/ Needs a third_party/clang_format/LICENSE file, other than that lgtm. How large are the binaries? Do ...
7 years ago (2013-12-12 22:51:21 UTC) #2
Nico
https://codereview.chromium.org/111953007/diff/20001/.gitignore File .gitignore (right): https://codereview.chromium.org/111953007/diff/20001/.gitignore#newcode209 .gitignore:209: !/third_party/clang_format/bin/*/*.sha1 Is this needed? gn doesn't have this
7 years ago (2013-12-12 22:51:34 UTC) #3
ncarter (slow)
Just responding, no fixes just yet -- the Windows binary (build with VS2013 using the ...
7 years ago (2013-12-12 23:06:45 UTC) #4
ncarter (slow)
PTAL
6 years, 11 months ago (2014-01-10 01:18:41 UTC) #5
Nico
lgtm Please add to the CL description that we want to pull the scripts from ...
6 years, 11 months ago (2014-01-10 01:27:41 UTC) #6
awong
LGTM Comments in clang-format-diff.py apparently should go to upstream. I'm writing them here, but feel ...
6 years, 11 months ago (2014-01-10 01:28:00 UTC) #7
ncarter (slow)
I tested the current version out on all three platforms, so I think this is ...
6 years, 11 months ago (2014-01-10 07:01:11 UTC) #8
Nico
On 2014/01/10 07:01:11, ncarter wrote: > I tested the current version out on all three ...
6 years, 11 months ago (2014-01-10 20:34:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nick@chromium.org/111953007/100001
6 years, 11 months ago (2014-01-10 20:53:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nick@chromium.org/111953007/100001
6 years, 11 months ago (2014-01-10 23:02:22 UTC) #11
Nico
:-( https://codereview.chromium.org/111953007/diff/100001/third_party/clang_format/README.chromium File third_party/clang_format/README.chromium (right): https://codereview.chromium.org/111953007/diff/100001/third_party/clang_format/README.chromium#newcode7 third_party/clang_format/README.chromium:7: License: NCSA I'm afraid you also need a ...
6 years, 11 months ago (2014-01-10 23:48:23 UTC) #12
ncarter (slow)
Such boilerplate, very enforcing, woww. I'll have a new patch up shortly. On Fri, Jan ...
6 years, 11 months ago (2014-01-11 01:06:24 UTC) #13
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=138644
6 years, 11 months ago (2014-01-11 02:06:54 UTC) #14
ncarter (slow)
I've updated README.chromium, and added a licensecheck.py suppression (as the editor scripts don't have copyright ...
6 years, 11 months ago (2014-01-11 03:23:47 UTC) #15
ncarter (slow)
On 2014/01/11 03:23:47, ncarter wrote: > I've updated README.chromium, and added a licensecheck.py suppression (as ...
6 years, 11 months ago (2014-01-11 03:26:57 UTC) #16
Nico
On 2014/01/11 03:23:47, ncarter wrote: > I've updated README.chromium, and added a licensecheck.py suppression (as ...
6 years, 11 months ago (2014-01-11 03:28:46 UTC) #17
ncarter (slow)
On 2014/01/11 03:26:57, ncarter wrote: > On 2014/01/11 03:23:47, ncarter wrote: > > I've updated ...
6 years, 11 months ago (2014-01-11 03:29:35 UTC) #18
Nico
Filed http://llvm.org/bugs/show_bug.cgi?id=18442
6 years, 11 months ago (2014-01-11 03:30:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nick@chromium.org/111953007/610001
6 years, 11 months ago (2014-01-11 03:32:40 UTC) #20
commit-bot: I haz the power
Change committed as 244372
6 years, 11 months ago (2014-01-11 22:40:11 UTC) #21
cmp
A revert of this CL has been created in https://codereview.chromium.org/135773002/ by cmp@chromium.org. The reason for ...
6 years, 11 months ago (2014-01-11 23:51:43 UTC) #22
cmp
In failing build, check_perms failed with this output: Found subversion checkout at /b/build/slave/Linux/build/src Processed 53854 ...
6 years, 11 months ago (2014-01-11 23:56:29 UTC) #23
Nico
Yeah, I had fixed this in http://src.chromium.org/viewvc/chrome?revision=244392&view=revision . Please check if stuff is already fixed ...
6 years, 11 months ago (2014-01-12 00:14:06 UTC) #24
Nico
6 years, 11 months ago (2014-01-12 00:14:12 UTC) #25
(And please revert your revert.)


On Sat, Jan 11, 2014 at 4:14 PM, Nico Weber <thakis@chromium.org> wrote:

> Yeah, I had fixed this in
> http://src.chromium.org/viewvc/chrome?revision=244392&view=revision .
> Please check if stuff is already fixed on trunk before reverting.
>
>
> On Sat, Jan 11, 2014 at 3:56 PM, <cmp@chromium.org> wrote:
>
>> In failing build, check_perms failed with this output:
>>
>>
>> Found subversion checkout at /b/build/slave/Linux/build/src
>> Processed 53854 files, 5431 files where tested for shebang/ELF header
>>
>> FAILED
>>
>> /b/build/slave/Linux/build/src/third_party/clang_format/
>> scripts/clang-format-diff.py:
>> Has shebang but not executable bit
>>
>>
>> https://codereview.chromium.org/111953007/
>>
>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698