YaST Pkg Bindings-SVN Trunk

From openSUSE

Here is an overview of changes in Pkg Bindings in the current development branch (SVN Trunk) (yast2-pkg-bindings-2.16.*):

New Functions

  • Pkg::ResolvableInstallRepo(string resolvableName, symbol type, int repositoryId) - Mark the resolvable of specified type (`pattern, `package, `patch) for installation, and only consider resolvables in the specified repository.

Changed Functions

  • Pkg::ResolvableProperties() - return download and install size of packages in the result, status is "removed" when the resolvable is marked for removal
  • Pkg::PkgTaboo() and Pkg::PkgNeutral() - set all available instances of the package (from all reposiories) (not only the latest version of the package)
  • Pkg::PkgDelete() - mark all installed instances for removal


General Changes

  • Y2log component is now Pkg so all lines logged by pkg-bindings have tag [Pkg].