-
Notifications
You must be signed in to change notification settings - Fork 11
tests(config-variations): Git schemes in repo URLs #490
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
Conversation
Reviewer's Guide by SourceryThis pull request adds support for parsing Git URLs in the SCP format (e.g., No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #490 +/- ##
==========================================
+ Coverage 54.05% 54.28% +0.22%
==========================================
Files 40 40
Lines 3637 3644 +7
Branches 794 795 +1
==========================================
+ Hits 1966 1978 +12
+ Misses 1319 1311 -8
- Partials 352 355 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tony - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adding a test case with
is_explicit=False
to ensure the regex patterns work as expected without explicit matching.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟡 Complexity: 1 issue found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
815440d
to
bd93848
Compare
… explicit VCS matches; update docs, tests, and create_project overloads
bd93848
to
1d96ef7
Compare
Document the new feature that allows using SCP-style Git URLs (e.g., [email protected]:org/repo.git) without requiring a git+ssh:// prefix. refs: #490
Document the new feature that allows using SCP-style Git URLs (e.g., [email protected]:org/repo.git) without requiring a git+ssh:// prefix. refs: #490
457e6f8
to
de59052
Compare
Related to vcs-python/vcspull#49, vcs-python/vcspull#426
In main repo URLs:
Main repo URLs require
libvcs.url.git.GitURL
support:Scheme:
[email protected]:org/repo.git
Example:
[email protected]:tmux-python/tmuxp.git
Note: The workaround is to prepend
git+ssh://[email protected]:tmux-python/tmuxp.git
Summary by Sourcery
Add support for detecting and parsing Git URLs with SCP-style syntax (e.g., [email protected]:org/repo.git) in the libvcs library
New Features:
Enhancements:
Tests: