[Bug 373055] New: osc build --no-init does to much
https://bugzilla.novell.com/show_bug.cgi?id=373055 Summary: osc build --no-init does to much 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: dominique.leuenberger@tmf-group.com QAContact: adrian@novell.com Found By: --- Hello, osc build no-init does to much IMO: I built an package yesterday (against Factory, i586).. it failed. So today I adjusted some things in the spec file and issued osc build --no-init and the same parameters otherwise a yesterday. Even though osc is instructed not to initialize the buildroot and actually start the build with the current one (which would be ok.. I would not need the updated rpms) it decides to download all the RPMs to their latest versions available in OBS. --no-init should be respected and the initialization should be skipped. (actually, the RPMs were only downloaded, not even installed.. so it was a pure waste of time and bandwidth) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=373055 Dominique Leuenberger <dominique.leuenberger@tmf-group.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |poeml@novell.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=373055 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=373055#c1 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Peter Poeml <poeml@novell.com> 2008-04-21 01:55:54 MST --- --no-init also contacts the api server for buildinfo and buildconfig. But it is not easy to get rid of that; it would be required to cache that info, and it can become outdated in case of some local changes. Skipping downloads when --no-init was given is an idea. I can look into that later. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=373055 User dominique.leuenberger@tmf-group.com added comment https://bugzilla.novell.com/show_bug.cgi?id=373055#c2 --- Comment #2 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2008-04-30 07:17:06 MST --- Peter, IMHO --no-init should not do anything with the buildroot, so most likely you do not even need to contact the API. I understood it more like: I have a failed build, I fix a patch or whatever and decide that no initialization whatsoever of the buildroot is now needed. Only copying over the correct sources again and start build right ahead. Why would there any information needed to be cached? --no-init anyhow can only be used when staying on the same package base and when the user is rather sure of what he does. If Requires: are changed, anyhow no-init would not work. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=373055 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=373055 User bitdealer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=373055#c3 Stephan Kleine <bitdealer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bitdealer@gmail.com --- Comment #3 from Stephan Kleine <bitdealer@gmail.com> 2009-03-16 09:56:03 MST --- IMHO --noinit should not modify the buildroot in any way and therefore there is absolutely no reason for it contacting the server. If you need some information (project config or whatever) then store it in a hidden file (similar to build.log) and retrieve it from there upon running with --noinit. Last but not least that would finally allow to do local builds when the server down. -- 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.
participants (1)
-
bugzilla_noreply@novell.com