forgejo-federation/routers/api/v1
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413)
* Display pull request head branch even the branch deleted or repository deleted

* Merge getHeadRepo/loadHeadRepo and getBaseRepo/loadBaseRepo on pull and fill repo when pr.Issue.Repo is available

* retrieve sha from pull head when pull request branch deleted and fix tests

* Fix test

* Ensure MustHeadRepoName returns empty string if no head repo

Co-authored-by: zeripath <art27@cantab.net>
2020-03-02 22:31:55 +00:00
..
admin Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
misc Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
notify API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
org Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
repo Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
swagger adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00
user adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00
utils Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
api.go adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00