Commit Graph

10 Commits

Author SHA1 Message Date
90cd2b6440 api: remove oldestCommit support
For codesite-migrated repositories, looking at the oldest commit is
preferable to determine the "create date". But for forked projects,
looking at the oldest commit is incorrect for when we started the project
If inferring the real create date has to be manual, then let's rely on
the Gitea metadata - it's faster and can be modified by hand if needed
2020-11-19 12:06:57 +13:00
65e369deea implement homepage caching with periodic refresh 2020-11-19 11:57:17 +13:00
b21cd5585d api: replace generated Created/Updated timestamps with commit properties 2020-11-19 11:04:48 +13:00
818a93de1b api: new methods to get branches and commit info 2020-11-19 11:04:35 +13:00
30e31f9a08 api: extract common http handling code into apiRequest() 2020-11-19 11:04:08 +13:00
a27831e49b remove some extra logging 2020-11-08 13:29:08 +13:00
51cfe695bf api: fix compatibility with newer gitea that paginates repo lists 2020-11-08 13:25:36 +13:00
e34ab1fd16 api: semaphore acquire can fail if context is already closed 2020-06-07 11:31:25 +12:00
2eb39cbeac support semaphore limiting + context-cancellation of Gitea API requests 2020-05-24 18:39:24 +12:00
d7a964c186 initial commit 2020-05-02 14:16:49 +12:00