https://bugzilla.novell.com/show_bug.cgi?id=412157 User suse-tux@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=412157#c4 --- Comment #4 from Marcus Hüwe <suse-tux@gmx.de> 2008-07-25 06:27:56 MDT --- (In reply to comment #2 from Vincent Untz)
Also note that it might be worth reworking this a bit more so that the guessing is more generic and can easily be used in other osc commands.
Another approach, at least for the platform, would be to make it possible to specify the preferred platform in ~/.oscrc.
Hmm I think this approach is more appropriate than guessing the platform and arch. As you already said your current implementation of the platform guessing only works if there's only one target in the project which is quite unusual IMHO. But I like the idea of guessing the build description:) Btw. your patch wouldn't work if "osc build <platform> <arch> <specfile>" is used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.