Add `pipekit export` / `pipekit apply` (pipekit/config_io.py) to serialise the DB's config — drivers, connections, modules (+ columns, watermarks, hooks), groups, schedules — to a git-trackable text tree under config/, and rehydrate it. SQLite stays runtime state; definitions become diffable/reviewable/ revertible. - config only: run_log/group_run/settings and per-run state columns excluded - name-keyed refs (portable across databases); source_query in .sql sidecars; columns as real JSON arrays for line-by-line diffs - newline-normalised so CRLF-vs-LF is never a spurious change - apply is create/update by name; child collections fully synced; top-level deletes gated behind --prune; --dry-run prints the plan - round-trip is identity (export -> apply --dry-run == nothing to do) Commits the current config/ as the first baseline, capturing the freshly populated columns_json for rm00101/rm00301/iv00101. Documented in SPEC.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
689 B
JSON
24 lines
689 B
JSON
[
|
|
{
|
|
"name": "db2-jt400",
|
|
"kind": "db2",
|
|
"jar_file": "/opt/jrunner/jrunner/build/install/jrunner/bin/../lib/jt400-11.0.jar",
|
|
"class_name": "com.ibm.as400.access.AS400JDBCDriver",
|
|
"url_template": null
|
|
},
|
|
{
|
|
"name": "mssql-jdbc",
|
|
"kind": "mssql",
|
|
"jar_file": "/opt/jrunner/jrunner/build/install/jrunner/bin/../lib/mssql-jdbc-9.2.0.jre8.jar",
|
|
"class_name": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
|
|
"url_template": null
|
|
},
|
|
{
|
|
"name": "postgresql",
|
|
"kind": "pg",
|
|
"jar_file": "/opt/jrunner/jrunner/build/install/jrunner/bin/../lib/postgresql-42.5.0.jar",
|
|
"class_name": "org.postgresql.Driver",
|
|
"url_template": null
|
|
}
|
|
]
|