Commit Graph

135 Commits

Author SHA1 Message Date
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
Karma Riuk
d845ce9171 removed sorting of the commit dates because it
isn't useful
2025-03-14 10:07:07 +01:00
Karma Riuk
8f4614f71a removed useless import 2025-03-14 09:55:11 +01:00
Karma Riuk
c035bfbe77 updated stats_pull_requests to use the new utils
interface
2025-03-14 09:49:50 +01:00
Karma Riuk
115e275479 forgot to actually check whether the ammount of
comments was 1, now it's fixed
2025-03-14 09:48:57 +01:00
Karma Riuk
49e8e29e7a updated the type annotations for the utils
functions, much better now
2025-03-14 09:48:38 +01:00
Karma Riuk
9f8884a1e9 created the dataclasses for the "triplets" 2025-03-14 09:27:51 +01:00
Karma Riuk
873f712640 forgot an import 2025-03-13 14:25:25 +01:00
Karma Riuk
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
Karma Riuk
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
Karma Riuk
f8568fe8ec cleared pull_requests.py to start anew 2025-03-13 11:11:21 +01:00
Karma Riuk
02d6c035fd renamed the results file, because "results.csv"
was too generic
2025-03-13 11:09:10 +01:00
Karma Riuk
e69e81e5b3 minor fixes 2025-03-12 11:54:11 +01:00
Karma Riuk
8c1de40a1f fixed the way to check whether a pr had only one comment 2025-03-11 14:27:18 +01:00
Karma Riuk
7c7b8801eb switched lines because it made more sense 2025-03-11 14:23:30 +01:00