Commit Graph

  • e9816d4492 removed unused imports Karma Riuk 2025-04-05 16:01:28 +02:00
  • bf8869e66c was accidentally copying over prs that were cached twice Karma Riuk 2025-04-01 15:45:23 +02:00
  • d4dd72469e instead of creating a list of the comments, using the paginated list and totalCount Karma Riuk 2025-04-01 14:46:42 +02:00
  • e2f313a62a made better argparse things Karma Riuk 2025-04-01 12:15:24 +02:00
  • 12b98bf1ef removed the throttle of pygithub to make requests faster Karma Riuk 2025-04-01 11:45:43 +02:00
  • 6d28d89873 added return guard to remove indent level Karma Riuk 2025-04-01 11:01:06 +02:00
  • bc71a21c30 instead of leaving reason_for_failure empty for valid PRs, I now put that it's valid (even tho it's not a reason for _failure_ techinally, gne gne gne...) Karma Riuk 2025-04-01 11:00:11 +02:00
  • a362aba344 added a simple caching of the requests to make it much quicker to fail and restart migrate Karma Riuk 2025-04-01 10:14:45 +02:00
  • a24ffa00fc made help message shorter Karma Riuk 2025-04-01 10:14:19 +02:00
  • b9d1923bd8 since the comment file might not be in the PR files (since it was reverted back to its original state, we manually need to check if it's code related) Karma Riuk 2025-04-01 09:53:26 +02:00
  • f7d70eed6c fixed how we get the diffs before (it was wrong), extracted the way to get the last commit before the comments Karma Riuk 2025-04-01 09:52:57 +02:00
  • af4fbaa7f3 added the type of the error in the print, because some errors are not very verbose in what's going wrong Karma Riuk 2025-04-01 09:48:24 +02:00
  • c31686ad63 not compiling, testing, etc. for files that are not code related Karma Riuk 2025-04-01 09:20:37 +02:00
  • 0b238db879 fixed the name of the archive Karma Riuk 2025-04-01 09:20:26 +02:00
  • 28eebf158a some users have been deleted since, so the user attribute of the comment is None Karma Riuk 2025-04-01 09:19:52 +02:00
  • 306e80648b added print statements Karma Riuk 2025-04-01 09:19:35 +02:00
  • e697890395 now archiving both before (context for AI) and after (tests for benchmark) Karma Riuk 2025-03-31 21:50:11 +02:00
  • d8ab48dc82 excluding repos that have no comments Karma Riuk 2025-03-31 21:25:08 +02:00
  • 352758a600 not failing on unexpected error, but writing them above the progress bar Karma Riuk 2025-03-31 21:21:30 +02:00
  • c20f9d6a6c made checkout function more modular Karma Riuk 2025-03-31 21:20:56 +02:00
  • f79d3d7807 made a better job to check if the second comment is an answer to the first one Karma Riuk 2025-03-31 21:20:17 +02:00
  • 1a53f28ae0 now archiving the repo at the given pr Karma Riuk 2025-03-31 15:55:23 +02:00
  • 306aa4a985 removed the only_inject_jacoco Karma Riuk 2025-03-31 15:49:00 +02:00
  • 480dacea3e now using normal names Karma Riuk 2025-03-31 15:32:18 +02:00
  • b482c35b90 cleaned up dataset Karma Riuk 2025-03-31 15:31:36 +02:00
  • 6bd30ef545 removed unused imports Karma Riuk 2025-03-31 15:31:04 +02:00
  • f785364fb8 made a unique bar for the processing of the pr Karma Riuk 2025-03-31 15:30:14 +02:00
  • abc642d969 fixed slight issue with naming of variables Karma Riuk 2025-03-31 15:29:43 +02:00
  • 941e0cb19f fixed the way we get the diffs after Karma Riuk 2025-03-31 15:29:18 +02:00
  • 61ed6aa1b9 fixed mistake Karma Riuk 2025-03-31 15:29:02 +02:00
  • 669049b7a4 now using only the new datset version Karma Riuk 2025-03-31 14:17:36 +02:00
  • 35bd296c7c made clone use raising expections instead of updates Karma Riuk 2025-03-31 13:21:04 +02:00
  • 46d8d45d7c Formatted utils.py Karma Riuk 2025-03-31 11:49:36 +02:00
  • 308f58b587 fixed final edgecase Karma Riuk 2025-03-30 10:58:48 +02:00
  • d24c9d8461 removed progress bar that was instant Karma Riuk 2025-03-29 10:25:31 +01:00
  • 7e64ab6574 moved github logging to file Karma Riuk 2025-03-29 09:44:00 +01:00
  • dd5a67561b commented out annoying code Karma Riuk 2025-03-29 09:43:51 +01:00
  • e081560879 imported function from utils Karma Riuk 2025-03-29 09:43:39 +01:00
  • aaafe21a3c added progress bar for each entry migration Karma Riuk 2025-03-29 09:43:18 +01:00
  • d7cba34e3d made so that binary files content are ignored Karma Riuk 2025-03-28 18:18:36 +01:00
  • 69bf557a61 made migration better Karma Riuk 2025-03-28 15:04:01 +01:00
  • 838837a788 extracted function to utils Karma Riuk 2025-03-28 15:03:45 +01:00
  • 649043d9f0 first draft of migration to augment the data Karma Riuk 2025-03-28 10:22:29 +01:00
  • 0ed221acb8 added jacoco injections Karma Riuk 2025-03-27 14:05:17 +01:00
  • e8cf0b4e37 formatted handlers.py Karma Riuk 2025-03-27 09:42:37 +01:00
  • 2e04ed49a3 fixed slight mistake Karma Riuk 2025-03-26 14:50:36 +01:00
  • 19729fae7c wrote better code Karma Riuk 2025-03-26 14:09:21 +01:00
  • be34e9d2f6 put check for bot as first and apparently that sped up the process quite a bit, nice Karma Riuk 2025-03-26 14:04:14 +01:00
  • 99d8abb7e7 moved some lines around to defer responsability Karma Riuk 2025-03-26 13:43:33 +01:00
  • b02f08452d instead of making two passes through the PRs, we just do one, and process it if it's good Karma Riuk 2025-03-26 13:42:41 +01:00
  • 9a48413ead added line for completness even tho it will never be executed Karma Riuk 2025-03-26 13:40:31 +01:00
  • 0d8b81054d formatted code Karma Riuk 2025-03-26 13:05:05 +01:00
  • fa3b7f82a1 comverted code to have instead of one comment, have a list of them Karma Riuk 2025-03-26 12:41:46 +01:00
  • 4c6522ae63 removed useless code Karma Riuk 2025-03-26 12:41:01 +01:00
  • 77c5e2bec0 removed code pertaining to stats, now only relying on cache Karma Riuk 2025-03-26 09:05:49 +01:00
  • 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) Karma Riuk 2025-03-26 09:02:32 +01:00
  • d95e4ebdf8 fixed slight mistake Karma Riuk 2025-03-23 13:55:24 +01:00
  • e685e62341 improved the lazy loading from cache even more Karma Riuk 2025-03-23 13:15:47 +01:00
  • ad96cac750 covered newly discovered edge case Karma Riuk 2025-03-23 11:15:44 +01:00
  • 1aa42c32cd improved caching Karma Riuk 2025-03-23 10:54:43 +01:00
  • 2ba71d8523 renamed variable because its better Karma Riuk 2025-03-23 09:58:30 +01:00
  • dc897ac375 first draft of using cache to resume progress Karma Riuk 2025-03-23 09:52:43 +01:00
  • 2481adc1bf added javalang to requriements Karma Riuk 2025-03-23 09:27:59 +01:00
  • 1a3714422d added try catch for unexepected exception Karma Riuk 2025-03-23 09:27:38 +01:00
  • ee7704f1f0 finally extract the coverage (correctly? prolly) Karma Riuk 2025-03-21 13:46:09 +01:00
  • b181f40cea put back the aggregate, because it seemed to work better (at least with cdk/cdk it did) Karma Riuk 2025-03-21 13:45:24 +01:00
  • db9779ceb7 removed useless comment Karma Riuk 2025-03-21 13:45:18 +01:00
  • 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 Karma Riuk 2025-03-21 13:43:46 +01:00
  • a0e17b62bb removed coverage from each file since now we have the file pointed by the comment, moved the coverage to the metadata Karma Riuk 2025-03-20 14:01:43 +01:00
  • adc62867ff added the feature of being able to only process one repo through command line argument Karma Riuk 2025-03-20 12:50:40 +01:00
  • 07a3f4765f made reason_for_failure less verbose Karma Riuk 2025-03-20 12:29:05 +01:00
  • d0e43146a2 added the yielding of for gradle Karma Riuk 2025-03-20 11:51:44 +01:00
  • de556e816f removed unused import Karma Riuk 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 Karma Riuk 2025-03-20 10:52:16 +01:00
  • 664765c202 if no 'jacoco.xml' file was found, throwing an error Karma Riuk 2025-03-20 10:44:15 +01:00
  • 2381e7b90d made better reason_for_failure Karma Riuk 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 Karma Riuk 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 Karma Riuk 2025-03-20 10:13:48 +01:00
  • 8081b4ff76 made postfix better Karma Riuk 2025-03-20 10:13:35 +01:00
  • c5abfb457e made the parent of all exceptions an abstract class Karma Riuk 2025-03-20 09:50:58 +01:00
  • 1bd822af0b for maven (and prolly would work with gradle), now yielding any file called 'jacoco.xml' Karma Riuk 2025-03-20 09:50:27 +01:00
  • 8d3a9f4f0d the aggregate report was not working Karma Riuk 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 Karma Riuk 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) Karma Riuk 2025-03-18 11:49:11 +01:00
  • dfbc6f5afa made code cleaner Karma Riuk 2025-03-18 11:48:36 +01:00
  • 6a857b2a9d made better reason for failure (to then count the ones that are unsuccessfull) Karma Riuk 2025-03-17 19:58:37 +01:00
  • 5aa7054ea2 made better type annotations Karma Riuk 2025-03-17 19:58:28 +01:00
  • 119c6399d8 removed outdated import Karma Riuk 2025-03-17 15:51:39 +01:00
  • 5de0cf5888 checking the coverage of each file in the PR Karma Riuk 2025-03-17 15:51:00 +01:00
  • 04c66f0d8a parsgin the xml for coverage Karma Riuk 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 Karma Riuk 2025-03-17 15:49:16 +01:00
  • 6ac3ffb8a1 fixed typo Karma Riuk 2025-03-17 15:49:10 +01:00
  • 0e0c73f9e0 raising an error for gradle because it's a mess handling it rn Karma Riuk 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) Karma Riuk 2025-03-17 15:48:15 +01:00
  • adaa1c7fd4 changed the structure of the entries Karma Riuk 2025-03-17 15:45:19 +01:00
  • b91c9fe977 fixed typos Karma Riuk 2025-03-17 15:39:01 +01:00
  • 92c57b10b2 added the coverage to the file entries Karma Riuk 2025-03-17 15:26:51 +01:00
  • 3d9b386f22 changed the structure of the dataset Karma Riuk 2025-03-17 15:26:45 +01:00
  • b2d7377d1f removed the from_json, because we don't use it Karma Riuk 2025-03-17 15:26:27 +01:00
  • 5e74c8738d made better postfix Karma Riuk 2025-03-17 15:04:49 +01:00