Skip to content

docs: fix deprecated git:// URL in installation guide#1675

Merged
tleonhardt merged 2 commits into
python-cmd2:mainfrom
TejasAmle:claude/fix-deprecated-git-protocol-url
Jun 5, 2026
Merged

docs: fix deprecated git:// URL in installation guide#1675
tleonhardt merged 2 commits into
python-cmd2:mainfrom
TejasAmle:claude/fix-deprecated-git-protocol-url

Conversation

@TejasAmle
Copy link
Copy Markdown
Contributor

What

The "Install from GitHub" section of the installation docs uses the git:// protocol:

pip install -U git+git://github.com/python-cmd2/cmd2.git

GitHub disabled the unauthenticated Git protocol (git://) on March 15, 2022. Anyone following this instruction today will see an error like:

fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported.

Fix

Replace git:// with https://:

pip install -U git+https://github.com/python-cmd2/cmd2.git

Verification

The fixed command works correctly and pip is able to install cmd2 directly from the GitHub main branch.

GitHub disabled the unauthenticated Git protocol (git://) in 2021.
Replace with https:// so the install-from-GitHub command works.
@TejasAmle TejasAmle requested a review from tleonhardt as a code owner June 5, 2026 03:39
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.59%. Comparing base (0786a4e) to head (2a35236).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1675      +/-   ##
==========================================
+ Coverage   99.57%   99.59%   +0.01%     
==========================================
  Files          23       23              
  Lines        5677     5677              
==========================================
+ Hits         5653     5654       +1     
+ Misses         24       23       -1     
Flag Coverage Δ
unittests 99.59% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Member

@tleonhardt tleonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TejasAmle Hey Tejas, thanks for catching this and taking the time to fix it! Much appreciated.

@tleonhardt tleonhardt merged commit 018403d into python-cmd2:main Jun 5, 2026
29 checks passed
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.

2 participants