All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Clean PkgsList return data implementation.
@ 2016-01-07 20:07 mariano.lopez
  2016-01-07 20:07 ` [PATCH 1/4] lib/oe/package_manager: Add list_pkgs() to PkgsList class mariano.lopez
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: mariano.lopez @ 2016-01-07 20:07 UTC (permalink / raw)
  To: openembedded-core

From: Mariano Lopez <mariano.lopez@linux.intel.com>

Currently the when calling the list() from the classes that inherit
from PKgsList, it must pass the format required and it will return
a formated string listing all the packages installed. Retruning such
string is not the best data structure to manipulate in the callers.

This series of patches change PkgsList to return a dictionary and the
callers will format the output as required.

This patches require: 

rpmresolve.c: Fix unfreed pointers that keep DB opened
http://patches.openembedded.org/patch/111021/

[YOCTO #7427]

The following changes since commit b9054f22526b89a752a07c5d4e6ca26afbf303aa:

  bitbake: fetch/git: Change to use clearer ssh url syntax for broken servers (2016-01-07 15:23:57 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib mariano/bug7427v3
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug7427v3

Mariano Lopez (4):
  lib/oe/package_manager: Add list_pkgs() to PkgsList class
  lib/oe/utils: Add function format_pkg_list()
  lib/oe/rootfs: Use list_pkgs() instead of list()
  lib/oe/package_manager.py: Remove list() from PkgsList class

 meta/classes/buildhistory.bbclass        |  11 +-
 meta/classes/license.bbclass             |   8 +-
 meta/classes/populate_sdk_base.bbclass   |   8 +-
 meta/classes/rootfs-postcommands.bbclass |   5 +-
 meta/lib/oe/package_manager.py           | 185 +++++++++++++------------------
 meta/lib/oe/rootfs.py                    |   8 +-
 meta/lib/oe/sdk.py                       |   8 +-
 meta/lib/oe/utils.py                     |  22 ++++
 8 files changed, 129 insertions(+), 126 deletions(-)

-- 
1.8.4.5



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-11 20:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 20:07 [PATCH 0/4] Clean PkgsList return data implementation mariano.lopez
2016-01-07 20:07 ` [PATCH 1/4] lib/oe/package_manager: Add list_pkgs() to PkgsList class mariano.lopez
2016-01-07 20:07 ` [PATCH 2/4] lib/oe/utils: Add function format_pkg_list() mariano.lopez
2016-01-07 20:07 ` [PATCH 3/4] lib/oe/rootfs: Use list_pkgs() instead of list() mariano.lopez
2016-01-09 23:55   ` Pau Espin Pedrol
2016-01-11 20:14     ` Mariano Lopez
2016-01-07 20:07 ` [PATCH 4/4] lib/oe/package_manager.py: Remove list() from PkgsList class mariano.lopez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.