Browse Source
Re-attempt to delete temporary upload if the file is locked by another process (#12447)
Re-attempt to delete temporary upload if the file is locked by another process (#12447)
Replace all calls to os.Remove/os.RemoveAll by retrying util.Remove/util.RemoveAll and remove circular dependencies from util. Fix #12339 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: silverwind <me@silverwind.io>mj-v1.14.3
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
60 changed files with 304 additions and 202 deletions
-
4build/generate-gitignores.go
-
4build/generate-licenses.go
-
3cmd/doctor.go
-
9cmd/dump.go
-
19contrib/pr/checkout.go
-
6integrations/api_repo_test.go
-
3integrations/create_no_session_test.go
-
5integrations/git_helper_for_declarative_test.go
-
10integrations/git_test.go
-
3integrations/gpg_git_test.go
-
13integrations/integration_test.go
-
5integrations/migration-test/migration_test.go
-
14integrations/ssh_key_test.go
-
4models/admin.go
-
3models/attachment.go
-
3models/helper_directory.go
-
4models/migrations/v112.go
-
5models/migrations/v115.go
-
4models/migrations/v96.go
-
6models/org.go
-
12models/repo.go
-
17models/ssh_key.go
-
28models/unit_tests.go
-
3models/upload.go
-
6models/user.go
-
3modules/git/commit_info_test.go
-
5modules/git/hook.go
-
4modules/git/repo_compare_test.go
-
6modules/git/repo_tag_test.go
-
3modules/graceful/net_unix.go
-
5modules/indexer/code/bleve.go
-
4modules/indexer/code/bleve_test.go
-
5modules/indexer/issues/bleve.go
-
4modules/indexer/issues/bleve_test.go
-
4modules/indexer/issues/indexer_test.go
-
7modules/lfs/content_store.go
-
8modules/log/file.go
-
9modules/log/file_test.go
-
8modules/markup/external/external.go
-
4modules/queue/queue_disk_channel_test.go
-
4modules/queue/queue_disk_test.go
-
4modules/repository/create.go
-
7modules/repository/generate.go
-
5modules/repository/hooks.go
-
8modules/repository/init.go
-
8modules/repository/repo.go
-
57modules/util/remove.go
-
3modules/util/sanitize.go
-
18modules/util/url.go
-
35modules/util/util_test.go
-
3routers/repo/http.go
-
4routers/repo/lfs.go
-
4routers/repo/settings_test.go
-
6routers/user/auth.go
-
16routers/utils/utils.go
-
34routers/utils/utils_test.go
-
7services/pull/check.go
-
3services/pull/patch.go
-
4services/pull/pull.go
-
4services/release/release.go