aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/osmocom-latest-packages.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-08-26osmocom-latest-packages: Add simtrace2Harald Welte1-0/+1
Change-Id: I9e6b01f465470f77c58268979d3608afe2005b1c
2018-08-08osmocom-latest-packages: Fix libusrp and other non-osmocom buildsHarald Welte1-4/+9
We're using the build() function not only to build osmocom projects requiring a .tarball-version file, but also other projects such as libusrp. Let's make the related git-buildpackage arguments conditional to whether or not a .tarball-version file exists at all. Change-Id: I0683cff036a240b1b819f91fbd230d5f9211074c
2018-08-06osmocom-latest-packages: Add .tar.xz for new packagesHarald Welte1-0/+1
If a new package is uploaded to OBS, prior to this change, only the .dsc file is uploaded, not the actual .tar.xz containing the source code. Let's fix that. Change-Id: Id1c9e6d112781004238a516b24dd446af0beb95a
2018-08-06osmocom packages: Ensure PACKAGE_VERSION is set correctlyHarald Welte1-1/+4
At the "autorecon -fi" stage, Osmocom programs either need the .git directory peresent, or a .tarball-version file in order to determine the exact source code version. Normally, "make dist" exists exactly for this purpose: It runs git-version-gen and saves the result to .tarball-version, and we then include this file in the .tar.gz we generate. However, as the nightly paackaging scripts use git-buildpackage, it bypasses the "make dist" logic and hence we need to 1) manually generate the .tarball-version file 2) copy it over to the directory specified as --git-export-dir This way, the .tarball-version is inside the tar.xz generated by gbp, and autoreconf then has something to use as PACKAGE_VERSION. This commit fixes "UNKNOWN-dirty" in .pc files of libraries, as well as in "show version" commands on the vty. Closes: OS#3449 Change-Id: I76e3713f0b01a6110091ff90e8e53aa79533c374
2018-06-04Revert "osmocom-latest-packages: Also accept "v" in front of version tags"Harald Welte1-1/+1
This reverts commit 5b2bb86e8ada837732f06bb4a77779cdbca73496. While it was intended to enable automatic "latest" builds from rtl-sdr, it breaks builds e.g. of libosmo-abis, where we have both (new) tags without 'v' and old tags with 'v', and now the older 'v' tags win due to lexicographical sorting :( Change-Id: I1c8d2ab18e389a8c2c41082d997f101d72c3acc0
2018-06-03osmocom-latest-packages: diable rtl-sdr and osmo-fl2k againHarald Welte1-2/+3
we cannot yet build "latest" for them, as they don't have any tagged versions yet which include the /debian directory. Change-Id: Ia5708508d918fd71eb05393e39b93859b943d623
2018-06-03osmocom-latest-packages: Also accept "v" in front of version tagsHarald Welte1-1/+1
Some projects (notably rtl-sdr) use "v" in front of their version tags in the git history. Let's make sure we also recognize those. Change-Id: I20f9896cc7844a6ddec7ba63bc9a77f548082e2a
2018-06-03osmocom latest+nightly packages: Add osmo-fl2kHarald Welte1-0/+1
Now that osmo-fl2k has debian packaging information included, we can easily build it as part of the "latest" and "nightly" feeds. Change-Id: Ie2429df14ad51aadb55b4a7d8f6cfcb45c5c6e70
2018-06-03osmocom latest+nightly packages: Add rtl-sdrHarald Welte1-0/+1
Now that rtl-sdr has debian packaging information included, we can easily build it as part of the "latest" and "nightly" feeds. Change-Id: Idc6afb523e71ed977401d707895844bad6247f8b
2018-04-26scripts: osmocom-*-packages.sh: Build libusrpPau Espin Pedrol1-0/+1
Depends on: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f Change-Id: Ic742db854b8a3aba6ddc85ffb41fc6f4697c572d
2018-03-07osmocom-latest-packages.sh: Catch latest tags outside master branchPau Espin Pedrol1-1/+1
Some projects, like osmo-trx, may have tags created in a non-master branch. Let's catch those too. Tested with several osmocom repositories. The ones showing different behaviour are osmo-trx (expected) and other repositories which have wrong or no tags and are anyway not used since there's no OBS build for them. Old cmdline is left of ==, new is right: artwork: ( == ) asn1c: ( == ) docker-playground: (debian-jessie-buildslave-0.1.0 == ) layer1-api: (superfemto_v3.8.1 == ) libasn1c: (0.9.28 == 0.9.28) libgtpnl: (1.1.0 == 1.1.0) libosmo-abis: (0.4.0 == 0.4.0) libosmocore: (0.10.2 == 0.10.2) libosmo-netif: (0.1.1 == 0.1.1) libosmo-sccp: (0.8.1 == 0.8.1) libsmpp34: (1.12.0 == 1.12.0) meta-telephony: ( == ) mncc-python: ( == ) octphy-2g-headers: (OCTSDR-OPENBSC-02.09.00-B1121 == ) openbsc: (1.0.0 == 1.0.0) osmo-bsc: (1.1.2 == 1.1.2) osmo-bts: (0.7.0 == 0.7.0) osmo-ci: ( == ) osmocom-bb: (osmocon_v0.0.0 == ) osmo-ggsn: (1.1.0 == 1.1.0) osmo-gsm-manuals: ( == v1) osmo-gsm-tester: ( == 0.1) osmo-gsm-tester-conf: ( == ) osmo-gsm-tester-sysmocom: ( == ) osmo-hlr: (0.1.0 == 0.1.0) osmo-iuh: (0.2.0 == 0.2.0) osmo-mgw: (1.2.0 == 1.2.0) osmo-msc: (1.1.2 == 1.1.2) osmo-pcu: (0.4.0 == 0.4.0) osmo-python-tests: ( == ) osmo-sgsn: (1.2.0 == 1.2.0) osmo-sip-connector: (1.1.0 == 1.1.0) osmo-trx: (0.2.0 == 0.3.0) pysim: ( == ) python-smpplib: ( == ) Change-Id: I3b521a194f0ae9fdfa358423e66f30c1316c23e8
2017-12-14add libgtpnl also to 'latest', not just to 'nightly'Harald Welte1-0/+1
Change-Id: Ifd9b3c6e98d890f135356648ef3f9a62c07dcf94
2017-12-07osmocom-nightly/latest: check if osc is installedAlexander Couzens1-0/+5
Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41
2017-12-06osmocom-nightly/latest: document which debian packages are requiredAlexander Couzens1-0/+3
Change-Id: If127d0e852ea8e321461d6aa709621167a0a8ecb
2017-11-21osmocom-latest-packages: only publish source tar balls if a new tag was createdAlexander Couzens1-9/+27
OBS should only be updated if there is a new tag. Change-Id: Ife10c9819e5971b001c5be9d313781eb3fd19e23
2017-11-21osmocom-latest-packages: fix shellcheck warningsAlexander Couzens1-13/+13
Change-Id: I1733658ce9b3de595b6087a58da0cb8c8bcf928f
2017-11-21osmocom-latest-packages: introduce $TOP dir variableAlexander Couzens1-6/+8
Using a $TOP variable makes directory paths more clear to understandable. Path now expressed starting from the TOP dir instead of using ../../../foo Change-Id: I7a87532a3232fbcfb5f676588991dbc59a34f739
2017-11-21osmocom-latest-packages: set -e: exit on any failureAlexander Couzens1-1/+1
Change-Id: I8dbf32a731d01b6eba933b8af22500c5edd1502d
2017-10-28Add osmocom-latest-packages.sh script for network:osmocom:latestHarald Welte1-0/+62
Change-Id: I8b036e57d8a5f4e08081c9641bbef50fead0c52a