1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/routers/api/v1
John Olheiser 0118b6aaf8 Add option to initialize repository with labels (#6061)
* Add optional label sets on repo creation

* Fix CRLF

* Instead of hardcoding default, make it the helper

* Move label set init out of repo init

Add a new error for the router
Combine router label init with repo creation label init

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add issue labels to Swagger for repo creation

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update models/issue_label.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Update models/issue_label.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
2019-09-08 11:28:40 +03:00
..
admin Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
convert Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
misc Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
org Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
swagger Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
user Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
utils Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
api.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00