Commit Graph

149 Commits

Author SHA1 Message Date
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
Karma Riuk
6a857b2a9d made better reason for failure (to then count the
ones that are unsuccessfull)
2025-03-17 19:58:37 +01:00
Karma Riuk
5aa7054ea2 made better type annotations 2025-03-17 19:58:28 +01:00
Karma Riuk
119c6399d8 removed outdated import 2025-03-17 15:51:39 +01:00
Karma Riuk
5de0cf5888 checking the coverage of each file in the PR 2025-03-17 15:51:00 +01:00
Karma Riuk
04c66f0d8a parsgin the xml for coverage 2025-03-17 15:50:46 +01:00
Karma Riuk
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
Karma Riuk
6ac3ffb8a1 fixed typo 2025-03-17 15:49:10 +01:00
Karma Riuk
0e0c73f9e0 raising an error for gradle because it's a mess
handling it rn
2025-03-17 15:48:50 +01:00
Karma Riuk
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
Karma Riuk
adaa1c7fd4 changed the structure of the entries 2025-03-17 15:45:19 +01:00
Karma Riuk
b91c9fe977 fixed typos 2025-03-17 15:39:01 +01:00
Karma Riuk
92c57b10b2 added the coverage to the file entries 2025-03-17 15:26:51 +01:00
Karma Riuk
3d9b386f22 changed the structure of the dataset 2025-03-17 15:26:45 +01:00
Karma Riuk
b2d7377d1f removed the from_json, because we don't use it 2025-03-17 15:26:27 +01:00
Karma Riuk
5e74c8738d made better postfix 2025-03-17 15:04:49 +01:00
Karma Riuk
69295801ac entries in the dataset now store what build system
they use
2025-03-17 15:04:33 +01:00
Karma Riuk
d7b3d62c0c generating and checking the coverage with jacoco 2025-03-17 11:47:54 +01:00
Karma Riuk
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
Karma Riuk
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
Karma Riuk
ca6198410f forgot to set the client of the the build_handler 2025-03-17 10:48:38 +01:00
Karma Riuk
38b904b898 fixed postfix 2025-03-17 10:48:31 +01:00
Karma Riuk
65306af557 now saving the dataset after each successfully
stored PR
2025-03-17 10:48:09 +01:00
Karma Riuk
79ead075fa removing PRs opened by bots 2025-03-17 10:39:47 +01:00
Karma Riuk
2fad232dd2 now using the build handler to check for
compilation at the commit of merge
2025-03-17 09:22:32 +01:00
Karma Riuk
082f6c6f71 using expections to interrupt the flow of
execution instead of having to propagate a boolean
2025-03-14 16:10:54 +01:00
Karma Riuk
b04d5b410a made postfix better 2025-03-14 15:23:12 +01:00
Karma Riuk
42d734877e made better length of dataset 2025-03-14 15:21:42 +01:00
Karma Riuk
76b79105ef fixed typing of field 2025-03-14 15:21:36 +01:00
Karma Riuk
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
Karma Riuk
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
Karma Riuk
8f854cfa09 extracted function 2025-03-14 15:10:42 +01:00
Karma Riuk
4544922165 extracted a function, updated it, and using it in
pull_requests
2025-03-14 14:38:24 +01:00
Karma Riuk
fd82ff5128 moved github logging to file 2025-03-14 14:07:31 +01:00
Karma Riuk
8e1bbd15ff removed useless paramater 2025-03-14 14:05:32 +01:00
Karma Riuk
cc8cb7ef52 extracted function to utils 2025-03-14 14:04:41 +01:00
Karma Riuk
5a2865a78d minor stuff 2025-03-14 14:03:04 +01:00
Karma Riuk
4b06d4920b removed tqdm because it was too distracting 2025-03-14 14:02:38 +01:00
Karma Riuk
c1c2106a86 made the has_only_1_comment function potentially
verbose
2025-03-14 12:06:03 +01:00
Karma Riuk
9982e2bcc9 added the diff class to dataset entries 2025-03-14 12:05:39 +01:00
Karma Riuk
6437efaa54 first clean version of storing the entries of the
dataset, still need to check for tests
2025-03-14 12:05:19 +01:00
Karma Riuk
468f793ded added the possibility of having the lenght of the
dataset
2025-03-14 11:59:37 +01:00
Karma Riuk
242d7f6a77 made some entries to the dataset default to "" 2025-03-14 11:59:21 +01:00