forgejo/services/repository
zeripath 51775f65bc
Make commit info cancelable (#16032)
* Make modules/context.Context a context.Context

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Simplify context calls

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Set the base context for requests to the HammerContext

Signed-off-by: Andrew Thornton <art27@cantab.net>

* pass context into get-last-commit

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make commit_info cancellable

Signed-off-by: Andrew Thornton <art27@cantab.net>

* use context as context

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-06-06 19:44:58 -04:00
..
generate.go add permission check for `GenerateRepository` (#15946) 2021-05-27 12:08:46 -04:00
main_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
push.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
repository.go Fix repository create/delete event webhooks (#13008) 2020-10-02 10:37:46 +01:00
transfer.go Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 2021-03-01 01:47:30 +01:00
transfer_test.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00