-
Notifications
You must be signed in to change notification settings - Fork 50
feat: Add pgschema.toml configuration file support #433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
NFUChen
wants to merge
39
commits into
pgplex:main
Choose a base branch
from
NFUChen:feat/upstream-pr-config-file
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+7,753
−5,209
Open
Changes from 32 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
dc8875d
feat: add config package with TOML parsing and LoadConfig
William-W-Chen 8d14729
test: add config merge, boolean override, and error case tests
William-W-Chen 2213d48
feat: add --config and --env flags to root command
William-W-Chen 4c3958f
feat: plan/apply/dump commands read config values as fallback for CLI…
William-W-Chen b92078e
feat: add multi-tenant schema loop for plan and apply commands
William-W-Chen cf1cac8
test: add integration tests for config file loading and env overrides
William-W-Chen dd416f9
docs: update comments for ResolvedConfig, envConfig, and fileConfig s…
William-W-Chen e6fe1f3
feat: add configuration file support with environment overrides and m…
William-W-Chen a837a08
feat: implement read-only transaction for schema discovery queries
William-W-Chen 5b23197
feat: add tests for read-only transaction enforcement in schema disco…
William-W-Chen 9a57b5a
refactor: streamline CI workflows for unit and integration tests with…
William-W-Chen d4dca47
feat: update Docker workflow to use GitHub Container Registry
William-W-Chen 03e59de
fix: ensure integration tests depend on unit tests in CI workflow
William-W-Chen f674c42
refactor: streamline CI workflows for unit and integration tests with…
William-W-Chen 6df6f1a
fix: ensure integration tests depend on unit tests in CI workflow
William-W-Chen 3130e92
refactor: consolidate unit and integration tests into a single CI job
William-W-Chen 413e19a
revert: undo unnecessary trailing newline change in ci-test.yml
William-W-Chen 3e2b293
Merge branch 'ci/matrix-improvements' into feat/config-file
William-W-Chen 0b07702
refactor: remove integration test job from CI workflow
William-W-Chen 282b531
Merge pull request #1 from NFUChen/feat/config-file
NFUChen 9b5d90f
refactor: enhance PreRunE hooks to apply configuration for apply, dum…
William-W-Chen f4e4d43
feat: enhance PreRunE hooks to apply configuration for apply, dump, a…
William-W-Chen a0c9516
revert: restore changes from upstream base main
William-W-Chen d058178
refactor: remove applyConfigToDump call from runDump function
William-W-Chen b3c5463
fix: skip multi-schema path when --plan flag is used in apply
William-W-Chen 2010913
fix: use URL-encoded DSN in DiscoverSchemas to prevent injection
William-W-Chen bd11fcc
fix: apply plan DB env vars in runPlanMultiSchema
William-W-Chen 56c1b23
fix: apply plan DB env vars in runApplyMultiSchema
William-W-Chen cfc80b8
fix: redirect multi-schema progress banners to stderr
William-W-Chen 953a0e5
fix: use per-schema output filenames to prevent overwrite in multi-sc…
William-W-Chen d5a78ea
fix: clear resolved config when config file is absent
William-W-Chen 268e82c
test: add tests for deriveSchemaOutputTarget and --plan multi-schema …
William-W-Chen 2073159
feat: implement multi-schema plan handling and output processing
William-W-Chen 19c132f
feat: refactor output processing to use Outputter interface for plans
William-W-Chen 49e13fa
feat: add human-readable preview output for multi-schema plans
William-W-Chen 3a34820
Refactor privilege and schema management plans to standardize JSON st…
William-W-Chen 7baa7b0
Refactor migration plan structure and related functions
William-W-Chen 51b0176
chore: rename go file
William-W-Chen 4e4d7bc
refactor: rename GeneratePlan to GenerateSchemaPlan for clarity
William-W-Chen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.