osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/37630?usp=email )
Change subject: OBS: osmocom:master: ignore missing commit_*.txt ...................................................................... OBS: osmocom:master: ignore missing commit_*.txt Do not abort if the commit_*.txt file has been deleted from a package in osmocom:master. Instead, assume the package is outdated, create a new source package (with commit_*.txt) and replace the existing source package. This is useful to force rebuilding a package, e.g. if the previous source package was built when the git tag was not pushed yet, and therefore the version in the package and for libraries, in the pkg-config data, don't have the proper version yet. Change-Id: Ia6129f533394b94d5d8525eb0513a38a6e1eb7b6 --- M scripts/obs/lib/osc.py 1 file changed, 22 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/30/37630/1 diff --git a/scripts/obs/lib/osc.py b/scripts/obs/lib/osc.py index ef2fc4b..57be783 100644 --- a/scripts/obs/lib/osc.py +++ b/scripts/obs/lib/osc.py @@ -86,8 +86,9 @@ if line.endswith(".dsc"): return line.split("_")[-1][:-4] - lib.exit_error_cmd(ret, "failed to find package version on OBS by" - " extracting the version from the file list") + print(f"{package}: WARNING: failed to find package version on OBS!") + print(f"{package}: assuming the package is outdated") + return "0" def create_package(package): -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37630?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: Ia6129f533394b94d5d8525eb0513a38a6e1eb7b6 Gerrit-Change-Number: 37630 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osm...@sysmocom.de> Gerrit-MessageType: newchange