Commit Graph

191 Commits

Author SHA1 Message Date
Karma Riuk
7e64ab6574 moved github logging to file 2025-03-29 09:44:00 +01:00
Karma Riuk
dd5a67561b commented out annoying code 2025-03-29 09:43:51 +01:00
Karma Riuk
e081560879 imported function from utils 2025-03-29 09:43:39 +01:00
Karma Riuk
aaafe21a3c added progress bar for each entry migration 2025-03-29 09:43:18 +01:00
Karma Riuk
d7cba34e3d made so that binary files content are ignored 2025-03-28 18:18:36 +01:00
Karma Riuk
69bf557a61 made migration better 2025-03-28 15:04:01 +01:00
Karma Riuk
838837a788 extracted function to utils 2025-03-28 15:03:45 +01:00
Karma Riuk
649043d9f0 first draft of migration to augment the data 2025-03-28 11:15:21 +01:00
Karma Riuk
0ed221acb8 added jacoco injections 2025-03-27 14:05:17 +01:00
Karma Riuk
e8cf0b4e37 formatted handlers.py 2025-03-27 09:42:37 +01:00
Karma Riuk
2e04ed49a3 fixed slight mistake 2025-03-26 14:50:36 +01:00
Karma Riuk
19729fae7c wrote better code 2025-03-26 14:09:21 +01:00
Karma Riuk
be34e9d2f6 put check for bot as first and apparently that
sped up the process quite a bit, nice
2025-03-26 14:04:14 +01:00
Karma Riuk
99d8abb7e7 moved some lines around to defer responsability 2025-03-26 13:43:33 +01:00
Karma Riuk
b02f08452d instead of making two passes through the PRs, we
just do one, and process it if it's good
2025-03-26 13:42:41 +01:00
Karma Riuk
9a48413ead added line for completness even tho it will never
be executed
2025-03-26 13:40:31 +01:00
Karma Riuk
0d8b81054d formatted code 2025-03-26 13:05:05 +01:00
Karma Riuk
fa3b7f82a1 comverted code to have instead of one comment,
have a list of them
2025-03-26 12:41:46 +01:00
Karma Riuk
4c6522ae63 removed useless code 2025-03-26 12:41:01 +01:00
Karma Riuk
77c5e2bec0 removed code pertaining to stats, now only relying
on cache
2025-03-26 09:05:49 +01:00
Karma Riuk
4c56a352e7 added default parameter to keep or not the "Was
still being processed" item from the backup (to delegate to the caller if he wants it)
2025-03-26 09:02:32 +01:00
Karma Riuk
d95e4ebdf8 fixed slight mistake 2025-03-23 13:55:24 +01:00
Karma Riuk
e685e62341 improved the lazy loading from cache even more 2025-03-23 13:26:23 +01:00
Karma Riuk
ad96cac750 covered newly discovered edge case 2025-03-23 11:15:44 +01:00
Karma Riuk
1aa42c32cd improved caching 2025-03-23 10:54:43 +01:00
Karma Riuk
2ba71d8523 renamed variable because its better 2025-03-23 09:58:30 +01:00
Karma Riuk
dc897ac375 first draft of using cache to resume progress 2025-03-23 09:52:43 +01:00
Karma Riuk
2481adc1bf added javalang to requriements 2025-03-23 09:27:59 +01:00
Karma Riuk
1a3714422d added try catch for unexepected exception 2025-03-23 09:27:38 +01:00
Karma Riuk
ee7704f1f0 finally extract the coverage (correctly? prolly) 2025-03-21 13:46:09 +01:00
Karma Riuk
b181f40cea put back the aggregate, because it seemed to work
better (at least with cdk/cdk it did)
2025-03-21 13:45:24 +01:00
Karma Riuk
db9779ceb7 removed useless comment 2025-03-21 13:45:18 +01:00
Karma Riuk
282f29520b since there are multiple jacoco.xml files
possible and it's too hard to understand which one
is the correct one for the class, I just log in
the coverages each one that have the fully
qualified class that is commented, it will then be
up to us to filter out what's needed
2025-03-21 13:44:58 +01:00
Karma Riuk
a0e17b62bb removed coverage from each file since now we have
the file pointed by the comment, moved the coverage to the metadata
2025-03-20 14:01:43 +01:00
Karma Riuk
adc62867ff added the feature of being able to only process
one repo through command line argument
2025-03-20 12:52:32 +01:00
Karma Riuk
07a3f4765f made reason_for_failure less verbose 2025-03-20 12:29:05 +01:00
Karma Riuk
d0e43146a2 added the yielding of for gradle 2025-03-20 11:51:44 +01:00
Karma Riuk
de556e816f removed unused import 2025-03-20 11:02:40 +01:00
Karma Riuk
cd24068d50 added comment path, to know what was the file in
the PR files that was commented
2025-03-20 10:52:16 +01:00
Karma Riuk
664765c202 if no 'jacoco.xml' file was found, throwing an error 2025-03-20 10:44:15 +01:00
Karma Riuk
2381e7b90d made better reason_for_failure 2025-03-20 10:44:04 +01:00
Karma Riuk
86763d6674 added still processing as reason for failure for
newly created entries, to not get confused when the program crashes, because empty implies successful, but not when the pogram crashes or get's interrupted
2025-03-20 10:42:55 +01:00
Karma Riuk
4b83a822a1 since i know have access to the file pointed by
the comment, I just check that one for tests
2025-03-20 10:20:34 +01:00
Karma Riuk
8081b4ff76 made postfix better 2025-03-20 10:13:35 +01:00
Karma Riuk
c5abfb457e made the parent of all exceptions an abstract class 2025-03-20 09:50:58 +01:00
Karma Riuk
1bd822af0b for maven (and prolly would work with gradle), now
yielding any file called 'jacoco.xml'
2025-03-20 09:50:27 +01:00
Karma Riuk
8d3a9f4f0d the aggregate report was not working 2025-03-20 09:50:13 +01:00
Karma Riuk
7567ce9baa fixed the issue (it seems like it at least) of not
being able to checkout the merge commit
2025-03-18 11:52:08 +01:00
Karma Riuk
ade00bdf53 instead of checking out the current branch
(main/master), i reset it hard (preshoting the jacoco injection)
2025-03-18 11:49:11 +01:00
Karma Riuk
dfbc6f5afa made code cleaner 2025-03-18 11:48:36 +01:00