feat: add typed manpage integrations#135
Conversation
There was a problem hiding this comment.
ian-pascoe has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (17)
📝 WalkthroughWalkthroughAdds a new man_page integration: manifest shape and validation, installer layout/projection/exposure (including glob expansion and man-dir routing), CLI shell-init changes to export MANPATH, tests across crates, docs updates, and a globset dependency. ChangesMan Page Integration
Sequence Diagram(s)sequenceDiagram
participant Manifest as Manifest
participant Core as Core (manifest)
participant Installer as Installer (exposure)
participant FS as FileSystem (install-root / share/man)
participant CLI as CLI (init-shell)
Manifest->>Core: parse manifest with `man_page` integrations
Core-->>Manifest: validated `ManPage` integration
CLI->>Installer: request projected_integrations_for_install_root(...)
Installer->>Installer: expand glob(s) and build projections
Installer->>FS: write projections under `<prefix>/share/man/`
Installer-->>CLI: return projections
CLI->>FS: check layout.man_dir() exists
CLI->>CLI: emit shell init snippet including MANPATH when applicable
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
563a7c7 to
676b13c
Compare
There was a problem hiding this comment.
ian-pascoe has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
676b13c to
d8d317c
Compare
There was a problem hiding this comment.
ian-pascoe has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Summary
Validation
Summary by CodeRabbit
New Features
Documentation
Behavior