From a1f659bea06c473621e626f4b0e79f0234777985 Mon Sep 17 00:00:00 2001 From: Alejandro Guijarro Monerris Date: Wed, 13 Aug 2025 16:35:34 +0200 Subject: [PATCH 1/2] feat(s3): add publishedPrefix to pathCache to avoid reupload of files --- s3/public.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3/public.go b/s3/public.go index 09b1afdb..fa0d96d8 100644 --- a/s3/public.go +++ b/s3/public.go @@ -346,7 +346,7 @@ func (storage *PublishedStorage) LinkFromPool(publishedPrefix, publishedRelPath, storage.pathCache = make(map[string]string, len(paths)) for i := range paths { - storage.pathCache[filepath.Join("pool", paths[i])] = md5s[i] + storage.pathCache[filepath.Join(publishedPrefix, "pool", paths[i])] = md5s[i] } } From 12b6b04055f5f183cfd7776c97a63be979e0bb4d Mon Sep 17 00:00:00 2001 From: Alejandro Guijarro Monerris Date: Wed, 13 Aug 2025 16:38:44 +0200 Subject: [PATCH 2/2] chore: add name to AUTHORS --- AUTHORS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 8eef529d..8e6267f8 100644 --- a/AUTHORS +++ b/AUTHORS @@ -69,4 +69,5 @@ List of contributors, in chronological order: * Leigh London (https://github.com/leighlondon) * Gordian Schoenherr (https://github.com/schoenherrg) * Silke Hofstra (https://github.com/silkeh) -* Itay Porezky (https://github.com/itayporezky) \ No newline at end of file +* Itay Porezky (https://github.com/itayporezky) +* Alejandro Guijarro Monerris (https://github.com/alguimodd)