[zypp-devel] Important open issues inside zypp
Important open issues inside zypp: - The repo handling needs intense testing. Bugs I experienced last week show, that the code compiles but needs testing. RepoManager failed to create required directories. Several exceptions due to malformed URLs created from pathnames. And there's only little information in the log; too few milestones and error messages. - Still not all resolvables stored in the cache are recreated and fed into the pool. Diskusage data is not yet parsed and stored in the DB. - Providing packages in commit incl. support for patch and delta rpms? Duncan provided code for this, I don't know the status. - Some progress reports are not yet connected to the callbacks. And we need of course feedback from pkg-bindings, to see what's missing to launch the repositories and get the resolvable data into the pool. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Michael Andres wrote:
Important open issues inside zypp:
- The repo handling needs intense testing. Bugs I experienced last week show, that the code compiles but needs testing. RepoManager failed to create required directories. Several exceptions due to malformed URLs created from pathnames. And there's only little information in the log; too few milestones and error messages.
- Still not all resolvables stored in the cache are recreated and fed into the pool. Diskusage data is not yet parsed and stored in the DB.
- Providing packages in commit incl. support for patch and delta rpms? Duncan provided code for this, I don't know the status.
- Some progress reports are not yet connected to the callbacks.
And we need of course feedback from pkg-bindings, to see what's missing to launch the repositories and get the resolvable data into the pool.
First pkg-bindings feedback... I'm trying to solve two issues: 1) to provide files from repos, pkg-bindings should use Fetcher, because it can make use of cached files, right? But we need a method to get the cache dir path of a particular repository either in RepoInfo, Repository, or RepoManager. 2) There is a special request to have replacement for zypp::Source::provideDirTree(Pathname dir_r, media_nr); which is used e.g. by product creator. This could be solved on Fetcher level by adding Fetcher::enqueDir(OnMediaLocation dir, bool recursively); Opinions? Cheers, Jano -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Tuesday 03 July 2007 15:46:45 Jan Kupec wrote:
2) There is a special request to have replacement for zypp::Source::provideDirTree(Pathname dir_r, media_nr); which is used e.g. by product creator.
This could be solved on Fetcher level by adding Fetcher::enqueDir(OnMediaLocation dir, bool recursively);
What does the product creator use provideDirTree for? provideDirTree in high level APIs is evil, as it means you are downloading a bunch of files, you don't know how, their checksums, etc. So I would prefer keeping provideDirTree where it is (Media) or at most, wrap it into MediaSetAccess, but not in Fetcher. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Tuesday 03 July 2007 14:31:25 Michael Andres wrote:
- Still not all resolvables stored in the cache are recreated and fed into the pool. Diskusage data is not yet parsed and stored in the DB.
Which ones are not created?
- Providing packages in commit incl. support for patch and delta rpms? Duncan provided code for this, I don't know the status.
I will look into this.
- Some progress reports are not yet connected to the callbacks.
The hooks for progress are there, but we still haven't figured how to do it right.
And we need of course feedback from pkg-bindings, to see what's missing to launch the repositories and get the resolvable data into the pool.
I am in touch with lslesak now for this. I already got one request. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (3)
-
Duncan Mac-Vicar Prett
-
Jan Kupec
-
Michael Andres