From 687fa4c800f9aee29c50e7e90c4ba3049182203b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 19 Mar 2022 15:05:37 -0400 Subject: github no longer supports git:// urls --- modules/tozt/files/cgitrc | 2 +- modules/tozt/files/new-git-repo | 2 +- modules/tozt/manifests/metabase.pp | 2 +- modules/tozt/manifests/site.pp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/tozt') diff --git a/modules/tozt/files/cgitrc b/modules/tozt/files/cgitrc index 4564b16..fcd867d 100644 --- a/modules/tozt/files/cgitrc +++ b/modules/tozt/files/cgitrc @@ -13,7 +13,7 @@ repository-sort=age max-stats=year max-repo-count=500 -clone-url=doy@tozt.net:git/$CGIT_REPO_URL https://git.tozt.net/$CGIT_REPO_URL git@github.com:doy/$CGIT_REPO_URL git://github.com/doy/$CGIT_REPO_URL https://github.com/doy/$CGIT_REPO_URL +clone-url=doy@tozt.net:git/$CGIT_REPO_URL https://git.tozt.net/$CGIT_REPO_URL git@github.com:doy/$CGIT_REPO_URL https://github.com/doy/$CGIT_REPO_URL snapshots=tar.gz zip readme=:README.md diff --git a/modules/tozt/files/new-git-repo b/modules/tozt/files/new-git-repo index 0519242..43c619b 100755 --- a/modules/tozt/files/new-git-repo +++ b/modules/tozt/files/new-git-repo @@ -33,7 +33,7 @@ package NewGitRepo { git( 'clone', '--bare', - "git://github.com/$github_user/$opts{name}", + "https://github.com/$github_user/$opts{name}", $new_dir ); git(qw(remote rm origin)); diff --git a/modules/tozt/manifests/metabase.pp b/modules/tozt/manifests/metabase.pp index d3f6c66..9e0ed18 100644 --- a/modules/tozt/manifests/metabase.pp +++ b/modules/tozt/manifests/metabase.pp @@ -69,7 +69,7 @@ class tozt::metabase { } exec { "clone metabase-utils": - command => "/usr/bin/git clone git://github.com/doy/metabase-utils", + command => "/usr/bin/git clone https://github.com/doy/metabase-utils", user => "doy", cwd => "/home/doy/coding", creates => "/home/doy/coding/metabase-utils", diff --git a/modules/tozt/manifests/site.pp b/modules/tozt/manifests/site.pp index f28619a..25cde43 100644 --- a/modules/tozt/manifests/site.pp +++ b/modules/tozt/manifests/site.pp @@ -8,7 +8,7 @@ class tozt::site { } exec { "clone tozt.net": - command => "/usr/bin/git clone git://github.com/doy/tozt-hugo", + command => "/usr/bin/git clone https://github.com/doy/tozt-hugo", user => "doy", cwd => "/home/doy/coding", creates => "/home/doy/coding/tozt-hugo", -- cgit v1.2.3-54-g00ecf