feat: add man page support to pixi global#4133
Closed
asmeurer wants to merge 2 commits intoprefix-dev:mainfrom
Closed
feat: add man page support to pixi global#4133asmeurer wants to merge 2 commits intoprefix-dev:mainfrom
asmeurer wants to merge 2 commits intoprefix-dev:mainfrom
Conversation
Add automatic man page symlinking for pixi global commands following the same pattern as completions. Man pages are discovered from package environments and symlinked to ~/.pixi/share/man when commands are exposed, and removed when commands are no longer exposed. Key features: - Only symlinks man pages for commands exposed in ~/.pixi/bin - Supports standard man page sections (man1, man3, man5, man8) with priority ordering - Automatic cleanup of broken symlinks during sync operations - Unix-only implementation with graceful fallback on other platforms - Comprehensive test coverage including unit and integration tests Resolves prefix-dev#4131 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Fix CI failures by properly conditionalizing man page sync calls for Unix-only systems. This ensures Windows compilation succeeds while maintaining full functionality on Unix platforms. Changes: - Add #[cfg(unix)] guards around sync_man_pages() calls - Fix integration test fixture name (default_channel_1 -> dummy_channel_1) - Ensure graceful fallback on non-Unix systems 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
@asmeurer thanks for your contribution. While we don't mind the usage of AI for contributions, please take extra care when reviewing them. |
|
Is there a plan to finish and merge this? It would be a very helpful feature. |
Contributor
|
@OndrejMarsalek This PR needs some more work and we've not found the time/priorty to work on it. Contributions are welcome. I'll close this PR as stale and the conflict being to big for now. |
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.
Add automatic man page symlinking for pixi global commands following the same pattern as completions. Man pages are discovered from package environments and symlinked to ~/.pixi/share/man when commands are exposed, and removed when commands are no longer exposed.
Key features:
Resolves #4131
🤖 Generated with Claude Code