Skip to content
Snippets Groups Projects
Unverified Commit 2a85b31a authored by Oliver Smith's avatar Oliver Smith
Browse files

gitlab.com -> gitlab.postmarketos.org

parent 666df6d1
No related branches found
No related tags found
No related merge requests found
Pipeline #208059 canceled
......@@ -6,4 +6,4 @@ Common scripts for continuous integration in postmarketOS projects.
Make sure that the "Allow commits from members who can merge to the target
branch" checkbox is ticked.
([usage example](https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/merge_requests/3))
\ No newline at end of file
([usage example](https://gitlab.postmarketos.org/postmarketOS/postmarketos-android-recovery-installer/-/merge_requests/3))
\ No newline at end of file
......@@ -32,13 +32,13 @@ def get_url_api():
project_path = urllib.parse.quote_plus(project_path)
mr_id = os.environ["CI_MERGE_REQUEST_IID"]
url = "https://gitlab.com/api/v4/projects/{}/merge_requests/{}"
url = "https://gitlab.postmarketos.org/api/v4/projects/{}/merge_requests/{}"
return url.format(project_path, mr_id)
def get_url_mr_edit():
""" :returns: the link where the user can edit their own MR """
url = "https://gitlab.com/{}/-/merge_requests/{}/edit"
url = "https://gitlab.postmarketos.org/{}/-/merge_requests/{}/edit"
return url.format(os.environ["CI_MERGE_REQUEST_PROJECT_PATH"],
os.environ["CI_MERGE_REQUEST_IID"])
......
......@@ -4,13 +4,13 @@
# usage: install_pmbootstrap.sh [ADDITIONAL_PACKAGE, ...]
: "${PMBOOTSTRAP_TAG:="master"}"
: "${PMBOOTSTRAP_URL:="https://gitlab.com/postmarketOS/pmbootstrap.git"}"
: "${PMBOOTSTRAP_URL:="https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git"}"
# Add the "origin-original" remote to an existing pmaports.git clone, so
# pmbootstrap can use its channels.cfg.
add_remote_origin_original() {
# Skip if existing (happens in single runner setup)
remote_url="https://gitlab.com/postmarketOS/pmaports.git"
remote_url="https://gitlab.postmarketos.org/postmarketOS/pmaports.git"
remote_url_existing="$(git -C "$pmaports" \
remote get-url origin-original 2>/dev/null \
|| true)"
......@@ -28,7 +28,7 @@ add_remote_origin_original() {
# Add the remote, display the output only on error
if ! git -C "$pmaports" \
remote add -f origin-original \
"https://gitlab.com/postmarketOS/pmaports.git" \
"https://gitlab.postmarketos.org/postmarketOS/pmaports.git" \
>/tmp/git_remote_add 2>&1; then
echo "ERROR: failed to add original remote with git!"
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment