-
-
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
Check LFS/Packages settings in dump and doctor command #23631
Conversation
If there were already existing LFS files before LFS was disabled, do we need to pack them in when executing dump? |
Yes, this is a question should be discussed. IMO, all the LFS objects should be handled properly before switching the |
I am just curious, why not just copy the whole data directories? That would be much easier. Maybe there might be some junk files (eg: lost reference in database), but I think storage is cheap, whole copying is the best choice in my mind. |
Because configuration allow some data don't store into |
Hmm, some data are not even stored on file-system, maybe in ObjectStorage. |
* upstream/main: Fix incorrect `HookEventType` of pull request review comments (go-gitea#23650) [skip ci] Updated translations via Crowdin Fix codeblocks in the cheat sheet (go-gitea#23664) Drop migration for ForeignReference (go-gitea#23605) Fix new issue/pull request btn margin when it is next to sort (go-gitea#23647) A tool to help to backport locales, changes source strings to fix other broken translations (go-gitea#23633) Fix incorrect `show-modal` and `show-panel` class (go-gitea#23660) Restructure documentation. Now the documentation has installation, administration, usage, development, contributing the 5 main parts (go-gitea#23629) Check LFS/Packages settings in dump and doctor command (go-gitea#23631) Use a general approach to show tooltip, fix temporary tooltip bug (go-gitea#23574) Improve workflow event triggers (go-gitea#23613) Improve `<SvgIcon>` to make it output `svg` node and optimize performance (go-gitea#23570)
I was unable to create a backport for 1.19, please send one manually. 🍵 |
Close go-gitea#23622 As described in the issue, disabling the LFS/Package settings will cause errors when running `gitea dump` or `gitea doctor`. We need to check the settings and the related operations should be skipped if the settings are disabled. Co-authored-by: Lunny Xiao <[email protected]>
Close #23622
As described in the issue, disabling the LFS/Package settings will cause errors when running
gitea dump
orgitea doctor
. We need to check the settings and the related operations should be skipped if the settings are disabled.