Open kalimu opened 1 week ago
With GitStats get_repos()
we get easily last push date, with get_files_content()
I think we do not get date of the file. Maybe it would be good to make adjustments in GitStats first (new column for files table - date
)?
Originally posted by @maciekbanas in #6
@maciekbanas Ah, you reminded me that we need some metadata also for checking cache (in the future). We could hash the file content but it take some processing time. Maybe it would be able to extract some timestamps of last modified repo or even files that we extracting and the the most recent one. We could save this timestamp for the repo and when it change we will know we should overwrite the db/cache.