You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ osc service run
Cloning into '/home/suse-obs/home:martinkunkel/multi-repo-checkout-test/obs-service-tar_scm'...
c58bf82bb0b10420600bb4640c7a6f4963ca6289
Already up to date.
c58bf82bb0b10420600bb4640c7a6f4963ca6289
Already up to date.
c58bf82bb0b10420600bb4640c7a6f4963ca6289
$ osc service run
Cloning into '/home/suse-obs/home:martinkunkel/multi-repo-checkout-test/obs-service-tar_scm'...
c58bf82bb0b10420600bb4640c7a6f4963ca6289
Already up to date.
c58bf82bb0b10420600bb4640c7a6f4963ca6289
fatal: --filter can only be used when extensions.partialClone is set
ERROR:root:Corrupt clone_dir '/home/suse-obs/home:martinkunkel/multi-repo-checkout-test/obs-service-tar_scm' detected.
Command ['git', 'fetch', '--filter=tree:0', '--tags'] failed(128): 'fatal: --filter can only be used when extensions.partialClone is set'
Aborting: service call failed: /usr/lib/obs/service/obs_scm --url https://github.com/openSUSE/obs-service-tar_scm.git --scm git --revision master --version _none_ --filename full --outdir /home/suse-obs/home:martinkunkel/multi-repo-checkout-test/tmpk88lxjt0.obs_scm.service
I assume this is a cause of #397.
Should this kind of service file that I posted above work with the local osc client?
The text was updated successfully, but these errors were encountered:
martinkunkel2
changed the title
When using obs_scm and new git filter on the same repo, osc service run fails
When using obs_scm and new git filter on the same repo, "osc service run" fails
Apr 8, 2022
martinkunkel2
changed the title
When using obs_scm and new git filter on the same repo, "osc service run" fails
"osc service run" fails when using obs_scm and new git filter on the same repo twice
Apr 8, 2022
We sometimes use the obs_scm on the same repo twice and only extract part of the sources.
Minimal example _service file:
This works with revision ed7b12cad10ec7d7c54c4670797db2a61a120822:
But with latest master revision c58bf82bb0b10420600bb4640c7a6f4963ca6289 it fails:
I assume this is a cause of #397.
Should this kind of service file that I posted above work with the local osc client?
The text was updated successfully, but these errors were encountered: