-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add migrate repo archiver and packages storage support on command line #20757
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The space => tab change looks strange to me (is it required by the new linter?)
Otherwise LGTM except the question below.
Already updated, LGTM again.
a44c8f1
to
e283d58
Compare
Please update this too and the docs if there any: Flags: []cli.Flag{
cli.StringFlag{
Name: "type, t",
Value: "",
Usage: "Kinds of files to migrate, currently only 'attachments' is supported",
}, |
@wxiaoguang test added. |
That's automaticaly added: gitea/modules/storage/local.go Lines 51 to 53 in 2b4d43d
|
Codecov Report
@@ Coverage Diff @@
## main #20757 +/- ##
==========================================
+ Coverage 47.03% 47.04% +0.01%
==========================================
Files 987 988 +1
Lines 136398 136352 -46
==========================================
- Hits 64154 64151 -3
+ Misses 64361 64318 -43
Partials 7883 7883
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
…into lunny/migrate_more_storages
make L-G-T-M work. |
go-gitea#20757) * Add migrate repo archiver and packages storage support on command line * Fix typo * Use stdCtx * Use packageblob and fix command description * Add migrate packages unit tests * Fix comment year * Fix the migrate storage command line description * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Fix test Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
* giteaofficial/main: auth/reverseproxy: Add support for full name (go-gitea#20776) Add migrate repo archiver and packages storage support on command line (go-gitea#20757) Refactor AssertExistsAndLoadBean to use generics (go-gitea#20797) [skip ci] Updated translations via Crowdin Fix the commit diff route (go-gitea#20796) Fix push mirror address backend get error Address cause setting page display error (go-gitea#20593)
#20757) (#20806) * Add migrate repo archiver and packages storage support on command line (#20757) * Add migrate repo archiver and packages storage support on command line * Fix typo * Use stdCtx * Use packageblob and fix command description * Add migrate packages unit tests * Fix comment year * Fix the migrate storage command line description * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Fix test Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net> * bug fix Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
go-gitea#20757) * Add migrate repo archiver and packages storage support on command line * Fix typo * Use stdCtx * Use packageblob and fix command description * Add migrate packages unit tests * Fix comment year * Fix the migrate storage command line description * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/migrate_storage.go Co-authored-by: zeripath <art27@cantab.net> * Fix test Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
This PR also introduce generics syntax of Go1.18 and merged many iterate functions as one.
Fix #20566