Skip to content

fix: normalize scp-style repository URLs#121

Open
hkJerryLeung wants to merge 1 commit into
alphacrack:mainfrom
hkJerryLeung:fix/issue-92-scp-repo-name
Open

fix: normalize scp-style repository URLs#121
hkJerryLeung wants to merge 1 commit into
alphacrack:mainfrom
hkJerryLeung:fix/issue-92-scp-repo-name

Conversation

@hkJerryLeung

Copy link
Copy Markdown

Summary

  • normalize scp-style Git URLs before extracting the owner/repository name
  • add regression coverage for HTTPS, .git, trailing-slash, and scp-style forms

Fixes #92

Tests

  • .venv/bin/python -m pytest tests/ -q (285 passed)
  • .venv/bin/ruff check .

@hkJerryLeung hkJerryLeung requested a review from alphacrack as a code owner July 14, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tutorial: _repo_name mangles scp-style git URLs (git@github.com:owner/repo)

1 participant