Mailinglist Archive: zypp-devel (115 mails)

< Previous Next >
[zypp-devel] pkg-bindings status
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Mon, 09 Jul 2007 19:24:12 +0200
  • Message-id: <46926F3C.5050500@xxxxxxx>

Changes in pkg-bindings
-----------------------

- Adapted to the latest libzypp (changes in OnMediaLocation)
- List of RepoInfo objects is used as the internal status of all installation
sources (instead of Repository)
- Implemented Pkg::SourceCreate/SourceScan, but there are still problems on the
libzypp side
- submitted yast2-pkg-bindings-2.15.23 to BETA

TODO
====

Missing Pkg:: functions (not implemented)
-----------------------------------------
PkgMediaNames()
PkgMediaSizes()
PkgMediaCount()
SourceReleaseAll()
SourceSaveAll()
SourceFinishAll()
SourceMoveDownloadArea()
TargetDisableSources()
SourceMediaData()
SourceProvideFile()
SourceProvideOptionalFile()
SourceProvideDir()
SourceChangeUrl()

Missing Functionality
---------------------

SourceGeneralData() - doesn't return key "product_dir" in the map
SourceDelete() - remove resolvables if they have loaded from the source
SourceCreate() - use source type and product directory parameters


Testing
-------

Automatic testing is currently not possible, the test code (in
pkg-bindings/testsuite/devel) haven't been ported to libzypp, that would be an
extra work.


Overall Status
==============

There are missing too many essential Pkg:: functions, I'm afraid that we won't
have ready pkg-bindings which can install system by tomorrow evening :-(



--

Best Regards

Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o.                              e-mail: lslezak@xxxxxxx
Lihovarská 1060/12                              tel: +420 284 028 960
190 00 Prague 9                                 fax: +420 284 028 951
Czech Republic                                  http://www.suse.cz/
-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups