0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 18:14:24 +01:00
gitea/routers/api/v1/repo
Lunny Xiao dd08853b10
Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244)
* Dump github/gitlab repository data to a local directory

* Fix lint

* Adjust directory structure

* Allow migration special units

* Allow migration ignore release assets

* Fix lint

* Add restore repository

* stage the changes

* Merge

* Fix lint

* Update the interface

* Add some restore methods

* Finish restore

* Add comments

* Fix restore

* Add a token flag

* Fix bug

* Fix test

* Fix test

* Fix bug

* Fix bug

* Fix lint

* Fix restore

* refactor downloader

* fmt

* Fix bug isEnd detection on getIssues

* Refactor maxPerPage

* Remove unused codes

* Remove unused codes

* Fix bug

* Fix restore

* Fix dump

* Uploader should not depend downloader

* use release attachment name but not id

* Fix restore bug

* Fix lint

* Fix restore bug

* Add a method of DownloadFunc for base.Release to make uploader not depend on downloader

* fix Release yml marshal

* Fix trace information

* Fix bug when dump & restore

* Save relative path on yml file

* Fix bug

* Use relative path

* Update docs

* Use git service string but not int

* Recognize clone addr to service type
2020-12-27 11:34:19 +08:00
..
blob.go
branch.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
collaborators.go
commits.go
file.go
fork.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
git_hook.go
git_ref.go
hook.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
hook_test.go
issue.go [API] Add ref to create/edit issue options & deprecated assignee (#13992) 2020-12-15 19:38:10 +01:00
issue_comment.go API: Fix GetQueryBeforeSince (#13559) 2020-11-14 14:05:40 +00:00
issue_label.go
issue_reaction.go Issue comment reactions should also check pull type (#13349) 2020-10-29 20:48:07 +08:00
issue_stopwatch.go
issue_subscription.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
issue_tracked_time.go Add user filter to issueTrackedTimes, enable usage for issue managers (#14081) 2020-12-22 04:47:17 +01:00
key.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
label.go
language.go
main_test.go
migrate.go Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 2020-12-27 11:34:19 +08:00
milestone.go
mirror.go
pull.go Deny wrong pull (#13308) 2020-10-26 11:05:27 +02:00
pull_review.go Add review request api (#11355) 2020-10-20 14:18:25 -04:00
release.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
release_attachment.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
release_tags.go Delete tag API (#13358) 2020-10-30 20:56:34 -05:00
repo.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
repo_test.go
star.go
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
subscriber.go
tag.go
topic.go
transfer.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
tree.go