This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/web
zeripath bab95c3a86
Correctly handle failed migrations (#17575)
* Correctly handle failed migrations

There is a bug in handling failed migrations whereby the migration task gets decoupled
from the migration repository. This leads to a failure of the task to get deleted with
the repository and also leads to the migration failed page resulting in a ISE.

This PR removes the zeroing out of the task id from the migration but also makes
the migration handler tolerate missing tasks much nicer.

Fix #17571

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-11-13 19:28:50 +08:00
..
admin Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
dev
events Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
explore Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
feed Fix mispelling of starred as stared (#17465) 2021-10-28 15:05:00 +08:00
org Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
repo Correctly handle failed migrations (#17575) 2021-11-13 19:28:50 +08:00
user Correctly handle failed migrations (#17575) 2021-11-13 19:28:50 +08:00
base.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
goget.go
home.go
metrics.go
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go
web.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00