Change in ...osmo-ci[master]: osmocom-list-commits: move repo list to common.sh

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/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Jul 3 11:39:02 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ci/+/14650 )

Change subject: osmocom-list-commits: move repo list to common.sh
......................................................................

osmocom-list-commits: move repo list to common.sh

Prepare for new script, which will use the same list of repositories.

Related: OS#3870
Change-Id: I954b1d5229c44ebcec7e7228f2565a5c6755d16c
---
M scripts/common.sh
M scripts/osmocom-list-commits.sh
2 files changed, 26 insertions(+), 23 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  osmith: Verified



diff --git a/scripts/common.sh b/scripts/common.sh
index 30ab53f..2cf31a5 100644
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -2,6 +2,31 @@
 # Various functions and variables used in multiple osmo-ci shell scripts
 OSMO_GIT_URL="https://git.osmocom.org"
 
+# Osmocom repositories of which we want to build release tarballs automatically, and list the current versions at
+# https://jenkins.osmocom.org/jenkins/job/Osmocom-list-commits/lastSuccessfulBuild/artifact/commits.txt
+OSMO_RELEASE_REPOS="
+	libasn1c
+	libosmo-abis
+	libosmocore
+	libosmo-netif
+	libosmo-sccp
+	libsmpp34
+	libusrp
+	osmo-bsc
+	osmo-bts
+	osmo-ggsn
+	osmo-hlr
+	osmo-iuh
+	osmo-mgw
+	osmo-msc
+	osmo-pcu
+	osmo-sgsn
+	osmo-sip-connector
+	osmo-sysmon
+	osmo-trx
+	osmocom-bb
+"
+
 # Print commit of HEAD for an Osmocom git repository, e.g.:
 # "f90496f577e78944ce8db1aa5b900477c1e479b0"
 # $1: repository
diff --git a/scripts/osmocom-list-commits.sh b/scripts/osmocom-list-commits.sh
index e0d3eb0..b584195 100755
--- a/scripts/osmocom-list-commits.sh
+++ b/scripts/osmocom-list-commits.sh
@@ -4,28 +4,6 @@
 
 . "$(dirname "$0")/common.sh"
 FORMAT_STR="%-22s %-42s %9s %-40s %s\n"
-REPOS="
-	libasn1c
-	libosmo-abis
-	libosmocore
-	libosmo-netif
-	libosmo-sccp
-	libsmpp34
-	libusrp
-	osmo-bsc
-	osmo-bts
-	osmo-ggsn
-	osmo-hlr
-	osmo-iuh
-	osmo-mgw
-	osmo-msc
-	osmo-pcu
-	osmo-sgsn
-	osmo-sip-connector
-	osmo-sysmon
-	osmo-trx
-	osmocom-bb
-"
 
 # Header
 if [ -z "$NO_HEADER" ]; then
@@ -33,7 +11,7 @@
 fi
 
 # Table
-for repo in $REPOS; do
+for repo in $OSMO_RELEASE_REPOS; do
 	last_tag="$(osmo_git_last_tags "$repo" 1 "-")"
 	last_commit="$(osmo_git_last_commits "$repo" 1 "-")"
 	head_commit="$(osmo_git_head_commit "$repo")"

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/14650
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I954b1d5229c44ebcec7e7228f2565a5c6755d16c
Gerrit-Change-Number: 14650
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190703/82f30f89/attachment.htm>


More information about the gerrit-log mailing list