ls1intum / Hephaestus

Hephaestus - A Generative AI Mentor for Agile Software Development
MIT License
8 stars 1 forks source link

Efficient Repository Updates instead of Refetching #103

Closed GODrums closed 1 month ago

GODrums commented 1 month ago

Motivation

With our CRON-job, we want to make updating the repository and all its elements like PullRequests, Reviews and Comments as efficient as possible. This entails only fetching updated elements and updating entities instead of having to recreate them.

Description

This PR modifies the Github sync algorithm to allow for efficient refetching and updates:

Remark The GitHubDataSyncService may get overly complex at some point. I would appreciate any suggestions on how to improve its structure or separate the logic into multiple classes,

Checklist

General

Server

FelixTJDietrich commented 1 month ago

Code LGTM, thank you!