Let a new cabinet know the buckets without being told #65

Open
charles wants to merge 0 commits from feat/r2-defaults-in-repo into main
Owner

Every R2 option defaulted to empty, so the mirror only existed for a cabinet whose config already named it. A freshly installed cabinet fell back to the public collections silently.

The endpoint and bucket names are the address, not access. They belong in the repo; credentials stay per cabinet and uncommitted.

Every R2 option defaulted to empty, so the mirror only existed for a cabinet whose config already named it. A freshly installed cabinet fell back to the public collections silently. The endpoint and bucket names are the address, not access. They belong in the repo; credentials stay per cabinet and uncommitted.
Every R2 option defaulted to "", so the mirror existed only for a cabinet
whose configuration already named it. This one's does because it was edited
by hand; a freshly installed cabinet's does not, and it fell back to the
public collections with nothing said about why its artwork was the poor copy.

The endpoint and the bucket names are the mirror's address, not access to it,
and they belong in the repository. The credentials stay per cabinet and
uncommitted -- knowing where the buckets are does not open them, and without
a key the fetch is skipped rather than failed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nz3es8PajUzXmqJJiK6yRB
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/r2-defaults-in-repo:feat/r2-defaults-in-repo
git switch feat/r2-defaults-in-repo

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/r2-defaults-in-repo
git switch feat/r2-defaults-in-repo
git rebase main
git switch main
git merge --ff-only feat/r2-defaults-in-repo
git switch feat/r2-defaults-in-repo
git rebase main
git switch main
git merge --no-ff feat/r2-defaults-in-repo
git switch main
git merge --squash feat/r2-defaults-in-repo
git switch main
git merge --ff-only feat/r2-defaults-in-repo
git switch main
git merge feat/r2-defaults-in-repo
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/arcade-nix!65
No description provided.