Skip to content

Document the s3:// remote for dolt and doltgres - #174

Open
macneale4 wants to merge 1 commit into
devfrom
macneale4-claude/s3-remotes
Open

Document the s3:// remote for dolt and doltgres#174
macneale4 wants to merge 1 commit into
devfrom
macneale4-claude/s3-remotes

Conversation

@macneale4

Copy link
Copy Markdown
Contributor

No description provided.

Adds an S3-compatible section to the remote options on both sites, between
AWS and GCS, covering what the protocol is, how credentials are resolved, and
how to address a provider that is not AWS.

The three query parameters get a table and worked R2 and MinIO examples,
because the interesting parts are not obvious: endpoint and region fall back
to the SDK chain but path-style does not and can only be set in the url;
MinIO generally needs path-style and R2 does not; and an unrecognized
parameter is an error rather than being ignored, so a typo is reported when
the remote is added rather than surfacing later as a connection failure. The
dolt page also warns to quote the url, since an unquoted ampersand
backgrounds the command.

The doltgres page is written in its own idiom rather than copied: sql
function calls instead of cli, credentials framed as what the server process
sees, and no shell quoting advice, which does not apply inside a quoted sql
string. Doltgres inherits the scheme through dolt's dbfactory once its dolt
dependency is bumped.

cli.md is generated by dump-docs, so it is untouched here; its scheme list
and remote help text come from the dolt source and will update when it is
regenerated.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@coffeegoddd coffeegoddd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants