Skip to content

Clone GitHub and GitLab repository URLs given as inputs - #2253

Open
codewithfourtix wants to merge 1 commit into
aboutcode-org:mainfrom
codewithfourtix:recognize-forge-repository-urls
Open

codewithfourtix wants to merge 1 commit into
aboutcode-org:mainfrom
codewithfourtix:recognize-forge-repository-urls

Conversation

@codewithfourtix

Copy link
Copy Markdown

Fixes #2252

A GitHub or GitLab repository home URL, such as https://gitlab.com/libeigen/eigen, was fetched over HTTP, which downloads the HTML page.

  • get_fetcher now clones these URLs with fetch_git_repo, the same way as .git URLs.
  • Archive, file and other page URLs on these hosts (/archive/..., /tree/..., /-/...) still use fetch_http.
  • Tests added, and the Git Repository section of the inputs docs is updated.

…#2252

A repository home URL such as https://gitlab.com/libeigen/eigen was
fetched over HTTP, which downloads the HTML page. Clone it like a .git
URL. Archive, file and other page URLs on these hosts still use HTTP.

Signed-off-by: Ali Zulfiqar <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 12, 2026 04:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
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.

Recognize more URLs to download inputs

2 participants