Commit Graph

80 Commits

Author SHA1 Message Date
Karma Riuk
500531c8b0 apparently some dates are now parsed correctly
when the json is parsed, but others are still in string form, so i'm trying to account for that
2025-03-10 10:28:29 +01:00
Karma Riuk
aa5ed85717 made better post fix 2025-03-10 10:28:13 +01:00
Karma Riuk
527f9ea1af made logging better to avoid messing up the
progress bar
2025-03-10 10:27:43 +01:00
Karma Riuk
d34b3dbb20 made stats for PRs better, because i was not
considering all edge cases
2025-03-10 09:54:21 +01:00
Karma Riuk
3a5cd998fd added the one hour limit to compilation as well 2025-03-07 09:01:39 +01:00
Karma Riuk
9fa7dd53af now using the PyGithub library, so that it handles
for me the issue of too many requests in too little time
2025-03-06 16:36:53 +01:00
Karma Riuk
57b0f0c2cd first draft of getting the stats for pull requests 2025-03-06 16:26:33 +01:00
Karma Riuk
614115123e can now process repo (still needs testing) 2025-03-06 15:39:04 +01:00
Karma Riuk
3cbb81894d removed useless stuff 2025-03-06 10:10:49 +01:00
Karma Riuk
a983e2c122 extracting the file before, comment and file after
for the comments in a PR
2025-03-06 10:01:59 +01:00
Karma Riuk
be1be25131 fixed lazy loading 2025-03-06 09:53:36 +01:00
Karma Riuk
fd022ae8bb made the lazy loading better 2025-03-05 12:12:15 +01:00
Karma Riuk
470856c1a7 created a timeout to stop tests from running when
they take ages
2025-03-05 11:57:20 +01:00
Karma Riuk
6857dbcff9 removed the count with grep since it's useless 2025-03-05 11:53:22 +01:00
Karma Riuk
d9c100a811 finally get the overlapping commits and comments 2025-03-05 10:22:55 +01:00
Karma Riuk
9ab2036bc7 idk how to name variables 2025-03-05 09:58:29 +01:00
Karma Riuk
ab88018f16 renamed variable 2025-03-05 09:56:13 +01:00
Karma Riuk
b9501f9aac compacted code 2025-03-05 09:55:31 +01:00
Karma Riuk
cb7c1a94a1 augmenting the comments with the range of the
hunk, useful for later to search for overlap between comment and commit
2025-03-05 09:54:53 +01:00
Karma Riuk
9122b27140 renamed function 2025-03-05 09:48:23 +01:00
Karma Riuk
a0ac5b47ad actually using the extracted function 2025-03-05 09:30:04 +01:00
Karma Riuk
788f8db974 fixed the extraction of the date, because on the
server, datetime.fromisoformat couldn't be parsed for some reason
2025-03-05 09:29:03 +01:00
Karma Riuk
ceb15674ad first version of the pull_requests.py 2025-03-05 09:22:02 +01:00
Karma Riuk
65b7a6423f made postfix better 2025-03-05 09:08:16 +01:00
Karma Riuk
67bbd50387 updated maven test extraction handler 2025-03-02 23:32:31 +01:00
Karma Riuk
0c802aca1c made gradle test extraction more robust and less
prone to failures (exceptions)
2025-03-02 23:31:49 +01:00
Karma Riuk
fd3c99001a updated comment 2025-03-02 15:52:15 +01:00
Karma Riuk
ec216e802a removed useless import 2025-03-02 12:03:08 +01:00
Karma Riuk
351caac513 fixed lazy processing 2025-03-02 12:01:43 +01:00
Karma Riuk
02ec9b667a removed useless comment 2025-03-02 11:01:53 +01:00
Karma Riuk
b1d98df292 implemented lazy evaluation (ignore repo if already processed) 2025-03-02 11:01:12 +01:00
Karma Riuk
fb220eac1e added entry to exclusion list 2025-03-02 10:33:20 +01:00
Karma Riuk
9f504bde78 renamed clone repos function because it was a bit
out of date
2025-03-02 10:32:51 +01:00
Karma Riuk
3d33cc941b made postfix better 2025-03-01 23:12:49 +01:00
Karma Riuk
cbdf9db7a9 updated requirements 2025-03-01 23:00:58 +01:00
Karma Riuk
2a59fdf76c now extracting the number of tests for gradle as well 2025-03-01 22:55:54 +01:00
Karma Riuk
e74aa5042e fixed division by zero 2025-03-01 19:50:29 +01:00
Karma Riuk
3740c89ed6 added extraction of number of tests (both from output and grep) 2025-03-01 18:29:04 +01:00
Karma Riuk
177f305d4c made posfix better 2025-03-01 18:28:28 +01:00
Karma Riuk
a8adf2fb47 Merge branch 'handler-class' 2025-03-01 17:25:26 +01:00
Karma Riuk
59055df8b4 added logging of the number of gradle projects in
progress bar
2025-03-01 17:25:06 +01:00
Karma Riuk
4f5695d8d2 extracted the logic of handling maven or gradle to
a simple class structure
2025-03-01 17:24:12 +01:00
Karma Riuk
7028b0a5c0 fixed docker files 2025-03-01 17:16:58 +01:00
Karma Riuk
29541a15e9 now removing from output also the list of
unapproved licenses
2025-03-01 15:57:52 +01:00
Karma Riuk
c8ec782adf forgot to save when not interrupted 2025-03-01 15:55:36 +01:00
Karma Riuk
7b389c87d2 split dockerfile for maven and gradle separately 2025-03-01 15:32:14 +01:00
Karma Riuk
ff9b4e0cdb excluding build.xml because apparenlty it's not
for maven
2025-03-01 15:05:28 +01:00
Karma Riuk
ec37ee47b9 fixed maven version not being new enough for a lot of projects 2025-03-01 14:58:35 +01:00
Karma Riuk
5ac5df42a0 made a better clean of the output 2025-03-01 14:58:15 +01:00
Karma Riuk
3ff9ebc7e4 made maven command better 2025-03-01 14:57:19 +01:00