0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 09:24:07 -05:00
forgejo/routers/api/v1
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902)
This code adds a simple endpoint to apply patches to repositories and
branches on gitea. This is then used along with the conflicting checking
code in #18004 to provide a basic implementation of cherry-pick revert.

Now because the buttons necessary for cherry-pick and revert have 
required us to create a dropdown next to the Browse Source button
I've also implemented Create Branch and Create Tag operations.

Fix #3880 
Fix #17986 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-09 20:28:55 +00:00
..
admin format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
misc format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notify Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
org Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
repo Add apply-patch, basic revert and cherry-pick functionality (#17902) 2022-02-09 20:28:55 +00: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 API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
utils format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
api.go Add apply-patch, basic revert and cherry-pick functionality (#17902) 2022-02-09 20:28:55 +00:00