summaryrefslogtreecommitdiffstats
path: root/modules/tozt/files
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-03-19 15:05:37 -0400
committerJesse Luehrs <doy@tozt.net>2022-03-19 15:05:37 -0400
commit687fa4c800f9aee29c50e7e90c4ba3049182203b (patch)
tree8ee46a74591a14958700c5de97bb2aae3563dff1 /modules/tozt/files
parent5af66045cba333f81f5b7b0603aa6136c095381e (diff)
downloadpuppet-tozt-687fa4c800f9aee29c50e7e90c4ba3049182203b.tar.gz
puppet-tozt-687fa4c800f9aee29c50e7e90c4ba3049182203b.zip
github no longer supports git:// urls
Diffstat (limited to 'modules/tozt/files')
-rw-r--r--modules/tozt/files/cgitrc2
-rwxr-xr-xmodules/tozt/files/new-git-repo2
2 files changed, 2 insertions, 2 deletions
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));