You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check --schema values and add migrate --data-schema (S-007-12, S-007-13) #126
Builds part of spec S-007, docs/specs/007-data-copy-schemas.md (feature issue #82): the acceptance criteria below. Each needs a test that names its id (test_s007_<k>_..., or a proves: S-007-12 comment line).
This is the --source-schema argument checks and migrate --data-schema. The flag is --source-schema (MCP source_schema), on the maintainer's answer on #134; migrate --data-schema keeps its name.
S-007-12: --source-schema 'Bad;Name', --source-schema app --source-schema app, or cloudfall migrate --data-schema crm=public without --data crm=<file> exits PRECONDITION and runs no playbook
S-007-13: cloudfall migrate --data crm=<file> --data-schema crm=public --yes copies only public into crm, as data copy --source-schema public does
Triage: implement, for the next release candidate.
The plan: build the criteria listed in the body, as docs/specs/007-data-copy-schemas.md (S-007, approved in #103) says, each with a test that names its id. A departure from a criterion goes back as a question, never a quiet change. Build issues start in order: this one starts once every issue on its Depends on lines has closed. I'll link the PR here.
Triage: implement, now that #124 merged in #134. The flag is --source-schema (MCP source_schema) on @romamo's answer on #134, and the body and spec 007 say so (#157). Since #134, schema names are a PostgresSchemaName (non-empty, at most 63 bytes, no control character or brace); S-007-12 tightens it to the spec's ^[a-z_][a-z0-9_]*$ and refuses a repeated name, which #134 still de-duplicates. S-007-6 also covers a gap #134 left: a named schema missing from the source is skipped while the receipt lists it. An implementer is on it.
Released in v0.8.0rc11 (pre-release).
A plain install gets it with the next stable release.
If you filed this: react 👍 on this comment once it works for you, or reply if it doesn't.
Activity
shipmill-romamo commentedon Oct 27, 2026
Triage: implement, for the next release candidate.
The plan: build the criteria listed in the body, as
docs/specs/007-data-copy-schemas.md(S-007, approved in #103) says, each with a test that names its id. A departure from a criterion goes back as a question, never a quiet change. Build issues start in order: this one starts once every issue on itsDepends onlines has closed. I'll link the PR here.shipmill-romamo commentedon Oct 30, 2026
Triage: implement, now that #124 merged in #134. The flag is
--source-schema(MCPsource_schema) on@romamo's answer on #134, and the body and spec 007 say so (#157). Since #134, schema names are aPostgresSchemaName(non-empty, at most 63 bytes, no control character or brace); S-007-12 tightens it to the spec's^[a-z_][a-z0-9_]*$and refuses a repeated name, which #134 still de-duplicates. S-007-6 also covers a gap #134 left: a named schema missing from the source is skipped while the receipt lists it. An implementer is on it.Describe a resumed migrate step by this run's options
Refuse a data copy the target can't hold before dumping it (S-007-6..…
shipmill-romamo commentedon Oct 30, 2026
Released in v0.8.0rc11 (pre-release).
A plain install gets it with the next stable release.
If you filed this: react 👍 on this comment once it works for you, or reply if it doesn't.