Commit graph

8 commits

Author SHA1 Message Date
maxwen
a7d5f1f91b manifest: disable global commit_msg_test_field repohook check
stop requiring Test: in commit message this is useless
for us

Change-Id: I4a6a59cf31cf187f8ff93c7993f7106ec684667a
2018-12-17 00:09:44 +01:00
Igor Murashkin
67481c8fca manifest: add cpplint (google-styleguide), update repohooks toolpath
Bug: 68951293
Change-Id: I76ee129f19dbfbda4ea9abadcb2e280c107aefab
2017-11-15 15:21:45 -08:00
Jeff Davidson
a335958f39 Add google-java-format tools to GLOBAL-PREUPLOAD.cfg.
Bug: 31552314
Test: Verified on a sample project
Change-Id: Ie15d0233e186c61c8f65fb567614aeb754995cb1
2016-12-15 12:32:51 -08:00
Dan Willemsen
d23fc0630b Add pre-upload tool path for gofmt
Test: repo upload
Change-Id: I273b9d6a0cc3f25629f369616b8d62fccdaa0089
2016-10-20 16:53:52 -07:00
Luis Hector Chavez
94080d60ef Disable merged commit pre-upload checks by default
When merge-commits are uploaded to Gerrit, the merged commits have
usually either already been reviewed elsewhere (in another branch), or
may contain automatically-generated commits that would probably not pass
the pre-upload checks (e.g. lacking a Bug: tag). This change makes it so
that the merge commits are not checked by the hooks, but the
merge-commit itself is.

Bug: 31926893
Test: repo upload
Change-Id: Ic25127fdbaea651cd4bb14e250c26ffe9aa064ad
2016-10-20 23:51:24 +00:00
Luis Hector Chavez
162f854d3f Add Hook Options for clang-format
This allows individual projects to enable clang-format pre-upload hook
without worrying about the paths of the various tools.

Bug: 26800693
Test: Added a PREUPLOAD.cfg in external/minijail, got a warning.
Change-Id: Ia9ee738ad3305934e8e6ca50261f96ca3ab30852
2016-10-18 22:31:24 -07:00
Mike Frysinger
c7d80812c3 require the Test: field in commit messages
Bug: 29606287
Test: `repo upload` now requires Test: field in other repos
Change-Id: Ic465d211c2981f23f5d3d1b04153c70740942baa
2016-09-14 17:15:31 +00:00
Mike Frysinger
fb0c2bc4ec start a global config w/documentation
This doesn't turn on anything (yet), just includes some guidelines for
people who are thinking about changing/enabling things.

Bug: 29606287
Test: `repo upload` still works
Change-Id: I397f53aed417fe9bfd1a00dac2d0d5b380f66e10
2016-09-14 17:12:13 +00:00