[Bug 255758] New: inst_rpmcopy uses obsolete Pkg::SourceProduct which does just nothing
https://bugzilla.novell.com/show_bug.cgi?id=255758 Summary: inst_rpmcopy uses obsolete Pkg::SourceProduct which does just nothing Product: openSUSE 10.3 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: lslezak@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com This might be a lost feature about caching sources, but it also might be supported internally in ZYPP. this is the part of the code: integer CachedSourceId () { integer cached_id = -1; foreach (integer id, Packages::theSources, { map<string,string> product_data = (map<string,string>)Pkg::SourceProduct (id); y2milestone ("Id %1: SourceProduct %2", id, product_data); ... } ... } clients/inst_rpmcopy.ycp:115 Pkg Builtin called: SourceProduct Source.cc(SourceProduct):672 Pkg::SourceProduct() is obsoleted, use Pkg::SourceProductData() instead! clients/inst_rpmcopy.ycp:116 Id 1: SourceProduct $[] clients/inst_rpmcopy.ycp:124 Detected cached source ID: -1 It searches for product_data["flags"] but there is no such "flags" because the returned map is always empty. Suggested Pkg::SourceProductData doesn't have that key either. -- 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=255758 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=255758#c1 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Component|YaST2 |YaST2 Product|openSUSE 10.3 |openSUSE 11.0 Resolution| |LATER Version|Alpha 2 |unspecified --- Comment #1 from Lukas Ocilka <locilka@novell.com> 2007-09-12 10:52:06 MST --- It seems this is not gonna be fixed for 10.3 ---> 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=255758 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=255758#c2 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|LATER | --- Comment #2 from Stephan Kulow <coolo@novell.com> 2008-06-25 03:10:38 MDT --- mass reopening of later+remind bugs of 11.0 -- 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=255758 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=255758#c3 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #3 from Ladislav Slezak <lslezak@novell.com> 2008-09-17 04:05:59 MDT --- The caching is now handled in libzypp (see https://bugzilla.novell.com/show_bug.cgi?id=362003#c4 for some details). I just removed all the obsoleted code. -- 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=255758 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=255758#c4 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Ladislav Slezak <lslezak@novell.com> 2008-09-17 05:51:45 MDT --- Fixed in yast2-packager-2.17.16. -- 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