summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:28:20 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:28:20 +0100
commit5af3c57e7b377f0fc777fed02e57ed9a9bd38ec0 (patch)
tree618c9a2b911d1f7e66b51f9818f44953a33f390a
parentf740c9c96890338cfc2c155ae331b525b66b71bc (diff)
nuke gitlab, use our own git infrastructure
-rw-r--r--src/backend/f_modeswitch.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh
index 90d6266..d85f36f 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
}