Mikhail Goncharov
453aa2ae84
Run clang-tidy and parse message
...
+ don't assume that clang-format has passed if there is no file.
If linters didn't run at all file will be missing.
+ add "gray" icon for the result if it's unknown.
+ assume whole build is failed if clang-format or clang-tidy found something.
+ combine multiple lint messages per line.
2019-12-17 11:00:30 +01:00
Mikhail Goncharov
8d390ff370
Refactor Phabricator report construction
...
Now report is constructed by adding more data from several stages and
represents internal structure rather what API expects.
+ Made all function that don't interact with phabricator free standing
+ Now links list all files in results directory
+ Status icons
Example comment: https://reviews.llvm.org/D71197#1779176 (links don't work).
2019-12-11 14:36:20 +01:00
Mikhail Goncharov
7faaec98e7
Attach diffs produced by git-clang-format as lint messages.
...
E.g.: https://reviews.llvm.org/D71197?id=233029
Will add a link to file and code to apply the patch in the next PR.
+ don't create TARGET_DIR in scripts;
+ updated section about local build;
+ partially specified inputs / outputs of scripts so it's more transparent what are the results;
+ added symlink to compile_command.json (clang-tidy will need it);
+ add IDEA files to .gitignore.
2019-12-11 08:55:38 +01:00
Christian Kühnel
59e5bb8ed2
improved logging
2019-11-22 11:03:05 +01:00
Christian Kühnel
6708a6a900
Improved error messages for apply_patch
...
fixes #56
2019-11-22 10:42:51 +01:00
Christian Kühnel
0be0498203
fix handling of compile errors
...
addresses #63
2019-11-21 15:04:39 +01:00
Christian Kühnel
3c0461255c
changed type of exception
2019-11-21 15:00:48 +01:00
Christian Kühnel
617f0db570
do not fail if log can't be crated
2019-11-18 17:19:13 +01:00
Christian Kühnel
8f72543819
printing message if patch successful
2019-11-18 17:07:31 +01:00
Christian Kühnel
65a9b864d2
running arc patch with --force
2019-11-18 17:02:24 +01:00
Christian Kühnel
b53b2110ef
fixed raise statement
2019-11-18 16:41:44 +01:00
Christian Kühnel
f8eaba6cf1
fixed bug in subprocess.run
2019-11-18 16:38:55 +01:00
Christian Kühnel
d028ac35b1
improved error handling for arc patch
2019-11-18 16:36:23 +01:00
Christian Kühnel
db831d4c0e
only posting non-empty comments
2019-11-18 16:22:43 +01:00
Christian Kühnel
c96a2d158c
making feedback upload more relaxed if files are missing
2019-11-18 16:00:14 +01:00
Christian Kühnel
cbf1bee7da
fixed imports
2019-11-18 12:17:06 +01:00
Christian Kühnel
1be0187f5e
fixed json output
2019-11-18 12:06:22 +01:00
Christian Kühnel
4ebb7edb11
fixed typo in var name
2019-11-18 11:51:10 +01:00
Christian Kühnel
b1dde01ac0
added phid to log output
2019-11-18 11:46:57 +01:00
Christian Kühnel
124b7fd445
fix issues in apply_patch.py
...
to fix #56
2019-11-18 11:45:08 +01:00
Christian Kühnel
48567c02fe
added retry on errors
2019-11-05 09:31:43 +01:00
Christian Kühnel
b99d01165e
fixed bug in git checkout script
2019-10-31 11:33:23 +01:00
Christian Kühnel
ba0f07ffb4
added status output
2019-10-24 09:41:19 -07:00
Christian Kühnel
a6abec98d4
handling missing test result file as failted build
2019-10-24 04:41:57 -07:00
Christian Kühnel
e59db9cbcd
added error handling to patch script
2019-10-23 06:39:24 -07:00
Christian Kühnel
86c9d08007
aded 'git clean' to the pipelines
2019-10-21 22:47:25 +02:00
Christian Kühnel
dddf48b57b
added fallback for applying patch
2019-10-21 22:41:37 +02:00
Christian Kühnel
195b9aaaab
removed quotes
2019-10-18 15:28:43 +02:00
Christian Kühnel
5256091070
trying without arguments
2019-10-18 14:57:28 +02:00
Christian Kühnel
554461f344
another try with different paths
2019-10-18 14:48:29 +02:00
Christian Kühnel
a33d2ce141
added script to apply arc patch
2019-10-18 14:32:14 +02:00
Christian Kühnel
ca68a7f47d
improved build result report
2019-10-17 17:11:17 +02:00
Christian Kühnel
e46b8172e0
added help for weird API
2019-10-16 13:52:29 +02:00
Christian Kühnel
b67aeb4714
added host parameter
2019-10-16 11:54:38 +02:00
Christian Kühnel
539dacd5b5
posting text comments and test results to Phabricator works #14
2019-10-15 18:12:19 +02:00
Christian Kühnel
4cb862a908
backup for github launch
2019-10-14 09:07:34 +02:00