1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
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
..
admin migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
api/v1 Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 2020-12-27 11:34:19 +08:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
private Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
repo migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
routes Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
user Disable SSH key deletion of externally managed Keys (#13985) 2020-12-25 23:24:47 -05:00
utils Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
install.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00