|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper is slow -- because it fetches unneeded patterns (for other archs) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Gerald Pfeifer <gp> |
| Component: | libzypp | Assignee: | Duncan Mac-Vicar <dmacvicar> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aj, coolo, ro |
| Version: | Alpha 7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 10.2 | ||
| Whiteboard: | |||
| Found By: | Product Management | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Proposed fix to parser/susetags/RepoParser.cc
Proposed fix to repo/susetags/Downloader.cc |
||
|
Description
Gerald Pfeifer
2007-08-09 07:54:35 UTC
Thats probably not zyppers fault but an ommission of the 'susetags' metadata in suse/setup/descr. Pattern file names do not imply any semantics, they're just filenames. The architecture is _inside_ the file. Just like RPM packages. We need to make this information available without reading the pattern files. Either by - define semantics for pattern filenames - extend the 'suse/setup/descr/patterns' file to contain more information than just filenames Fixing this is probably not too hard (are certainly worth it) but needs some effort. Stano ? I would like to have these problems solved after GM - there are enough real problems still :) If autobuild people can adapt their mechanisms in time, I'm fine with this. Rudi? However, I think sticking with pattern filename matching should be enough for 10.3. I know, this is suboptimal. I think pattern filename matching is the easy way - let's just skip non matching archs. *** Bug 299549 has been marked as a duplicate of this bug. *** the semantics for pattern filenames has been inofficially defined, please talk to the maintainers of the patterns* packages. (as already explained to Klaus privately). Talked to 10.3 prjmgr (Coolo) now and he agreed on the pattern filename semantics. This also doesn't need any changes in autobuild. Created attachment 157909 [details]
Proposed fix to parser/susetags/RepoParser.cc
The proposed fix works fine on a x86_64 system with factory. It should be tested on an i586/i686 system ( and then commited ;-)) Created attachment 157911 [details] Proposed fix to repo/susetags/Downloader.cc This is a similar fix for another susetags parser. Its not used by zypper and I do not know why its there. See https://bugzilla.novell.com/show_bug.cgi?id=300985. fixed and submitted to stable. comment #11: The Downloader code is used if the raw metadata is not on the client yet. See Bug 301037 (remove repo leaves 'raw' metadata intact) why I didn't see use of this code. |