fix(installer): support ssh custom-source ports#2480
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds ChangesSSH URL Support in Custom Module Manager
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 Augment PR SummarySummary: This PR extends the installer’s Changes:
Technical Notes: Cache keys for SSH protocol sources include the 🤖 Was this summary useful? React with 👍 or 👎 |
87d194b to
44f7572
Compare
|
augment review |
44f7572 to
16ff771
Compare
|
augment review |
|
augment review |
What
Added support for
ssh://Git URLs with optional custom ports in installer--custom-sourceparsing.Why
Self-hosted Git servers may expose SSH on non-standard ports, and users need to pass URLs like
ssh://git@host:2222/path/repo.gitdirectly without relying on SSH config aliases.Fixes #2476.
How
ssh://user@host[:port]/path/repo.gitURLs while preserving the originalcloneUrl.cacheKeyanddisplayNamefrom the SSH URL path, including the custom port incacheKey.Testing
Ran
npm run test:urlsto verify URL parsing regressions, including the new SSH custom-port cases. Also ran ESLint and Prettier checks on the changed files.