This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/structs
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_user.go
attachment.go
commit_status.go
cron.go
doc.go
fork.go - name: new parameter in CreateForkOption to give the forked repository (#18066) 2021-12-24 22:43:00 +08:00
git_blob.go
git_hook.go
hook.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
issue.go
issue_comment.go Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
issue_label.go
issue_milestone.go
issue_reaction.go
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_tracked_time.go
lfs_lock.go
miscellaneous.go
nodeinfo.go
notifications.go
org.go Fix various typos (#18219) 2022-01-10 17:32:37 +08:00
org_member.go
org_team.go Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
org_type.go
pull.go Add option to API to update PullRequest base branch (#11666) 2020-06-07 20:13:40 +01:00
pull_review.go
release.go
repo.go API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
repo_branch.go
repo_collaborator.go
repo_commit.go
repo_file.go Add apply-patch, basic revert and cherry-pick functionality (#17902) 2022-02-09 20:28:55 +00:00
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go
settings.go
status.go
task.go
user.go
user_app.go
user_email.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
user_gpgkey.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
user_key.go