This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/17272 )
Change subject: osmocom-nightly-packages: Allow non-osmocom git URL in checkout()
......................................................................
osmocom-nightly-packages: Allow non-osmocom git URL in checkout()
Change-Id: Ib768ff2822df5875820e4f12390004ed18614144
---
M scripts/osmocom-nightly-packages.sh
1 file changed, 8 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/72/17272/1
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 6094db2..49aaaf2 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -63,14 +63,19 @@
### common
checkout() {
local name=$1
- local branch=$2
+ local url=$2
+ local branch=$3
+
+ if [ -z "$url" ]; then
+ url="$(osmo_git_clone_url "$name")"
+ fi
cd "$REPO"
if [ -n "$branch" ] ; then
- osmo_git_clone_date "$(osmo_git_clone_url "$name")" -b "$branch"
+ osmo_git_clone_date "$url" -b "$branch"
else
- osmo_git_clone_date "$(osmo_git_clone_url "$name")"
+ osmo_git_clone_date "$url"
fi
cd -
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/17272
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ib768ff2822df5875820e4f12390004ed18614144
Gerrit-Change-Number: 17272
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200226/0011f796/attachment.htm>