Skip to content

Release 0.2.2#47

Closed
github-actions[bot] wants to merge 6 commits into
mainfrom
release/release/0.2.2
Closed

Release 0.2.2#47
github-actions[bot] wants to merge 6 commits into
mainfrom
release/release/0.2.2

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented May 28, 2026

Ha-Ree and others added 5 commits April 28, 2026 10:36
* see tests

* attempt doi

* requests untyped

* requests untyped 2
put() override — effective_subdir = location + subdir is passed to super().put(), which stores the file at
DirFS(bucket_name/root_dir)/location/subdir/file. Since root_dir is typically "", this means S3 key =
location/subdir/file. The return value from super() is os.path.join(location, subdir, filename) — the full
bucket-relative key — which is exactly what the server's is_in_bucket() and CopyObject(Key=...) need.

get_storage_url() fix — same principle: the returned key includes the location prefix so the server stores a
reference that the worker can later resolve.

get() needs no change — DirFileSystem rooted at bucket_name accepts bucket-relative keys like oasis/file.txt
directly. Both worker-side re-fetches and server-provided references (which may already carry the Django location
prefix) work without stripping.

root_dir / config_options unchanged — location and root_dir remain independent in storage config, so round-tripping
is clean and existing deployments with location="" behave identically to before.
* return LICENSE

* Fix setup
@sambles sambles changed the title Release release/0.2.2 Release 0.2.2 May 28, 2026
@sambles
Copy link
Copy Markdown
Contributor

sambles commented May 29, 2026

release branch name wrong, starting again

@sambles sambles closed this May 29, 2026
@sambles sambles deleted the release/release/0.2.2 branch May 29, 2026 07:47
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.

3 participants