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
- https://build.opensuse.org/package/show/home:fawz:mooltipass/moolticute-testing
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/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 but if anyone has some tips to get those packages unstuck that would be very much appreciated!
Regards,
barath