1
0
Fork 0
Commit graph

97 commits

Author SHA1 Message Date
Christian Kühnel
f4f6f5881c removed redundant backslashes 2020-04-17 16:33:51 +02:00
Christian Kühnel
7b90806189 removing --ignore-whitespace --whitespace=fix from git apply
Now patches are applies as they are with whatever white space changes
they contain.

fixes #147
2020-04-17 16:33:26 +02:00
Christian Kühnel
140d9f6f59 changed Error to Info
fixes #155
2020-04-17 16:25:27 +02:00
Christian Kühnel
06ca090e8c fixes #149 2020-03-25 07:37:25 +01:00
Christian Kühnel
9f41b8768b added log output
To get more data to analyze #149
2020-03-25 07:26:55 +01:00
Christian Kühnel
2b3d0e127b Handle problems when unable to push to origin/master 2020-03-25 07:09:31 +01:00
Christian Kühnel
fe92469ae0 create branch for every diff
This should be compatible with the current pipelines.
2020-03-23 10:39:49 +01:00
Mikhail Goncharov
814517c89e add link to a full diff 2020-03-10 14:28:56 +01:00
Mikhail Goncharov
3ee08f18bc Ignore 'No relevant changes found.' text 2020-03-10 13:46:49 +01:00
Mikhail Goncharov
3bf868ec83 add link to build log 2020-03-10 13:07:26 +01:00
Mikhail Goncharov
dee5385784 Truncate clang-format comments
If clang format diff is longer that 11 lines only show first 10 and add
note about omitted ones.

for #144
2020-03-10 11:59:25 +01:00
Christian Kühnel
c3c8f039cf try fixing whitespaces 2020-02-24 17:25:47 +01:00
Mikhail Goncharov
70df407e0e Add name of build agent to summary 2020-02-19 17:48:51 +01:00
Mikhail Goncharov
c1396546e5 Remove empty lines at the end of clang-tidy report 2020-02-19 16:17:50 +01:00
Christian Kühnel
63ad2d1be6 retrying on phab.update_interfaces() 2020-02-19 12:08:18 +01:00
Christian Kühnel
22ce8e9632 handling broken XML files 2020-02-18 09:55:30 +01:00
Christian Kühnel
71240e7473 fixed types 2020-02-17 16:42:41 +00:00
Christian Kühnel
3b593e36cf no error message when no clang-tidy/format files given 2020-02-17 16:34:00 +00:00
ChristianKuehnel
f6ad5451a1
Improving phabtalk (#128)
* enabled dryrun for add_artifact
2020-02-17 10:23:47 +01:00
Christian Kühnel
2da32a0cdf using git apply
fixes problems for failing windows builds
2020-02-17 09:08:34 +00:00
Mikhail Goncharov
fd5c753c69 small style fixes 2020-02-07 14:50:47 +01:00
Mikhail Goncharov
6b6558e22c Add reason of failure on top of summary 2020-02-07 12:30:39 +01:00
Mikhail Goncharov
41581c95be format failed tests results 2020-02-07 09:04:41 +01:00
Mikhail Goncharov
6012e873b5 ignore successfull 4 byte clang tidy report 2020-02-07 08:16:35 +01:00
Mikhail Goncharov
490939a4b7 also retry 'update_indterfaces' 2020-02-07 08:12:51 +01:00
Mikhail Goncharov
144354bc04 Generate HTML summary instead of adding comment
+ reworked phab-talk, now it's a class instead of free functions
2020-02-06 16:49:42 +01:00
Mikhail Goncharov
0519b5a4e3 Attach artifacts to build
Generate test summary HTML
2020-02-06 14:24:31 +01:00
Mikhail Goncharov
f06f2e2f30 stage patch 2020-02-06 12:57:50 +01:00
Mikhail Goncharov
48934a35ed Retry API calls 2020-02-06 11:28:30 +01:00
Mikhail Goncharov
7ba1fd18ac Updates to apply-patch
- use other commit then master as a base

- recursively find dependent commits

- commit dependent changes before applying main diff
2020-02-05 10:01:13 +01:00
Christian Kühnel
e6f4f6be25 casting diff_id to str 2020-02-04 16:36:42 +01:00
Mikhail Goncharov
a56698da78 Pass commit argument 2020-02-04 14:24:07 +01:00
Mikhail Goncharov
cf69866178 Allow specifying base commit in apply_patch2
+ formatting changes and IDE warnings about types (e.g. str <-> int)
2020-02-04 14:19:45 +01:00
Mikhail Goncharov
0e3a315ca9 Manualy specify commit to base patch
useful for debugging
2020-02-03 14:21:57 +01:00
Christian Kühnel
d75abdd172 fixed type errors 2020-01-30 17:45:57 +01:00
Christian Kühnel
64e18e7f85 changed path to requirements.txt 2020-01-28 16:40:08 +01:00
Mikhail Goncharov
562adb1b90 fix format string 2020-01-23 18:01:07 +01:00
Mikhail Goncharov
241c1d7146 Fix requirements.txt 2020-01-23 15:43:21 +01:00
Mikhail Goncharov
429c70ddc9 fix links 2020-01-23 14:13:42 +01:00
Mikhail Goncharov
ce74784e48
Merge pull request #104 from google/bot-text
Update bot report
2020-01-23 13:36:20 +01:00
Mikhail Goncharov
a3f6610df2 Update bot report
- add links to join beta and report issue
- add link "not useful" to clang-tidy warning
- clang-tidy comment in report now tells how many inline comments were
  added
2020-01-23 13:35:40 +01:00
Christian Kühnel
9f3db2cc48 handling base revision not found
using master instead
2020-01-23 09:47:59 +01:00
Mikhail Goncharov
bf98f92a3d print current git commit info on checkout and while applying patch 2020-01-23 09:32:45 +01:00
Mikhail Goncharov
276978ff1f Ignore selected paths for clang-format and clang-tidy
Now clang-format report will skip files matching `clang-format.ignore`.
For now it's empty.

clang-tidy will not receive diffs for `clang-tidy.ignore` (it still can
produce warnings for these files).
In addition build bot will not will not post comments for files
that are matched by `clang-tidy-comments.ignore`. Now project/file should
be whitelisted to receive inline comments from clang-tidy.

Added all /test directories to `clang-tidy.ignore`.

Other alternatives considered:

- using 'compile_commands.json': does not contain header files.
- specifying -regex option to 'clang-tidy-diff': probably not the best
  experience of providing multiple rules and maintaining a single regex.
2020-01-22 19:05:36 +01:00
Mikhail Goncharov
f998580ba2 fix requirements.txt 2020-01-22 18:27:04 +01:00
Mikhail Goncharov
7e54c937c8 Add pathspec pip package. 2020-01-22 18:04:18 +01:00
Christian Kühnel
6dfeb6a728 using patch instead of "git apply" 2020-01-22 13:21:02 +01:00
Christian Kühnel
d99d32bdaa added git reset 2020-01-22 12:08:51 +00:00
Christian Kühnel
4bb77853ca Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks 2020-01-22 10:39:47 +00:00
Christian Kühnel
83e9732126 using given base revision 2020-01-22 11:39:20 +01:00