1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-06 22:33:19 -04:00
pkg-proxy/internal/server
Andrew Nesbitt 24d5e77443
Fix cross-device link error when running in Docker with volumes (#66)
`fileblob` creates temp files in `os.TempDir()` (`/tmp`) by default,
then uses `os.Rename` to move them to the final path. When the storage
directory is on a different filesystem (e.g. a Docker volume mount at
`/data`), the rename fails with "invalid cross-device link".

Set `no_tmp_dir=true` on file:// bucket URLs so fileblob creates temp
files next to the final destination instead.

Fixes #65
2026-04-06 13:07:31 +01:00
..
static Add Container, Debian, RPM handlers and enrichment API 2026-01-29 19:35:15 +00:00
templates Escape user-controlled strings in browse source JavaScript 2026-03-12 11:59:14 +00:00
api.go Fix Composer minified metadata expansion and namespaced package routing (#63) 2026-04-06 13:07:02 +01:00
api_test.go Fix Composer minified metadata expansion and namespaced package routing (#63) 2026-04-06 13:07:02 +01:00
browse.go Fix Composer minified metadata expansion and namespaced package routing (#63) 2026-04-06 13:07:02 +01:00
browse_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
dashboard.go Correct ecosystem name in UI for Go (golang). (#64) 2026-04-05 16:20:57 +01:00
middleware.go Refactoring and features 2026-02-03 22:40:40 +00:00
middleware_test.go Add handler download flow and server utility tests 2026-03-17 20:31:54 +00:00
packages_list_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
resolve.go Fix Composer minified metadata expansion and namespaced package routing (#63) 2026-04-06 13:07:02 +01:00
resolve_test.go Fix Composer minified metadata expansion and namespaced package routing (#63) 2026-04-06 13:07:02 +01:00
server.go Fix Composer minified metadata expansion and namespaced package routing (#63) 2026-04-06 13:07:02 +01:00
server_test.go Fix cross-device link error when running in Docker with volumes (#66) 2026-04-06 13:07:31 +01:00
static.go Add Container, Debian, RPM handlers and enrichment API 2026-01-29 19:35:15 +00:00
swagger_gen.go Add generated OpenAPI docs support 2026-03-12 11:49:31 +00:00
templates.go Lazy-load HTML templates behind sync.Once (#59) 2026-04-06 13:06:25 +01:00
templates_test.go Lazy-load HTML templates behind sync.Once (#59) 2026-04-06 13:06:25 +01:00