Christian Kühnel
e3b384dc7f
deleting recursively
2020-04-16 11:23:02 +02:00
Christian Kühnel
2850e18a47
using unlink
2020-04-16 11:15:40 +02:00
Christian Kühnel
66444f4952
checking existence before setting flags
2020-04-16 11:06:26 +02:00
Christian Kühnel
7521aeeda1
deleting read-only files
2020-04-16 10:30:39 +02:00
Christian Kühnel
b2c68fa9be
added better log message
2020-04-16 10:12:57 +02:00
Christian Kühnel
eaa931da8c
added secure delete function
2020-04-15 18:16:41 +02:00
Christian Kühnel
b8dcbcb273
added flang to automatic project selection
...
based on #159 , this will enable flang for beta testers
2020-04-15 17:59:02 +02:00
Christian Kühnel
e1a8db6108
removed stray print statement
2020-04-15 17:54:18 +02:00
Christian Kühnel
e77f46914c
write results on failures
2020-04-02 09:44:13 +02:00
Christian Kühnel
ace846991e
added testing option
...
this does not start the agent
2020-04-02 08:42:08 +02:00
Christian Kühnel
2f25035eb7
exclude for virus scan
2020-04-01 17:36:03 +02:00
Christian Kühnel
6d9b38c62a
wait for folder to be deleted
...
should fix issues with existing folder on windows
2020-04-01 16:29:19 +02:00
Christian Kühnel
0a7b6daabf
added dryrun flag
2020-04-01 14:17:49 +02:00
Christian Kühnel
0e84fd14bb
gettig stats from buildbots
2020-03-31 16:56:35 +02:00
Christian Kühnel
51e01caa5d
excluding debuginfo-tests as tests are failing
2020-03-27 14:19:52 +01:00
Christian Kühnel
4465b0fc52
changed output paths of lint.sh
2020-03-26 10:19:20 +01:00
Christian Kühnel
580d4ba63c
fixed linter script
...
now support staging area and HEAD~1
2020-03-26 09:47:45 +01:00
Christian Kühnel
3f81b7fb2a
changed startup type for docker
2020-03-25 16:12:31 +01:00
Christian Kühnel
8fd5aa6550
SSD seems to have a new name...
2020-03-25 16:00:57 +01:00
Christian Kühnel
248a27b2c2
fixed ordering of commands to test git pull
2020-03-25 12:42:03 +00:00
Christian Kühnel
1df9edbd78
logging more data
2020-03-25 12:34:22 +00:00
Christian Kühnel
9a1988fece
simplified benchmark steps
2020-03-25 11:40:51 +01:00
Christian Kühnel
188cb427f9
using default cmake targets
2020-03-25 11:21:45 +01:00
Christian Kühnel
9d17569b80
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-03-25 09:51:02 +00:00
Christian Kühnel
b212480d76
added missing cmake steps
2020-03-25 09:50:58 +00:00
Christian Kühnel
ff730bd3a4
removed unused benchmark.ps1
2020-03-25 10:41:39 +01:00
Christian Kühnel
ad685d68d5
using own Remove command
...
Shutil failed on windows
2020-03-25 09:41:19 +00:00
Christian Kühnel
cc3a1ffb57
added remove steps
2020-03-25 09:25:50 +00:00
Christian Kühnel
c0879efea1
first draft of benchmark script
...
to be used for performance tuning Windows builds
2020-03-25 09:07:28 +01:00
Christian Kühnel
06ca090e8c
fixes #149
2020-03-25 07:37:25 +01:00
Christian Kühnel
67a9698557
printing CMake arguments before execution.
...
Should help analyzing problems.
2020-03-25 07:35:03 +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
7023688d1b
fixxed choose_project for legagacy usage
2020-03-24 08:27:43 +00:00
Christian Kühnel
4492534331
creating symlink for compile_commands.json
2020-03-23 17:46:21 +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
ChristianKuehnel
a638dd5342
migrate scripts to python ( #148 )
...
* run_cmake.py working locally on Linux
* added os detection of choose_projects
* cmake works on windows
* run_ninja works on windows
* fixed newline characters
2020-03-23 09:03:24 +01:00
Christian Kühnel
5f2b26d44c
added raw data export
2020-03-19 09:44:41 +01:00
Christian Kühnel
bfdf97e10a
added reviews per path
2020-03-18 14:18:07 +01:00
Christian Kühnel
02493d440d
fine tuning of metrics
2020-03-17 11:22:55 +01:00
Christian Kühnel
75d432e913
added documentation, fixed constructor
2020-03-13 16:58:12 +01:00
Christian Kühnel
5f4983f824
Extended documentation of status quo.
2020-03-13 16:57:37 +01:00
Christian Kühnel
cc0058c17e
Improved sync script to consider individual diffs.
2020-03-13 13:50:30 +01:00
Christian Kühnel
1d171c0252
creating pull requests works
2020-03-13 13:50:30 +01:00
Christian Kühnel
4aed7decc3
creating branches working
2020-03-13 13:50:30 +01:00
Christian Kühnel
bed16617e7
cloning repo works
2020-03-13 13:50:30 +01:00
Christian Kühnel
0861e0ed25
added outline of the idea
2020-03-13 13:50:30 +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
2fc3174a5c
fix empty line removal for clang-tidy #136
2020-03-10 13:21:12 +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
7131ef705c
ignoring case in emails
2020-03-09 09:34:52 +01:00
Christian Kühnel
2975323644
added statistic on committer domains
2020-03-09 09:31:25 +01:00
Christian Kühnel
2eedd55b2b
first jenkins statistics
2020-02-28 11:31:14 +01:00
Christian Kühnel
d1029befcc
added first statistics for Jenkins
2020-02-27 23:54:54 +01:00
Alex Brachet
b8a3b31b48
Add libc to Pre-merge checks ( #140 )
2020-02-27 00:52:06 +01:00
Christian Kühnel
289d1c1205
added diffs
2020-02-24 17:54:11 +01:00
Christian Kühnel
c3c8f039cf
try fixing whitespaces
2020-02-24 17:25:47 +01:00
Christian Kühnel
56d9ec34ab
implemented Phabricator metrics
2020-02-24 16:38:29 +01:00
Christian Kühnel
14aaab86b1
upgrade gitpython to 3.0.6
...
fixed #137
2020-02-24 15:04:46 +00:00
Christian Kühnel
655f151bb8
first shot at getting build data from Phabricator
2020-02-21 13:20:33 +01:00
Christian Kühnel
814cd775bc
script to get statistics from git repo
2020-02-21 13:19:11 +01:00
Christian Kühnel
3d3de17eb0
first version of git history evaluation
2020-02-20 19:04:34 +01:00
Christian Kühnel
3debb3046c
code cleanup
2020-02-20 19:04:34 +01:00
Christian Kühnel
7fe1682620
start in background
2020-02-20 16:44:47 +00:00
Christian Kühnel
ee2d99ebd2
made master allow version numbers
2020-02-20 15:25:23 +00:00
Christian Kühnel
d91c7b653a
flag to pick master
2020-02-20 15:24:09 +00: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
b17bd93438
fixed division by zero problem
2020-02-18 13:37:13 +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
Christian Kühnel
1c53d6ee86
added number of reviewed commits
2020-02-17 16:18:58 +01:00
Christian Kühnel
a2973f0f79
gathering data for reverts
2020-02-17 15:30:10 +01:00
Christian Kühnel
29c4333033
fixed initialisation
2020-02-17 14:55:10 +01:00
Christian Kühnel
ad0ad7ccc5
counting failed builds on buildbots
...
storing results on Stackdriver
2020-02-17 14:27:59 +01:00
ChristianKuehnel
16952faa46
Proposal for metrics ( #127 )
...
* First draft for metrics
2020-02-17 10:39:53 +01:00
ChristianKuehnel
f6ad5451a1
Improving phabtalk ( #128 )
...
* enabled dryrun for add_artifact
2020-02-17 10:23:47 +01:00
Christian Kühnel
2c36c12b93
remove llgo
2020-02-17 09:19:55 +00:00
Christian Kühnel
2da32a0cdf
using git apply
...
fixes problems for failing windows builds
2020-02-17 09:08:34 +00:00
Christian Kühnel
a5f6516d71
re-enabled mlir
2020-02-11 11:54:22 +00:00
Christian Kühnel
64c68f1671
blacklisted more failing tests
2020-02-11 09:23:24 +01:00
Christian Kühnel
c7608ce4df
blacklisting mlir
2020-02-10 18:14:51 +01:00
Christian Kühnel
f588cdf43d
changing git diff after changes were committed
2020-02-10 16:28:41 +01: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
1859a7d4d3
trying to fix partial test XML
2020-02-06 17:48:36 +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
9cc6ccd98d
fix filename
2020-02-06 12:02:09 +01:00
Mikhail Goncharov
48934a35ed
Retry API calls
2020-02-06 11:28:30 +01:00
Mikhail Goncharov
b7c2b82685
debugging of test-results.xml parsing
2020-02-06 11:19:16 +01:00
Christian Kühnel
80c544a820
added quotes
2020-02-05 14:27:08 +01:00
Christian Kühnel
abb35c5f85
removed compiler-rt
2020-02-05 10:49:12 +00: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
ee420f2911
added comment
2020-02-04 15:55:24 +00:00
Christian Kühnel
25f69e6646
enabled more projects again
2020-02-04 15:55:04 +00:00
Christian Kühnel
1c8f5b3af3
removed defualt projects
...
as it's not used
2020-02-04 15:47:35 +00:00
Christian Kühnel
dfce0a7e0f
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-02-04 15:46:28 +00:00
Christian Kühnel
f6c03178a8
blacklisting openmp
2020-02-04 15:45:59 +00: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
7e51fbcd8f
Merge pull request #117 from google/apply-patch
...
Manually specify commit to base patch
2020-02-04 13:45:02 +01:00
Christian Kühnel
227fc437ca
reduced projects for diagnosis
2020-02-04 10:52:13 +00:00
Christian Kühnel
72d19f028d
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-02-04 07:51:56 +00:00
Christian Kühnel
c044513366
added missing quotes
2020-02-04 07:51:52 +00:00
Christian Kühnel
9519489e51
hard coded vs compiler
2020-02-04 07:49:00 +00:00
Christian Kühnel
d7a15da853
fixed comment
2020-02-04 08:31:03 +01:00
Christian Kühnel
50c20dc029
removed libcxx
2020-02-04 08:29:43 +01:00
Christian Kühnel
e653549be4
removed libc
2020-02-04 07:57:13 +01:00
Christian Kühnel
9a97377a5a
reduced projects for windows
2020-02-04 07:33:06 +01:00
Christian Kühnel
3f52cf22b7
lessonsn learned from next agent
2020-02-03 15:25:08 +01:00
Christian Kühnel
ec0bd27c97
creating folder on empty SSD
2020-02-03 14:30:34 +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
1bd9c4c4a9
removed print statement
2020-02-03 14:19:23 +01:00
Christian Kühnel
4f4f60cfe4
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-02-03 13:10:06 +00:00
Christian Kühnel
a112bff1a0
added libcxxabi to excludes
2020-02-03 13:09:55 +00:00
Christian Kühnel
ed886a7da2
adding dependencies to project selector
2020-02-03 13:42:19 +01:00
Christian Kühnel
96e82e4354
blacklisted libunwind
2020-02-03 10:38:49 +00:00
Christian Kühnel
c7d2686251
fixed problems with configuring projects on Windows
2020-01-31 17:29:47 +00:00
Christian Kühnel
df79c3c6a6
added flag to select projects
2020-01-31 11:56:34 +00:00
Christian Kühnel
1af59cc965
added logging
2020-01-31 10:53:51 +00:00
Christian Kühnel
84a39ba079
added missing projects to windows build
2020-01-31 11:34:09 +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
ChristianKuehnel
0272b27c28
detect projects affected by a change ( #113 )
...
first proposal for affected projects detection
2020-01-28 16:39:53 +01:00
Christian Kühnel
683ee1371b
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-01-27 15:43:43 +00:00
Christian Kühnel
ce5b4d462a
improved benchmark script
...
We should probably do this in python so we can use it cross-platform...
2020-01-27 15:43:32 +00:00
Mikhail Goncharov
563a115006
fix git diff #108
2020-01-24 09:06:40 +01:00
Mikhail Goncharov
562adb1b90
fix format string
2020-01-23 18:01:07 +01:00
Mikhail Goncharov
46978536f0
remove compile_commands.json before creating a new
2020-01-23 16:27:28 +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
b8872caaa6
fixed container start script
2020-01-23 13:07:30 +01:00
Christian Kühnel
ebdda6fdc6
updated start script
2020-01-23 10:33:56 +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