-
Notifications
You must be signed in to change notification settings - Fork 53
Refactor PostgreSQLExecutor to support Windows compatibility for process management #1182
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
tboy1337
wants to merge
35
commits into
dbfixtures:main
Choose a base branch
from
tboy1337:edit
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.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
6c86cc3
Refactor PostgreSQLExecutor to support Windows compatibility for proc…
tboy1337 4d77539
Enhance PostgreSQL workflow for Windows compatibility and streamline …
tboy1337 9d1742a
Enhance PostgreSQL workflow and executor for improved cross-platform …
tboy1337 5fa0b10
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 429d26c
Refactor PostgreSQLExecutor and enhance Windows compatibility in tests
tboy1337 f78f5d4
Improve process termination handling in PostgreSQLExecutor and refine…
tboy1337 79233aa
Update GitHub workflows to include editable package installation
tboy1337 d80f234
Update oldest-postgres.yml to install package without dependencies
tboy1337 c9bc3bc
Enhance PostgreSQL workflow error handling
tboy1337 411a03d
Refactor PostgreSQLExecutor command templates for platform compatibility
tboy1337 89d842b
Fix PostgreSQL path in Windows workflow
tboy1337 5033863
Update pytest configuration in test_postgres_options_plugin.py
tboy1337 7d8f38e
Update pytest_plugins declaration in test_postgres_options_plugin.py …
tboy1337 1aceba3
Enhance platform-specific command templates and test coverage for Pos…
tboy1337 686197a
Add Windows locale setup fixture and update test cases for password h…
tboy1337 b615a6a
Update locale handling in executor.py and remove Windows locale setup…
tboy1337 e268bee
Refactor socket directory handling in test_executor.py for PostgreSQL…
tboy1337 d3a8b41
Update path handling for pytest uploads in single-postgres.yml
tboy1337 e7c690b
Update pytest command options in single-postgres.yml to include --bas…
tboy1337 0054df8
Refine pytest upload path in single-postgres.yml for improved artifac…
tboy1337 0afbfdd
Update workflows to use pipenv-setup@v4.4.0 with editable flag
tboy1337 f89d3b3
Update workflow files to use pipenv-run@v4.2.1 and refine conditional…
tboy1337 0b7de46
Refactor socket directory handling in test_executor.py and clean up t…
tboy1337 1b1ff4b
Fix formatting issues in PostgreSQL command templates and update test…
tboy1337 9c3aa4a
Update test assertions for PostgreSQL command formatting in test_exec…
tboy1337 e92879b
Add FreeBSD to platform parameterization in test_executor.py
tboy1337 9a8dc2b
Fixed trailing whitespace in single-postgres.yml and test_executor.py
tboy1337 400bddd
Refine pytest temporary directory handling in single-postgres.yml
tboy1337 a8d9dd6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ba73005
Update test documentation for Windows UNC paths in test_windows_compa…
tboy1337 44fc97e
Remove editable package changes extracted to separate PR
tboy1337 e4d8699
Refactor command quoting in PostgreSQLExecutor for consistency
tboy1337 bd12358
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e676a74
Enhance PostgreSQLExecutor to escape apostrophes in unixsocketdir
tboy1337 87abf24
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 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
Some comments aren't visible on the classic Files Changed page.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add Windows compatibility for ``PostgreSQLExecutor`` with platform-specific command templates (``UNIX_PROC_START_COMMAND`` / ``WINDOWS_PROC_START_COMMAND``) and a dedicated ``_windows_terminate_process`` method for graceful process termination on Windows. |
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.
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.