Skip to content

Commit

Permalink
is_vcs_package_ood(): use https:// instead of git:// for GitHub a…
Browse files Browse the repository at this point in the history
…nd GitLab.
  • Loading branch information
trizen committed Dec 1, 2022
1 parent 7340353 commit e7c9b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trizen
Original file line number Diff line number Diff line change
Expand Up @@ -2392,7 +2392,7 @@ sub is_vcs_package_ood ($pkgname) {
has_new_github_commit($owner, $repo, $pkgname)
// do {
$lconfig{use_github_api} = 0; # GitHub rate limit has been reached
has_new_git_commit("git://github.com/$owner/$repo.git", $pkgname) # fallback
has_new_git_commit("https://github.com/$owner/$repo.git", $pkgname) # fallback
}
);
#>>>
Expand All @@ -2411,7 +2411,7 @@ sub is_vcs_package_ood ($pkgname) {
has_new_gitlab_commit($owner, $repo, $pkgname)
// do {
$lconfig{use_gitlab_api} = 0; # GitLab rate limit has been reached
has_new_git_commit("git://gitlab.com/$owner/$repo.git", $pkgname) # fallback
has_new_git_commit("https://gitlab.com/$owner/$repo.git", $pkgname) # fallback
}
);
#>>>
Expand Down

0 comments on commit e7c9b74

Please sign in to comment.