[Bug 505248] New: Cache buildinfo and buildconfig with osc build (offline mode)
http://bugzilla.novell.com/show_bug.cgi?id=505248 Summary: Cache buildinfo and buildconfig with osc build (offline mode) Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Enhancement Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: PVince81@yahoo.fr QAContact: adrian@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.10) Gecko/2009042700 SUSE/3.0.10-2.1 Firefox/3.0.10 Each time osc build is run, it will query the buildinfo and buildconfig from the OBS servers. It would be nice if there was a way to cache this information locally. It would have two advantages: 1. Could be used in offline mode, when no Internet connection is available. 2. Could run faster for each build, because it doesn't need to requery the build config every time. Reproducible: Always Steps to Reproduce: 1. Check out a package with "osc co" 2. Build the package locally with "osc build" 3. Disconnect from the Internet. 4. Build the package again. Actual Results: At step 4, there is an error because OSC can't connect to the OBS server. Expected Results: At step 2, OSC caches not only the packages on which the build depends, but also also the buildinfo and buildconfig. At step 4, OSC recognizes that all the necessary/dependency packages are presentin the local cache, including the buildinfo and buildconfig. OSC uses the cached information to do the build. To make this work, OSC would have to also cache the build information from the server. The offline mode could be used by adding a switch to "osc build" and/or in "~/.oscrc". Or the buildinfo/buildconfig caching could be done by default, and could be refreshed by using "osc build -clean" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=505248 Zheng Chen <zchen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zchen@novell.com AssignedTo|bnc-team-screening@forge.pr |poeml@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=505248 Peter Poeml <poeml@cmdline.net> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|poeml@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=505248 User adrian@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=505248#c1 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Adrian Schröter <adrian@novell.com> 2009-10-27 01:17:13 MDT --- this has been implemented in osc 0.123 when building via "osc build --noinit ..", in all other cases it needs to contact the server. -- Configure bugmail: http://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