Skip to content

Name loose S3 objects relative to their common prefix - #133

Merged
lfoppiano merged 1 commit into
fix/citation-list-inputsfrom
fix/s3-output-names
Nov 8, 2026
Merged

lfoppiano merged 1 commit into
fix/citation-list-inputsfrom
fix/s3-output-names

Conversation

@lfoppiano

Copy link
Copy Markdown
Member

Remote objects were named by basename only, so pdfs/a/x.pdf and pdfs/b/x.pdf listed under pdfs/ both mapped to x.grobid.tei.xml: within a chunk the second overwrote the first, across chunks it was skipped as already done. Objects are now named by their key relative to the common prefix of the listing, mirroring what local directories and archives do, and the citation-list download route keeps that relative path on disk.

Remote objects were named by basename only, so pdfs/a/x.pdf and
pdfs/b/x.pdf listed under pdfs/ both mapped to x.grobid.tei.xml: within a
chunk the second overwrote the first, across chunks it was skipped as
already done. Objects are now named by their key relative to the common
prefix of the listing, mirroring what local directories and archives do,
and the citation-list download route keeps that relative path on disk.
@lfoppiano
lfoppiano force-pushed the fix/s3-output-names branch from 659daad to 59601fd Compare November 8, 2026 08:52
@lfoppiano
lfoppiano force-pushed the fix/citation-list-inputs branch from bb95ff0 to 077d5f2 Compare November 8, 2026 08:52
@lfoppiano
lfoppiano merged commit 9a34be4 into fix/citation-list-inputs Nov 8, 2026
@lfoppiano
lfoppiano deleted the fix/s3-output-names branch November 8, 2026 09:20
@lfoppiano
lfoppiano restored the fix/s3-output-names branch November 8, 2026 09:23
@lfoppiano
lfoppiano deleted the fix/s3-output-names branch November 8, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant