Daniel Marjamäki
d95d884bba
donate-cpu: try to handle socket error better when getting package
2018-11-14 21:41:16 +01:00
Daniel Marjamäki
2d61ca8883
donate-cpu: try to handle OSError when unpacking a tar file
2018-11-12 14:45:39 +01:00
Armin Müller
acf2035a53
Typos found by running "codespell" ( #1461 )
2018-11-03 07:34:27 +01:00
amai2012
39c2625789
Run check for missing CWE entries on travis.
2018-10-22 13:14:48 +02:00
Christian Franke
f228897641
make: Add uninstall target
2018-10-19 09:49:44 +02:00
rikardfalkeborn
c9f768a915
donate_cpu: use https url ( #1429 )
...
Avoids git printing a warning about redirecting to https every time
the clone command is issued. The warning was:
warning: redirecting to https://github.com/danmar/cppcheck.git/
2018-10-17 06:14:06 +02:00
Daniel Marjamäki
f72847530e
Donate CPU: make server more robust when latest results are missing
2018-10-15 11:01:51 +02:00
Daniel Marjamäki
12c81ac0bf
Remove deprecated daca scripts
2018-10-14 16:42:49 +02:00
Daniel Marjamäki
441d50df25
donate-cpu: use 1.85 as base version
2018-10-14 16:31:13 +02:00
Carlo Marcelo Arenas Belon
9d73cf08bc
tools: allow short SHA1 longer than 7 ( #1399 )
...
newer versions of git use a variable lenght proportional to the
repository size (9 for cppcheck)
remove old chomp helper function and make copying the revision
smarter to hopefully cover for edge case that needed it
2018-09-28 19:04:39 +02:00
amai2012
b6103d15a6
#8711 Run Makefile target validateXML on travis
2018-09-24 14:27:02 +02:00
amai2012
cf8523b198
#8711 Extend XML being generated to validate the XML output format by adding an unmatchedSuppression. Also use proper cppcheck executable to generate them
2018-09-24 13:13:05 +02:00
LE GARREC Vincent
2675793e31
Missing return value in git-pre-commit-cppcheck ( #1382 )
2018-09-21 04:56:53 +02:00
Sebastian
996334eead
Donate CPU: Only extract relevant source files from archives #8716 ( #1379 )
...
Use python tarfile instead of tar to extract the packages.
Only extract source files of interest.
Skip dangerous files that could overwrite files outside the temp folder.
Fixes https://trac.cppcheck.net/ticket/8716
2018-09-15 18:56:46 +02:00
Daniel Marjamäki
91a8807810
Donate CPU: include inconclusive results
2018-09-09 13:16:39 +02:00
Sebastian
7fdd039bee
donate-cpu.py: Fix crash when wget destination file does not exist. ( #1368 )
...
When os.remove() tried to remove a file that did not exist (which is the case when the script is started for the first time or the working directory has been cleared) a FileNotFoundError was issued and the script just crashed.
2018-09-07 15:59:59 +02:00
Daniel Marjamäki
4a4d4fd2be
Donate CPU: Improve diff report so changes from today can be seen separately
2018-09-06 17:31:07 +02:00
versat
1d52875d4f
donate-cpu.py: Fix parameter name in comments/help text.
2018-09-06 13:15:54 +02:00
Daniel Marjamäki
ee104303b7
Donate CPU: create diff report for todays results
2018-09-06 06:53:40 +02:00
Sebastian
220c06e356
Donate CPU Server: Fix broken links in crash report. ( #1364 )
2018-09-03 13:07:47 +02:00
Daniel Marjamäki
f88326c51f
Donate CPU: let the server remember latest packages when restarting
2018-09-02 14:08:09 +02:00
Daniel Marjamäki
c6369e6519
Donate CPU: Added a simple time report
2018-09-02 09:35:38 +02:00
Daniel Marjamäki
215bc3b303
Donate CPU:
...
* timeout after 30 seconds
* added content for http://cppcheck.osuosl.org:8000/
2018-09-02 07:28:25 +02:00
Daniel Marjamäki
79840add38
Donate CPU: Use shutil.rmtree instead of 'rm'
2018-09-01 17:04:34 +02:00
Daniel Marjamäki
d5a9332684
triage: show url and filename in edit boxes
2018-09-01 07:36:58 +02:00
Daniel Marjamäki
59731d70e8
triage: set error line properly
2018-09-01 06:39:22 +02:00
Daniel Marjamäki
173c737a5c
Fixed #8718 (Donate CPU: Optionally allow specifying a custom workfolder)
2018-08-31 14:29:15 +02:00
Daniel Marjamäki
5767a0ed6f
Donate CPU: Added crash report
2018-08-31 14:28:01 +02:00
Daniel Marjamäki
c1f436f7c0
Donate CPU: Try to handle crashes better
2018-08-29 22:07:48 +02:00
Daniel Marjamäki
1547059a21
triage: handle daca@home diffs better
2018-08-29 22:07:31 +02:00
Daniel Marjamäki
4ef59754a4
Donate CPU: Added a '--stop-time' argument
2018-08-29 11:08:56 +02:00
Daniel Marjamäki
50ded8d789
Donate CPU: Include 'elapsed time' in the output
2018-08-29 06:51:33 +02:00
Daniel Marjamäki
eadb4226e9
Donate CPU: Try to fix utf-8 decode problem. Just skip invalid chars, we're not very interested in those.
2018-08-28 12:02:28 +02:00
Daniel Marjamäki
ec5a13d351
Donate CPU: Fix old path
2018-08-27 18:44:17 +02:00
Daniel Marjamäki
4002fcd3e3
Donate CPU: Improved the server, now you can see diff
2018-08-27 18:21:16 +02:00
Daniel Marjamäki
bbebdf0ab4
Donate CPU: Updated the 'latest.html' report
2018-08-26 16:57:09 +02:00
Daniel Marjamäki
629639f6ae
Donate CPU: Updated scripts
2018-08-26 16:47:20 +02:00
Daniel Marjamäki
6ec6f70f2d
Donate CPU: Concentrate on the diff
2018-08-26 16:23:42 +02:00
Daniel Marjamäki
b2f0bd315d
Donate CPU: Diff results in the client
2018-08-26 13:42:01 +02:00
Daniel Marjamäki
08837b2232
Donate CPU: Use CRLF in HTTP responses
2018-08-26 11:17:18 +02:00
Daniel Marjamäki
c65d79c0ec
Donate CPU: Speedup server. Keep packageIndex in package-index.txt
2018-08-25 20:58:31 +02:00
Daniel Marjamäki
829a373416
Python cleanup
2018-08-25 20:43:20 +02:00
Daniel Marjamäki
c7880e2c8d
Donate CPU: Made client python3 compatible
2018-08-25 20:34:43 +02:00
Daniel Marjamäki
5da38e33c0
Donate CPU: Make server more robust
2018-08-25 20:00:04 +02:00
Daniel Marjamäki
7049249460
Donate CPU: Tried to make scripts more robust
2018-08-25 18:38:51 +02:00
Daniel Marjamäki
18343d1122
Donate CPU: get package
2018-08-25 11:08:41 +02:00
Daniel Marjamäki
4ece582bed
Donate CPU: looking at packages
2018-08-25 10:59:49 +02:00
Daniel Marjamäki
33b93cdd3a
Donate CPU: send data in chunks
2018-08-25 10:25:05 +02:00
Daniel Marjamäki
48f5792ca1
Donate CPU: Speedup the latest report
2018-08-25 09:06:15 +02:00
Daniel Marjamäki
efe40950c9
Donate CPU: Added report http://cppcheck.osuosl.org:8000/latest.html
2018-08-25 08:49:40 +02:00