https://bugzilla.novell.com/show_bug.cgi?id=412157 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=412157#c6 --- Comment #6 from Dirk Mueller <dmueller@novell.com> 2008-07-25 08:27:09 MDT ---
Hmm I don't know if it's really needed to accept the arguments in a random order
I did that because I want: osc build i586 as well as osc build foo-subspec.spec to be valid invocations. of course you can require the command line to be in the form of: osc build [platform] [arch] [builddescr] but code wise it doesn't make it easier, and it is inconvenient for those packagers that have multiple spec files (or specs and .dsc's): they would have to always specify platform and arch, even though they just always want to build for one predefined architecture (their own), but particular spec file flavors. Peter's concern was that my patch makes it always query the list of available repos (which it needs for matching if an argument is either the repo or the architecture). My proposal would be to allow the repo default to be chosen via ~/.oscrc, the arch' be the machine's native architecture by default, and the builddescr be autoguessed if only one file matches "{*.spec,*.dsc}" -- 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.