forgejo/cmd
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602)
* make notifyWatchers work on multiple actions

* more efficient multiple notifyWatchers

* Make CommitRepoAction take advantage of multiple actions

* Batch post and pre-receive results

* Set batch to 30

* Auto adjust timeout & add logging

* adjust processing message

* Add some messages to pre-receive

* Make any non-200 status code from pre-receive an error

* Add missing hookPrintResults

* Remove shortcut for single action

* mistaken merge fix

* oops

* Move master branch to the front

* If repo was empty and the master branch is pushed ensure that that is set as the default branch

* fixup

* fixup

* Missed HookOptions in setdefaultbranch

* Batch PushUpdateAddTag and PushUpdateDelTag

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2019-12-26 13:29:45 +02:00
..
admin.go Move some repository methods from models to modules/repository (#9353) 2019-12-14 18:30:01 +01:00
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 2019-06-17 14:32:20 -04:00
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 2019-06-17 14:32:20 -04:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
dump.go Fixed errors logging in dump.go (#9218) 2019-12-17 18:12:10 +02:00
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 2019-05-01 22:32:06 -04:00
hook.go Batch hook pre- and post-receive calls (#8602) 2019-12-26 13:29:45 +02:00
keys.go Add debug option to serv to help debug problems (#9492) 2019-12-25 23:44:57 +08:00
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
serv.go Add debug option to serv to help debug problems (#9492) 2019-12-25 23:44:57 +08:00
web.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
web_graceful.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00