Commit Graph

304 Commits

Author SHA1 Message Date
de556e816f removed unused import 2025-03-20 11:02:40 +01:00
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
664765c202 if no 'jacoco.xml' file was found, throwing an error 2025-03-20 10:44:15 +01:00
2381e7b90d made better reason_for_failure 2025-03-20 10:44:04 +01:00
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
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
8081b4ff76 made postfix better 2025-03-20 10:13:35 +01:00
c5abfb457e made the parent of all exceptions an abstract class 2025-03-20 09:50:58 +01:00
1bd822af0b for maven (and prolly would work with gradle), now
yielding any file called 'jacoco.xml'
2025-03-20 09:50:27 +01:00
8d3a9f4f0d the aggregate report was not working 2025-03-20 09:50:13 +01:00
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
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
dfbc6f5afa made code cleaner 2025-03-18 11:48:36 +01:00
6a857b2a9d made better reason for failure (to then count the
ones that are unsuccessfull)
2025-03-17 19:58:37 +01:00
5aa7054ea2 made better type annotations 2025-03-17 19:58:28 +01:00
119c6399d8 removed outdated import 2025-03-17 15:51:39 +01:00
5de0cf5888 checking the coverage of each file in the PR 2025-03-17 15:51:00 +01:00
04c66f0d8a parsgin the xml for coverage 2025-03-17 15:50:46 +01:00
211f9dde99 running the aggregate version of jacoco with
maven, hoping to get all the subprojects in one
file instead of having to grab an xml for each
single subproject
2025-03-17 15:49:16 +01:00
6ac3ffb8a1 fixed typo 2025-03-17 15:49:10 +01:00
0e0c73f9e0 raising an error for gradle because it's a mess
handling it rn
2025-03-17 15:48:50 +01:00
f2259cdc98 made the getting of the paths return a generator,
to go through each file there (prepping for gradle bs)
2025-03-17 15:48:15 +01:00
adaa1c7fd4 changed the structure of the entries 2025-03-17 15:45:19 +01:00
b91c9fe977 fixed typos 2025-03-17 15:39:01 +01:00
92c57b10b2 added the coverage to the file entries 2025-03-17 15:26:51 +01:00
3d9b386f22 changed the structure of the dataset 2025-03-17 15:26:45 +01:00
b2d7377d1f removed the from_json, because we don't use it 2025-03-17 15:26:27 +01:00
5e74c8738d made better postfix 2025-03-17 15:04:49 +01:00
69295801ac entries in the dataset now store what build system
they use
2025-03-17 15:04:33 +01:00
d7b3d62c0c generating and checking the coverage with jacoco 2025-03-17 11:47:54 +01:00
47763f5803 when we are done processing the repo, we check it
out to the main/master branch
2025-03-17 10:49:37 +01:00
f926be95f9 since we cloned the repos with --depth 1, we don't
have their history, now i'm ensure it's there
2025-03-17 10:49:34 +01:00
ca6198410f forgot to set the client of the the build_handler 2025-03-17 10:48:38 +01:00
38b904b898 fixed postfix 2025-03-17 10:48:31 +01:00
65306af557 now saving the dataset after each successfully
stored PR
2025-03-17 10:48:09 +01:00
79ead075fa removing PRs opened by bots 2025-03-17 10:39:47 +01:00
2fad232dd2 now using the build handler to check for
compilation at the commit of merge
2025-03-17 09:22:32 +01:00
082f6c6f71 using expections to interrupt the flow of
execution instead of having to propagate a boolean
2025-03-14 16:10:54 +01:00
b04d5b410a made postfix better 2025-03-14 15:23:12 +01:00
42d734877e made better length of dataset 2025-03-14 15:21:42 +01:00
76b79105ef fixed typing of field 2025-03-14 15:21:36 +01:00
f5275b3c1b making assumption that the entry will be
successful, then setting it to false when something goes wrong
2025-03-14 15:20:59 +01:00
6c6880715e unified the interface of funcitons in utils (made
clone return a bool that indicates success of cloning)
2025-03-14 15:14:48 +01:00
8f854cfa09 extracted function 2025-03-14 15:10:42 +01:00
4544922165 extracted a function, updated it, and using it in
pull_requests
2025-03-14 14:38:24 +01:00
fd82ff5128 moved github logging to file 2025-03-14 14:07:31 +01:00
8e1bbd15ff removed useless paramater 2025-03-14 14:05:32 +01:00
cc8cb7ef52 extracted function to utils 2025-03-14 14:04:41 +01:00
5a2865a78d minor stuff 2025-03-14 14:03:04 +01:00
4b06d4920b removed tqdm because it was too distracting 2025-03-14 14:02:38 +01:00