aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-17drop "Android" from the Test error message am: e6f9679d01 am: b13c1acffdandroid-wear-8.1.0_r1android-vts-8.1_r9android-vts-8.1_r8android-vts-8.1_r7android-vts-8.1_r6android-vts-8.1_r5android-vts-8.1_r4android-vts-8.1_r3android-vts-8.1_r14android-vts-8.1_r13android-vts-8.1_r12android-vts-8.1_r11android-vts-8.1_r10android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90android-security-8.1.0_r89android-security-8.1.0_r88android-security-8.1.0_r87android-security-8.1.0_r86android-security-8.1.0_r85android-security-8.1.0_r84android-security-8.1.0_r83android-security-8.1.0_r82android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-cts-8.1_r9android-cts-8.1_r8android-cts-8.1_r7android-cts-8.1_r6android-cts-8.1_r5android-cts-8.1_r4android-cts-8.1_r3android-cts-8.1_r25android-cts-8.1_r24android-cts-8.1_r23android-cts-8.1_r22android-cts-8.1_r21android-cts-8.1_r20android-cts-8.1_r2android-cts-8.1_r19android-cts-8.1_r18android-cts-8.1_r17android-cts-8.1_r16android-cts-8.1_r15android-cts-8.1_r14android-cts-8.1_r13android-cts-8.1_r12android-cts-8.1_r11android-cts-8.1_r10android-cts-8.1_r1android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.1.0_r9android-8.1.0_r81android-8.1.0_r80android-8.1.0_r8android-8.1.0_r79android-8.1.0_r78android-8.1.0_r77android-8.1.0_r76android-8.1.0_r75android-8.1.0_r74android-8.1.0_r73android-8.1.0_r72android-8.1.0_r71android-8.1.0_r70android-8.1.0_r7android-8.1.0_r69android-8.1.0_r68android-8.1.0_r67android-8.1.0_r66android-8.1.0_r65android-8.1.0_r64android-8.1.0_r63android-8.1.0_r62android-8.1.0_r61android-8.1.0_r60android-8.1.0_r6android-8.1.0_r53android-8.1.0_r52android-8.1.0_r51android-8.1.0_r50android-8.1.0_r5android-8.1.0_r48android-8.1.0_r47android-8.1.0_r46android-8.1.0_r45android-8.1.0_r43android-8.1.0_r42android-8.1.0_r41android-8.1.0_r40android-8.1.0_r4android-8.1.0_r39android-8.1.0_r38android-8.1.0_r37android-8.1.0_r36android-8.1.0_r35android-8.1.0_r33android-8.1.0_r32android-8.1.0_r31android-8.1.0_r30android-8.1.0_r3android-8.1.0_r29android-8.1.0_r28android-8.1.0_r27android-8.1.0_r26android-8.1.0_r25android-8.1.0_r23android-8.1.0_r22android-8.1.0_r21android-8.1.0_r20android-8.1.0_r2android-8.1.0_r19android-8.1.0_r18android-8.1.0_r17android-8.1.0_r16android-8.1.0_r15android-8.1.0_r14android-8.1.0_r13android-8.1.0_r12android-8.1.0_r11android-8.1.0_r10android-8.1.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r34android-8.0.0_r33android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releasesecurity-oc-mr1-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-mr1-wear-releaseoreo-mr1-vts-releaseoreo-mr1-security-releaseoreo-mr1-s1-releaseoreo-mr1-releaseoreo-mr1-devoreo-mr1-cuttlefish-testingoreo-mr1-cts-releaseoreo-m8-releaseoreo-m7-releaseoreo-m6-s4-releaseoreo-m6-s3-releaseoreo-m6-s2-releaseoreo-m5-releaseoreo-m4-s9-releaseoreo-m4-s8-releaseoreo-m4-s7-releaseoreo-m4-s6-releaseoreo-m4-s5-releaseoreo-m4-s4-releaseoreo-m4-s3-releaseoreo-m4-s2-releaseoreo-m4-s12-releaseoreo-m4-s11-releaseoreo-m4-s10-releaseoreo-m4-s1-releaseoreo-m3-releaseoreo-m2-s5-releaseoreo-m2-s4-releaseoreo-m2-s3-releaseoreo-m2-s2-releaseoreo-m2-s1-releaseoreo-m2-releaseoreo-dr3-releaseoreo-dr2-releaseoreo-dr1-releaseoreo-dr1-devoreo-devoreo-cts-releaseMike Frysinger
am: 4c4e78c4d9 Change-Id: Ieb39066166697dad152805c5af7f64bc4a02e5c2
2017-02-17drop "Android" from the Test error message am: e6f9679d01android-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-o-iot-preview-5o-iot-preview-5Mike Frysinger
am: b13c1acffd Change-Id: I6254bc3fa081d9b1854eceeb259c68ad9447fcf5
2017-02-17drop "Android" from the Test error messageMike Frysinger
am: e6f9679d01 Change-Id: I3c818110688a01068380bdfd06794b85daff98b6
2017-02-17drop "Android" from the Test error messageandroid-o-preview-1o-previewMike Frysinger
Bug: 29606287 Test: read the message! Change-Id: I11ca39ff4b5d6fa294e8ad822ca2ba671002679c
2016-12-23Add support for automatic fixups to google-java-format am: d1fd88b71c am: ↵Luis Hector Chavez
1f99b7db96 am: 086a189a96 am: 7e74f70baf Change-Id: I0e57dd108fe8241c36c39ed1f255fb5b7a87f3df
2016-12-22Add support for automatic fixups to google-java-format am: d1fd88b71c am: ↵Luis Hector Chavez
1f99b7db96 am: 086a189a96 Change-Id: If603cc2ed6a2c0052f27ddde2e9d2a941b725c81
2016-12-22Add support for automatic fixups to google-java-format am: d1fd88b71cLuis Hector Chavez
am: 1f99b7db96 Change-Id: I718ee21301b434aac39692d1c1a4bc6fd81af5fa
2016-12-22Add support for automatic fixups to google-java-formatLuis Hector Chavez
am: d1fd88b71c Change-Id: I35b45f777e4162c8a54ce03c99ea1c8ec62442c1
2016-12-22Add support for automatically applying fixes am: dab680c723 am: b7b810ad5a ↵Luis Hector Chavez
am: 93bfe8098e am: d7f8346125 Change-Id: I81ae436edfa08a4b17d64ec6585a8f9ce8179ade
2016-12-22Add support for automatically applying fixes am: dab680c723 am: b7b810ad5aLuis Hector Chavez
am: 93bfe8098e Change-Id: I419d046461dc049d87e802070598a02ee313376d
2016-12-22Add support for automatically applying fixes am: dab680c723Luis Hector Chavez
am: b7b810ad5a Change-Id: I0d727560337555df5aaa340cc931da4f12db8111
2016-12-22Add support for automatic fixups to google-java-formatLuis Hector Chavez
Similar to git-clang-format, google-java-format supports the --fix flag and can trivially auto-fixup style violations. Bug: None Test: Ran hook Change-Id: Ia9a9aaab1a56a7db68030c6ca20289ec88ac8aa6
2016-12-22Add support for automatically applying fixesLuis Hector Chavez
am: dab680c723 Change-Id: Ie760c80e697b36f0f53be6c8350793a18ed14e51
2016-12-22Add support for automatically applying fixesLuis Hector Chavez
This change adds support for hooks to provide a mechanism to automatically fix any errors found in the hook's execution. This will currently only be attempted if the commit in question is the topmost in the list of commits to be sent (i.e. if it is HEAD) and there is a single fix available (since multiple fixes might interact badly with each other). This change also adds automatic fix support for the clang-format hook. Bug: 32570902 Test: clang-format can now auto-fix formatting Change-Id: I9214b7eb88548481feb639d8f8e70b3f57913dc0
2016-12-22Pass --skip-sorting-imports to google-java-format. am: 1b169302fe am: ↵Jeff Davidson
7aaaa82a25 am: d14131b6cc am: fca9989bf6 Change-Id: I157b09bd41d2963ee52fd40130ea8b6b2d917f33
2016-12-22Pass --skip-sorting-imports to google-java-format. am: 1b169302fe am: 7aaaa82a25Jeff Davidson
am: d14131b6cc Change-Id: Ifc6c135b20ededda8ef3a6928dec9c7aba942eb3
2016-12-22Pass --skip-sorting-imports to google-java-format. am: 1b169302feJeff Davidson
am: 7aaaa82a25 Change-Id: Id9b5a2f13c52f16c5a923ca7e72296ba8a650857
2016-12-22Pass --skip-sorting-imports to google-java-format.Jeff Davidson
am: 1b169302fe Change-Id: I3a16367d54e1591fe2bbdf009f99a11f0b8dc14a
2016-12-22Pass --skip-sorting-imports to google-java-format.Jeff Davidson
In the newest version of the formatter, imports are sorted by default. This would normally be fine, except that AOSP has a defined order that doesn't confirm to this style, which would lead to the formatter requiring a lot of changes and possibly introducing conflicts without a larger scale cleanup. So turn off this behavior. Projects that would prefer to sort their imports may specify the --sort-options arg in their PREUPLOAD.cfg files to revert to the default google-java-format behavior. Bug: 31552314 Test: Verified in local test repository Change-Id: I9e2df57ef472e7f2d1d4e795ba63559c1aacac67
2016-12-16Pass --skip-sorting-imports to google-java-format.Jeff Davidson
In the newest version of the formatter, imports are sorted by default. This would normally be fine, except that AOSP has a defined order that doesn't confirm to this style, which would lead to the formatter requiring a lot of changes and possibly introducing conflicts without a larger scale cleanup. So turn off this behavior. Projects that would prefer to sort their imports may specify the --sort-options arg in their PREUPLOAD.cfg files to revert to the default google-java-format behavior. Bug: 31552314 Test: Verified in local test repository Change-Id: I9e2df57ef472e7f2d1d4e795ba63559c1aacac67
2016-12-16Add a builtin repo hook to run google-java-format. am: 0f9d9f8609 am: ↵Jeff Davidson
b34b636e95 am: e6f64f7d49 am: 212e1d6e31 Change-Id: I98622341432fe4382e12b9160a646a16e027ed1a
2016-12-16Add a builtin repo hook to run google-java-format. am: 0f9d9f8609 am: b34b636e95Jeff Davidson
am: e6f64f7d49 Change-Id: Ifda8b115cd545a29c02fef508d42cd4c1d6ceda2
2016-12-16Add a builtin repo hook to run google-java-format. am: 0f9d9f8609Jeff Davidson
am: b34b636e95 Change-Id: I83fc24dfc9a6b5f8bb179b4d68e94385c3b5ae90
2016-12-16Add a builtin repo hook to run google-java-format.Jeff Davidson
am: 0f9d9f8609 Change-Id: I931fa782b7fc9b150929c212a70d4792c9d2213e
2016-12-15Add a builtin repo hook to run google-java-format.Jeff Davidson
Bug: 31552314 Test: Verified hook on a test project; unit test Change-Id: I1e4b2ff5f8285707d0fd3a4a14f65957fa21b273
2016-11-30Add more environment variables am: e9db4ebaf5 am: f6ce62d673 am: 1265b558b7Luis Hector Chavez
am: 55456e9f58 Change-Id: If92c92edea3033ff0c561ecbcf8906b746997a91
2016-11-30Add more environment variables am: e9db4ebaf5 am: f6ce62d673Luis Hector Chavez
am: 1265b558b7 Change-Id: I61152477ae2fdf01201b136e7dcfab8711da64fb
2016-11-30Add more environment variables am: e9db4ebaf5Luis Hector Chavez
am: f6ce62d673 Change-Id: I48baaccd5d7178624561f6c54461ee8c95c11de2
2016-11-30Add more environment variablesLuis Hector Chavez
am: e9db4ebaf5 Change-Id: Ie485d0b8af87859213804729f48330fd66ea7b3e
2016-11-30Add more environment variablesLuis Hector Chavez
This change adds REPO_LREV and REPO_RREV, both of which are set in `repo forall`[1]. This also updates the doc for REPO_REMOTE to reflect the reality since it does not always return the URL. 1: https://source.android.com/source/using-repo.html#forall Bug: 33219807 Test: Added a pre-upload that called `env`, saw new fields. Change-Id: Ifec0a3e05bc6832ead61baa5ccb0b5d2c29d948e
2016-11-10hooks: update clang-format tool documentation am: ec044d3e9b am: 335ed4f76a ↵Luis Hector Chavez
am: bee1fea3b2 am: 413eadc25b Change-Id: Ie7a52e953d8e97682401ef95f86ea8d51208b247
2016-11-10hooks: update clang-format tool documentation am: ec044d3e9b am: 335ed4f76aLuis Hector Chavez
am: bee1fea3b2 Change-Id: I57e14ac93082ac8b81a4222584b0de6827066419
2016-11-10hooks: update clang-format tool documentation am: ec044d3e9bLuis Hector Chavez
am: 335ed4f76a Change-Id: I1afa28e2da16cab083cefd486d17fd582a2a802d
2016-11-10hooks: update clang-format tool documentationLuis Hector Chavez
am: ec044d3e9b Change-Id: Ifc46b8d41e45fb60649181852f0c06c5d01ae5c7
2016-11-09hooks: update clang-format tool documentationLuis Hector Chavez
The false positive issue with the clang-format tool has been fixed, but the documentation still marks this as pending. This change updates the doc so it reflects reality. Bug: 32781972 Test: None Change-Id: Ida345fadcdac3a79ddce1bc620e51c8abfdb835e
2016-10-25unify helper vars across all sections am: b960818021 am: 90f1f4558c am: ↵Mike Frysinger
9f6c447004 am: 17fc41882e Change-Id: I8d3e074e58b14da099ffa527e9d561a838ccd512
2016-10-25unify helper vars across all sections am: b960818021 am: 90f1f4558cMike Frysinger
am: 9f6c447004 Change-Id: I43e894e0d4ddfe7f836fec2dd18f4a8b43e65be0
2016-10-25unify helper vars across all sections am: b960818021Mike Frysinger
am: 90f1f4558c Change-Id: I86e7ba2d84858f17fd6bf53afce3e9f55619ca8e
2016-10-25unify helper vars across all sectionsMike Frysinger
am: b960818021 Change-Id: Id1753c725abd6a8e5bb3a0c91d4cd60cbc5ea351
2016-10-21unify helper vars across all sectionsMike Frysinger
Make it easier for PREUPLOAD.cfg writers to access any of the replacement vars in different contexts rather than making them section-specific. Bug: 32317688 Test: a modified PREUPLOAD.cfg with $REPO_ROOT in Hook Scripts works Test: ran the new hooks_unittest! Change-Id: I20dac8eeff78ce4f062dbaf8f7354df420e82d7d
2016-10-21Merge "Add Tool Path for gofmt" am: a1fe889a64 am: 1943046070Dan Willemsen
am: 723744d58c Change-Id: I91a624c4dc2f8ff2471beabffeb16e707c596058
2016-10-21Merge "Add Tool Path for gofmt" am: a1fe889a64Dan Willemsen
am: 1943046070 Change-Id: I20529ee60d88996f853f586051f8dbc2d30926a1
2016-10-21Merge "Add Tool Path for gofmt"Dan Willemsen
am: a1fe889a64 Change-Id: I27493ebeb64c49390986b1fbb5c305f2e7e6bbe7
2016-10-21Merge "Add Tool Path for gofmt"Dan Willemsen
2016-10-21hooks: Improve the clang-format wrapper script am: 4913e578e8 am: 2c917a92f9Luis Hector Chavez
am: 6123b2f421 Change-Id: Iad28d39347bf5867af3a179bc9f63f71bffd669d
2016-10-21hooks: Improve the clang-format wrapper script am: 4913e578e8Luis Hector Chavez
am: 2c917a92f9 Change-Id: Iebee98b038d1b37fe31df4ca9cea5b36bc3305c8
2016-10-20hooks: Improve the clang-format wrapper scriptLuis Hector Chavez
am: 4913e578e8 Change-Id: Icb554159c5ee259e028e7b83f2927f5aa3b86ac0
2016-10-20Add Tool Path for gofmtDan Willemsen
We shouldn't be using the host install gofmt, but the one in the tree instead. Bug: None Test: repo upload w/Tool Path in GLOBAL-PREUPLOAD.cfg Change-Id: Icfceaeea4b8a77c54b7d90c7d7efa233be4a46ae
2016-10-18hooks: Improve the clang-format wrapper scriptLuis Hector Chavez
This change leverages upstream changes in git-clang-format to restrict diffs to a single commit instead of diffing from a commit to whatever is in the working tree. That mode of operation does not lend itself to an easy invocation to automatically fix any violations (since it requires the use of the --diff flag), so a --fix flag was also added to the wrapper script in order to automatically apply any changes that are needed to comply. Bug: 31305183 Test: repo upload Change-Id: I835f2e1923803ff8ac9aee451078e6c1c1dcc070
2016-10-18Add an option to ignore merged commits am: 5c4c293174 am: 5a82c5fd0eLuis Hector Chavez
am: a720538231 Change-Id: I26a9e9cd0285c5d72bb82c9aedc6d6e5d7ad2db7