Cannot run `fbrnch mock` on non-release branches
E.g. let's say we are working on a side-tag update and simultaneously updating a few packages in a branch update-foo-x.y. fbrnch mock foo bar baz would fail because we need to specify --release which we cannot pass via fbrnch
$ fbrnch mock
= rust-logos =
Parsing specfile for used sources failed: Could not find release from branch name 'update-0.14.2'. Please specify with --release.
Falling back to downloading all sources.
Could not execute srpm: Could not find release from branch name 'update-0.14.2'. Please specify with --release.
fbrnch: readCreateProcess: fedpkg "srpm" "--define" "_sourcedir /home/lecris/FedoraRPMs/rust-logos" "--define" "_srcrpmdir /home/lecris/rpmbuild/SRPMS" (exit 1): failed
Of course you have other issues here:
-
update-0.14.2is not detected as a branch - there is no chain-building supported for this command
Did you try fbrnch mock -r ...?
Anyway may need more thought. (You know you can do scratch builds in a side tag, right? though I appreciate that is not the same thing.)
Does chain building not work? It is supposed to. Though I confess I don't use mock enough.
I might have missed the -r flag I'll try to recreate the environment to reproduce it, but I think I would still be primarily blocked by
update-0.14.2is not detected as a branch
(You know you can do scratch builds in a side tag, right? though I appreciate that is not the same thing.)
Yeah, took me a while for the oh, duh, moment to hit me. But this is also why it would be great to have the support in mock or copr