[Bug 217534] New: Use local repositories for package cache, symlink instead of copy
https://bugzilla.novell.com/show_bug.cgi?id=217534 Summary: Use local repositories for package cache, symlink instead of copy Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lurch@gmx.li QAContact: adrian@novell.com Attached is a patch for osc which makes the behaviour of the fetcher for localy available packages configurable. By default, nothing changes. If "localcopy" is set to 0, local files are symlinked into the packagecachedir, remote files are downloaded as before. example .oscrc snippet: --- localcopy: 0 urllist: # mounted distribution dvd file:///media/dvd/suse/%(arch)s/%(filename)s, # the normal repo server, redirecting to mirrors http://software.opensuse.org/download/%(project)s/%(repository)s/%(arch)s/%(..., # direct access to "full" tree http://api.opensuse.org/rpm/%(project)s/%(repository)s/_repository/%(buildar... ----- -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217534 ------- Comment #1 from lurch@gmx.li 2006-11-02 13:48 MST ------- Created an attachment (id=103599) --> (https://bugzilla.novell.com/attachment.cgi?id=103599&action=view) Use symlinks for locally (file:///) available packages -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217534 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |cthiel@novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217534 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|cthiel@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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217534 ------- Comment #2 from lurch@gmx.li 2007-01-22 06:43 MST ------- Any chance this will go upstream? As the behavior is configurable, and the old behavior is the default, this should do no harm -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217534 poeml@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from poeml@novell.com 2007-01-22 06:45 MST ------- I'm currently not working on osc, but you patch will be considered, definitely. Hang on a bit, please.... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217534#c4 --- Comment #4 from Peter Poeml <poeml@novell.com> 2007-07-13 06:10:20 MST --- I have spent some thoughts on this issue lately. My discovery is that the feasibility depends on how the other package source looks wrt file naming. If the files are named as they are on download server, it works well with symlinking. Novell-internally, there are installation sources which are named differently. Those can be used only if configuring a matching file:// url for them, with copy_local=1. Symlinks would work, if osc would keep its own list of filename-packagename associations (because otherwise it would be much too slow to be useful). I'm still hesitant to implement something costly and complex, because the workaround is easy: download the packages and cache them, even if it is a waste of local space... Still, your patch is probably useful nevertheless. -- 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=217534 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.
participants (1)
-
bugzilla_noreply@novell.com