summaryrefslogtreecommitdiff
path: root/app-admin/vasile/files/nuke-gitlab-switch-to-cgit.patch
blob: f0699cbb2782b7c3da8a29c2afe5836dc57c0935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh
index 90d62660fad1afd5e454055d5b4be79ed49d80c1..d85f36fba356caf04d7f985571f60ea8f0503509 100644
--- a/src/backend/f_modeswitch.sh
+++ b/src/backend/f_modeswitch.sh
@@ -33,7 +33,7 @@ dlmainportfulltree () {
 	if [ ! -d ""$jailmainportpath"/.git" ] ; then
 		einfo "I am injecting Gentoo ebuild tree"
 		cd "$jailmainportpath" && git init > /dev/null 2>&1
-		git remote add origin https://gitlab.com/redcore/portage.git
+		git remote add origin http://redcorelinux.org/cgit/portage/
 		git pull --depth=1 origin master
 		git branch -u origin/master master
 		rm -rf ""$jailmainportpath"/profiles/updates"
@@ -44,7 +44,7 @@ dlmainportmintree () {
 	if [ ! -d ""$jailmainportpath"/.git" ] ; then
 		einfo "I am injecting Gentoo ebuild tree"
 		cd "$jailmainportpath" && git init > /dev/null 2>&1
-		git remote add origin https://gitlab.com/redcore/portage.git
+		git remote add origin http://redcorelinux.org/cgit/portage/
 		git config core.sparsecheckout true
 		echo "profiles/*" >> .git/info/sparse-checkout
 		echo "metadata/*" >> .git/info/sparse-checkout
@@ -59,7 +59,7 @@ dladdonportfulltree () {
 	if [ ! -d ""$jailaddonportpath"/.git" ] ; then
 		einfo "I am injecting Redcore ebuild tree"
 		cd "$jailaddonportpath" && git init > /dev/null 2>&1
-		git remote add origin https://gitlab.com/redcore/redcore-desktop.git
+		git remote add origin http://redcorelinux.org/cgit/redcore-desktop/
 		git pull --depth=1 origin master
 		git branch -u origin/master master
 	fi
@@ -69,7 +69,7 @@ dladdonportmintree () {
 	if [ ! -d ""$jailaddonportpath"/.git" ] ; then
 		einfo "I am injecting Redcore ebuild tree"
 		cd "$jailaddonportpath" && git init > /dev/null 2>&1
-		git remote add origin https://gitlab.com/redcore/redcore-desktop.git
+		git remote add origin http://redcorelinux.org/cgit/redcore-desktop/
 		git config core.sparsecheckout true
 		echo "profiles/*" >> .git/info/sparse-checkout
 		echo "metadata/*" >> .git/info/sparse-checkout
@@ -82,7 +82,7 @@ dladdonportmintree () {
 dlportcfgtree () {
 	pushd /opt > /dev/null 2>&1
 	einfo "I am injecting portage configuration"
-	git clone https://gitlab.com/redcore/redcore-build.git
+	git clone http://redcorelinux.org/cgit/redcore-build/
 	popd > /dev/null 2>&1
 }