8d7704b5a2
Fix dump and restore respository ( #16698 )
...
* Fix dump and restore
* return different error message for get commit
* Fix missing delete release attachment when deleting repository
* Fix ci and add some comments
Co-authored-by: zeripath <[email protected] >
2021-08-30 21:18:15 -04:00
6d69df2804
Add Status Updates whilst Gitea migrations are occurring ( #15076 )
...
* Add migrating message
Signed-off-by: Andrew Thornton <[email protected] >
* simplify messenger
Signed-off-by: Andrew Thornton <[email protected] >
* make messenger an interface
Signed-off-by: Andrew Thornton <[email protected] >
* rename
Signed-off-by: Andrew Thornton <[email protected] >
* prepare for merge
Signed-off-by: Andrew Thornton <[email protected] >
* as per tech
Signed-off-by: Andrew Thornton <[email protected] >
Co-authored-by: 6543 <[email protected] >
2021-06-16 18:02:24 -04:00
Lunny Xiao and GitHub
e5723d6556
Move restore repo to internal router and invoke from command to avoid open the same db file or queues files ( #15790 )
...
* Move restore repo to internal router and invoke from command to avoid open the same db file or queues files
* Follow @zeripath's review
* set no timeout for resotre repo private request
* make restore repo cancelable
2021-05-10 15:57:45 +08:00
e79dae29cc
Fix repo-restore bug with poster not replaced ( #14759 )
...
* Fix restore bug
* Fix restore bug
Co-authored-by: Lauris BH <[email protected] >
Co-authored-by: John Olheiser <[email protected] >
Co-authored-by: 6543 <[email protected] >
2021-02-22 11:57:41 +08:00
Lunny Xiao and GitHub
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