forgejo/services
Kyle Evans 64ac8440a7 Make archival asynchronous
The prime benefit being sought here is for large archives to not
clog up the rendering process and cause unsightly proxy timeouts.
As a secondary benefit, archive-in-progress is moved out of the
way into a /tmp file so that new archival requests for the same
commit will not get fulfilled based on an archive that isn't yet
finished.

This asynchronous system is fairly primitive; request comes in, we'll
spawn off a new goroutine to handle it, then we'll mark it as done.
Status requests will see if the file exists in the final location,
and report the archival as done when it exists.

Fixes #11265
2020-05-05 11:57:30 -05:00
..
archiver Make archival asynchronous 2020-05-05 11:57:30 -05:00
comments Refactor pull request review (#8954) 2019-11-14 10:57:36 +08:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 2020-01-28 08:02:03 +00:00
issue Fix spelling mistake with Rewiew (#11262) 2020-04-30 21:24:08 +01:00
mailer Sendmail should create a process on the gitea system and have a default timeout (#11256) 2020-05-03 00:04:31 +01:00
mirror Move newbranch to standalone package (#9627) 2020-01-14 11:38:04 +08:00
pull Prevent merge of outdated PRs on protected branches (#11012) 2020-04-16 22:00:36 -03:00
release When using API CreateRelease set created_unix to the tag commit time (#11218) 2020-04-30 14:10:42 +01:00
repository API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
wiki Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00