From: mariano.lopez@linux.intel.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 0/4] Clean PkgsList return data implementation.
Date: Wed, 13 Jan 2016 07:24:47 +0000 [thread overview]
Message-ID: <cover.1452669610.git.mariano.lopez@linux.intel.com> (raw)
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.
Changes in V2:
- Fix the last break line in the image manifest
- Fix issue not showing the last pkg when using deb or ipk
[YOCTO #7427]
The following changes since commit 96a34e7f847ad34deac520b78809e7dd82dbc59e:
conf/distro/poky-tiny: correctly disable python in opkg-utils (2016-01-12 15:35:27 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib mariano/bug7427v2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug7427v2
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 | 4 +-
meta/lib/oe/package_manager.py | 193 ++++++++++++++-----------------
meta/lib/oe/rootfs.py | 8 +-
meta/lib/oe/sdk.py | 8 +-
meta/lib/oe/utils.py | 22 ++++
8 files changed, 137 insertions(+), 125 deletions(-)
--
1.8.4.5
next reply other threads:[~2016-01-13 15:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 7:24 mariano.lopez [this message]
2016-01-13 7:24 ` [PATCHv2 1/4] lib/oe/package_manager: Add list_pkgs() to PkgsList class mariano.lopez
2016-01-13 7:24 ` [PATCHv2 2/4] lib/oe/utils: Add function format_pkg_list() mariano.lopez
2016-01-13 7:24 ` [PATCHv2 3/4] lib/oe/rootfs: Use list_pkgs() instead of list() mariano.lopez
2016-01-13 7:24 ` [PATCHv2 4/4] lib/oe/package_manager.py: Remove list() from PkgsList class mariano.lopez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1452669610.git.mariano.lopez@linux.intel.com \
--to=mariano.lopez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox