Skip to content

fix(strategy): limit git-latest to http and https - #58

Merged
noctuum merged 1 commit into
mainfrom
fix/git-latest-protocols
Oct 21, 2026
Merged

noctuum merged 1 commit into
mainfrom
fix/git-latest-protocols

Conversation

@noctuum

@noctuum noctuum commented Oct 21, 2026

Copy link
Copy Markdown
Member

git-latest cloned upstream.url of the git type with every transport git allows from a command line. A file:// URL or a plain path printed the commit count and hash of a repository on the machine that runs the check, and an ssh:// URL made git run ssh to the host in the URL. The clone now runs with GIT_ALLOW_PROTOCOL=http:https, as _git_source_sum in lib.sh does, and validate-pkg.sh requires https:// for that URL, as it does for webpage-scrape.

bats tests/ --recursive: 493 pass. shellcheck, shfmt and actionlint are clean.

validate-pkg.sh requires https:// for upstream.url of type git.
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@noctuum
noctuum merged commit c5c60b8 into main Oct 21, 2026
5 checks passed
@noctuum
noctuum deleted the fix/git-latest-protocols branch October 21, 2026 18:01
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.

1 participant