openSUSE / osc

The Command Line Interface to work with an Open Build Service
http://openbuildservice.org/
GNU General Public License v2.0
169 stars 185 forks source link

getbinaries -M not always functional #1519

Open jengelh opened 7 months ago

jengelh commented 7 months ago

Describe the bug

$ osc co openSUSE:Factory/ffmpeg-6 && cd openSUSE/Factory/ffmpeg-6/
...

$ osc getbinaries openSUSE:Factory/ffmpeg-6 -M ffmpeg-6-mini standard x86_64
usage: osc [global opts] getbinaries [-h] [-d DIR] [-M FLAVOR] [--sources] [--debuginfo] [--ccache]
osc [global opts] getbinaries: error: The -M/--multibuild-package option can be only used from a package checkout.

$ osc getbinaries openSUSE:Factory/ffmpeg-6:ffmpeg-6-mini standard x86_64
<success>

Versions

Expected behavior

Have the command with the -M notation succeed just as well.

dmach commented 6 months ago

If I remember correctly, multibuild handling is quite inconsistent among commands and use cases. Let me check if I can change this without losing any consistency.