obs-scm service error due to upstream's git submodule usage
Hi all! I've got two packages which package moolticute from https://github.com/mooltipass/[1] moolticute/. See - https://build.opensuse.org/package/show/home:fawz:mooltipass/moolticute[2] - https://build.opensuse.org/package/show/home:fawz:mooltipass/moolticute-testing[3] Recently that upstream repo has changed one its subdirectories into a submodule, and now recently the OBS packages have started breaking when running obs-scm with the error />// Files could not be expanded: service error: ' less info/ /> / /> service obs_scm failed:/ /> time="2024-07-24T18:29:10Z" level=warning msg="Path \"/etc/SUSEConnect\" from \"// etc/containers/mounts.conf\" doesn't exist, skipping" /> time="2024-07-24T18:29:10Z" level=warning msg="Path \"/etc/zypp/credentials.d// SCCcredentials\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" /> Running /usr/lib/obs/service//obs_scm --scm git --url https://github.com/mooltipass/[1]/ moolticute.git --filename moolticute --package-meta yes --revision v1.04.0 --versionrewrite- pattern v([0-9\.]*)(-testing)?(.*) --versionrewrite-replacement \1\3 -- versionformat @PARENT_TAG@.r@TAG_OFFSET@.g%h --outdir /var/cache/obs/ m6Zs5SipTsGE/out /> Command ['git', 'reset', '--hard', 'v1.04.0'] failed(128): 'warning: filtering not recognized by /server, ignoring /> warning: lazy fetching disabled; some objects may not be available/ /> fatal: git upload-pack: not our ref 9670707a296e0d666af081339c4691ce1dd0e074/ /> fatal: remote error: upload-pack: not our ref / 9670707a296e0d666af081339c4691ce1dd0e074 /> warning: filtering not recognized by server, ignoring/ /> warning: lazy fetching disabled; some objects may not be available/ /> fatal: git upload-pack: not our ref 9670707a296e0d666af081339c4691ce1dd0e074/ /> fatal: remote error: upload-pack: not our ref / 9670707a296e0d666af081339c4691ce1dd0e074 /> warning: filtering not recognized by server, ignoring/ /> warning: lazy fetching disabled; some objects may not be available/ /> fatal: git upload-pack: not our ref 9670707a296e0d666af081339c4691ce1dd0e074/ /> fatal: remote error: upload-pack: not our ref / 9670707a296e0d666af081339c4691ce1dd0e074 /> error: unable to read sha1 file of scripts/ci/linux/after_success.sh / (9670707a296e0d666af081339c4691ce1dd0e074) /> fatal: Could not reset index file to revision 'v1.04.0'./ /> '/ It feels like this is due to the submodule change, but I'm not sure. Fresh local osc checkouts and osc builds of this package work just fine. I've filed a bug report at https://github.com/openSUSE/obs-service-tar_scm/issues/495[4] but if anyone has some tips to get those packages unstuck that would be very much appreciated! Regards, barath -------- [1] https://github.com/mooltipass/ [2] https://build.opensuse.org/package/show/home:fawz:mooltipass/moolticute [3] https://build.opensuse.org/package/show/home:fawz:mooltipass/moolticute-test... [4] https://github.com/openSUSE/obs-service-tar_scm/issues/495
Am Mittwoch, dem 24.07.2024 um 21:25 +0200 schrieb fawz@use.startmail.com:
Hi all! I've got two packages which package moolticute from https://github.com/mooltipass/ moolticute/. See - https://build.opensuse.org/package/show/home:fawz:mooltipass/moolticute
Please see my reply on github https://github.com/openSUSE/obs-service-tar_scm/issues/495#issuecomment-2252...
participants (2)
-
fawz@use.startmail.com
-
Frank Schreiner