forgejo/routers/api/v1
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136)
* Set the default branch for repositories generated from templates
* Allows default branch to be set through the API for repos generated from templates
* Update swagger API template
* Only set default branch to the one from the template if not specified
* Use specified default branch if it exists while generating git commits

Fix #19082 

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-03-27 03:56:28 +01:00
..
admin Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
misc format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notify Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
repo Set the default branch for repositories generated from templates (#19136) 2022-03-27 03:56:28 +01:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
user Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
utils Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
api.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00