Commit Graph

243 Commits

Author SHA1 Message Date
873f712640 forgot an import 2025-03-13 14:25:25 +01:00
536e6e3e3f extracted some functions to a utils file, since
they will be usefull for the new pull_requests.py
2025-03-13 11:31:27 +01:00
3a1b24dcb3 actually the file shouldn't be called
'good_repos.csv' because there aren't only good repos, so calling it 'repos.csv'
2025-03-13 11:25:13 +01:00
f8568fe8ec cleared pull_requests.py to start anew 2025-03-13 11:11:21 +01:00
02d6c035fd renamed the results file, because "results.csv"
was too generic
2025-03-13 11:09:10 +01:00
e69e81e5b3 minor fixes 2025-03-12 11:54:11 +01:00
8c1de40a1f fixed the way to check whether a pr had only one comment 2025-03-11 14:27:18 +01:00
7c7b8801eb switched lines because it made more sense 2025-03-11 14:23:30 +01:00
f76cd6f36f added entry to exclusion list 2025-03-11 10:26:44 +01:00
a22776a96c fixed the stdout and file logging issue 2025-03-10 11:29:09 +01:00
5416b2ba15 saving the stats at each repo, so that we can see
the progress
2025-03-10 10:42:56 +01:00
fc0fdd2e43 added entry to exclusion list 2025-03-10 10:39:13 +01:00
8b5bae858e getting stats for repos that actually have tests 2025-03-10 10:38:56 +01:00
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
aa5ed85717 made better post fix 2025-03-10 10:28:13 +01:00
527f9ea1af made logging better to avoid messing up the
progress bar
2025-03-10 10:27:43 +01:00
d34b3dbb20 made stats for PRs better, because i was not
considering all edge cases
2025-03-10 09:54:21 +01:00
3a5cd998fd added the one hour limit to compilation as well 2025-03-07 09:01:39 +01:00
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
57b0f0c2cd first draft of getting the stats for pull requests 2025-03-06 16:26:33 +01:00
614115123e can now process repo (still needs testing) 2025-03-06 15:39:04 +01:00
3cbb81894d removed useless stuff 2025-03-06 10:10:49 +01:00
a983e2c122 extracting the file before, comment and file after
for the comments in a PR
2025-03-06 10:01:59 +01:00
be1be25131 fixed lazy loading 2025-03-06 09:53:36 +01:00
fd022ae8bb made the lazy loading better 2025-03-05 12:12:15 +01:00
470856c1a7 created a timeout to stop tests from running when
they take ages
2025-03-05 11:57:20 +01:00
6857dbcff9 removed the count with grep since it's useless 2025-03-05 11:53:22 +01:00
d9c100a811 finally get the overlapping commits and comments 2025-03-05 10:22:55 +01:00
9ab2036bc7 idk how to name variables 2025-03-05 09:58:29 +01:00
ab88018f16 renamed variable 2025-03-05 09:56:13 +01:00
b9501f9aac compacted code 2025-03-05 09:55:31 +01:00
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
9122b27140 renamed function 2025-03-05 09:48:23 +01:00
a0ac5b47ad actually using the extracted function 2025-03-05 09:30:04 +01:00
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
ceb15674ad first version of the pull_requests.py 2025-03-05 09:22:02 +01:00
65b7a6423f made postfix better 2025-03-05 09:08:16 +01:00
67bbd50387 updated maven test extraction handler 2025-03-02 23:32:31 +01:00
0c802aca1c made gradle test extraction more robust and less
prone to failures (exceptions)
2025-03-02 23:31:49 +01:00
fd3c99001a updated comment 2025-03-02 15:52:15 +01:00
ec216e802a removed useless import 2025-03-02 12:03:08 +01:00
351caac513 fixed lazy processing 2025-03-02 12:01:43 +01:00
02ec9b667a removed useless comment 2025-03-02 11:01:53 +01:00
b1d98df292 implemented lazy evaluation (ignore repo if already processed) 2025-03-02 11:01:12 +01:00
fb220eac1e added entry to exclusion list 2025-03-02 10:33:20 +01:00
9f504bde78 renamed clone repos function because it was a bit
out of date
2025-03-02 10:32:51 +01:00
3d33cc941b made postfix better 2025-03-01 23:12:49 +01:00
cbdf9db7a9 updated requirements 2025-03-01 23:00:58 +01:00
2a59fdf76c now extracting the number of tests for gradle as well 2025-03-01 22:55:54 +01:00
e74aa5042e fixed division by zero 2025-03-01 19:50:29 +01:00