-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Uniform all temporary directories and allow customizing temp path #32352
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
Merged
+360
−417
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4aefe79
to
f31dc5f
Compare
f31dc5f
to
dd72086
Compare
bcaca91
to
a1de833
Compare
a1de833
to
e40bfb8
Compare
Feel free to complete |
01b4cb2
to
47ea426
Compare
Does the new change look good to you? |
lunny
commented
Apr 7, 2025
Looks good to me except left tasks. |
wxiaoguang
approved these changes
Apr 8, 2025
dc6e816
to
60f8f10
Compare
60f8f10
to
a7371fa
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
docs-update-needed
The document needs to be updated synchronously
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
modifies/cli
PR changes something on the CLI, i.e. gitea doctor or gitea admin
modifies/go
Pull requests that update Go code
modifies/migrations
modifies/templates
This PR modifies the template files
modifies/translation
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR uniform all temporary directory usage so that it will be easier to manage.
Relate to #31792
setting.Repository.Local.LocalCopyPath
now will besetting.TempPath/local-repo
and the customized path is removed.setting.Repository.Upload.TempPath
now will besettting.TempPath/uploads
and the customized path is removed.setting.Packages.ChunkedUploadPath
now will besettting.TempPath/package-upload
and the customized path is removed.setting.SSH.KeyTestPath
now will besettting.TempPath/ssh_key_test
and the customized path is removed.TODO: