Commit 5e6da988 authored by Ayush Tiwari's avatar Ayush Tiwari

README: Change URL to use the new Gitlab repository in test and README files

Note that we don't change the URL for BAD_GIT_REPOSITORY as we need them
to return 500 while trying to clone. If we use Nexedi Gitlab repo for
non-existing repo, we get redirected to login page. Hence, we keep using
git.erp5.org for `repo/nowhere`.

/reviewed-on !6
parent a4412af1
......@@ -143,7 +143,7 @@ the recipe will pick up the latest commit on the remote master branch::
...
... [git-clone]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... use-cache = true
... """)
......@@ -179,8 +179,8 @@ run it will take the latest commit on this remote branch::
...
... [git-clone]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... branch = build
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... branch = build_remove_downloaded_files
... """)
Then let's run the buildout::
......@@ -201,7 +201,7 @@ And let's see that current branch is "build"::
>>> import subprocess
>>> cd('parts', 'git-clone')
>>> print(subprocess.check_output(['git', 'branch'], universal_newlines=True))
* build
* build_remove_downloaded_files
When updating, it will do a "git fetch; git reset build"::
......@@ -225,7 +225,7 @@ This option has priority over the "branch" option::
...
... [git-clone]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... revision = 2566127
... """)
......@@ -274,7 +274,7 @@ extend an existing section specifying a branch)::
...
... [git-clone-with-branch]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... revision = 2566127
...
... [git-clone]
......@@ -307,7 +307,7 @@ and branch parameter is ignored::
...
... [git-clone]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... branch = mybranch
... revision = 2566127
... """)
......@@ -347,7 +347,7 @@ erase your local modifications by specifying the "develop" flag::
...
... [git-clone]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... develop = true
... """)
......@@ -412,7 +412,7 @@ In case of uninstall, buildout will keep the repository directory::
...
... [git-clone]
... recipe = slapos.recipe.build:gitclone
... repository = http://git.erp5.org/repos/slapos.recipe.build.git
... repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
... develop = true
... # Triggers uninstall/install because of section signature change
... foo = bar
......
......@@ -13,7 +13,7 @@ from slapos.recipe.gitclone import GIT_CLONE_ERROR_MESSAGE, \
optionflags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
GIT_REPOSITORY = 'http://git.erp5.org/repos/slapos.recipe.build.git'
GIT_REPOSITORY = 'https://lab.nexedi.com/nexedi/slapos.recipe.build.git'
BAD_GIT_REPOSITORY = 'http://git.erp5.org/repos/nowhere'
REVISION = '2566127'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment