Skip to content
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) #23730

Merged
merged 2 commits into from Mar 27, 2023

Conversation

Zettat123
Copy link
Contributor

@Zettat123 Zettat123 commented Mar 27, 2023

Backport #23631
Close #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.

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 <xiaolunwen@gmail.com>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 27, 2023
@lunny lunny added the type/bug label Mar 27, 2023
@lunny lunny added this to the 1.19.1 milestone Mar 27, 2023
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 27, 2023
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 27, 2023
@lunny lunny merged commit b6a2323 into go-gitea:release/v1.19 Mar 27, 2023
1 check passed
@lunny lunny removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 28, 2023
@Zettat123 Zettat123 deleted the backport/23631_to_v1.19 branch March 29, 2023 01:17
madeline-holland added a commit to madeline-holland/gitea-backup that referenced this pull request Mar 31, 2023
  - go-gitea/gitea#23730
  - Explicitly skips LFS data, if you're not TEN7 and use this, be careful!
  - Also skips Index from backup, since this doesn't take long to regenerate.
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants