https://bugzilla.novell.com/show_bug.cgi?id=412157 Summary: Add some guessing to "osc build" Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: adrian@novell.com Found By: --- Like many people, I'm lazy. So having to type "osc build openSUSE_Factory i586 something.spec" is too long, and I'd love to just type "osc build" and have it work. Here's a first attempt to implement this. It works, but it might be considered a bit hacky. What it does: + if needed, it tries to guess the platform to build on. If there's more than one possible platform, it doesn't do anything. + if needed, it tries to guess the spec file to build. If there's more than one spec file, it doesn't do anything. It could be improved (eg, list the various spec files that I can use instead of saying "missing argument"), but I'd like to get feedback first. -- 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.