Conversation
Add comprehensive documentation for pdsh compatibility mode to help users migrate from pdsh to bssh seamlessly. Documentation added: - docs/pdsh-migration.md: Complete migration guide with step-by-step instructions, troubleshooting, and migration checklist - docs/pdsh-options.md: Comprehensive option mapping reference with examples and detailed descriptions - docs/pdsh-examples.md: Real-world usage examples covering system administration, deployment, monitoring, and scripting patterns Shell configuration: - docs/shell-config/bash.sh: Bash aliases, functions, and environment variables for pdsh compatibility - docs/shell-config/zsh.sh: Zsh configuration with advanced features like cluster context and associative arrays - docs/shell-config/fish.fish: Fish shell configuration with abbreviations and interactive features - docs/shell-config/README.md: Setup instructions and usage examples Testing infrastructure: - tests/pdsh_compat/: Test suite for pdsh compatibility verification - test_basic.sh: Basic command execution tests - test_hostlist.sh: Hostlist expression expansion tests - test_options.sh: Option mapping verification tests - run_all_tests.sh: Test suite runner - README.md: Test suite documentation Other changes: - README.md: Enhanced pdsh compatibility section with links to new docs - src/cli/bssh.rs: Improved --pdsh-compat flag help text with migration guide reference Resolves #99
- Fix Fish shell input validation in bssh-select function (HIGH) - Preserve existing BSSH_CONFIG in Fish shell config (MEDIUM) - Fix test script arithmetic evaluation for set -e compatibility (MEDIUM) - Fix empty command test logic in test_basic.sh (MEDIUM) - Remove non-existent test_edge_cases.sh references from README (MEDIUM) - Use portable symlink path with $(which bssh) in README (LOW) - Quote PDSH_CMD variables properly in test scripts (LOW)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add comprehensive documentation and installation scripts for pdsh compatibility mode, enabling seamless migration from pdsh to bssh.
Changes
Documentation
docs/pdsh-migration.md: Complete migration guide with:
docs/pdsh-options.md: Comprehensive option mapping reference:
docs/pdsh-examples.md: Real-world usage patterns:
Shell Configuration
Testing Infrastructure
Other Changes
Test Plan
Manual Testing
Automated Testing
cd tests/pdsh_compat && ./run_all_tests.shMigration Impact
This PR provides complete resources for users migrating from pdsh:
Related Issues
Closes #99
Notes
Documentation Preview
Users can now: