From: Joshua Lock <josh@linux.intel.com>
To: poky@yoctoproject.org
Subject: [RFC] [PATCH 00/13] Prototype GUI Image Creator
Date: Fri, 04 Feb 2011 8:53:11 +0000 [thread overview]
Message-ID: <cover.1296808673.git.josh@linux.intel.com> (raw)
From: Joshua Lock <josh@linux.intel.com>
This patch series introduces a very basic image creator for BitBake. It is far from complete and not very usable but begins to explore the possibilities of graphical tooling built on top of BitBake.
Note: this does *not* work with the default None server in Poky, you need to use the XML-RPC server (uncomment the two xmlrpc lines in bitbake/bin/bitbake and comment out the none lines).
The code is pretty ugly in places, though I hope it's not too Poky specific.
Currently it will just set the targets of the build command to all of the selected packages, this needs refinement - ideally it will 'squash' the list of packages to only include packages not brough in by a selected image (this will also be useful to provide a summary/confirmation dialog before the build)but I want to implement this in a generic way (i.e. not relying on Poky metadata conventions).
There are also various NOTE/FIXME/TODO comments - these all need adressing.
Several UI enhancements are planned, such as an 'Advanced' section of the GUI which will enable the tweaking of variables such as DISTRO, PACKAGE_CLASSES, BB_NUMBER_THREADS and others. There are also various usability niggles that need work such as: the treeview columns being sized better and the fact that
the sort column in the 'Packages (by Group)' column needs a custom sort function otherwise sort order changes when packages are toggled for inclusion.
I'm hoping for feedback on the approach and code review.
Thanks,
Joshua
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: josh/gui
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=josh/gui
Thanks,
Joshua Lock <josh@linux.intel.com>
---
Joshua Lock (13):
bitbake/cache: store a list of inherited files in the cache
bitbake: implement command to get all possible targets and their
dependencies
bitbake: implement command to find configuration files for a config
variable
bitbake/cooker: add generateTargetsTree method
bitbake/cooker: reduce code duplication
bitbake/[cooker|cache]: cache summary, license and group. Add to
targets tree
bitbake: introduce crumbs.TaskListModel a gtk.ListStore subclass
bitbake/event: fix some whitespace issues
bitbake/crumbs: update documentation header
bitbake/progress: add method to pulse the progress bar
bitbake/cooker: don't drop possible_world ref count
bitbake: Add new UI hob, a prototype Gtk+ GUI for creating images
bitbake/progress: make progress dialog modal for parent window
bitbake/lib/bb/cache.py | 17 +
bitbake/lib/bb/command.py | 21 +
bitbake/lib/bb/cooker.py | 111 +++++-
bitbake/lib/bb/event.py | 17 +
bitbake/lib/bb/ui/crumbs/__init__.py | 2 +-
bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 138 ++++++
bitbake/lib/bb/ui/crumbs/progress.py | 7 +-
bitbake/lib/bb/ui/crumbs/tasklistmodel.py | 346 ++++++++++++++++
bitbake/lib/bb/ui/hob.py | 596 +++++++++++++++++++++++++++
9 files changed, 1245 insertions(+), 10 deletions(-)
create mode 100644 bitbake/lib/bb/ui/crumbs/hobeventhandler.py
create mode 100644 bitbake/lib/bb/ui/crumbs/tasklistmodel.py
create mode 100644 bitbake/lib/bb/ui/hob.py
--
1.7.4
next reply other threads:[~2011-02-04 8:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-04 8:53 Joshua Lock [this message]
2011-02-04 8:53 ` [PATCH 01/13] bitbake/cache: store a list of inherited files in the cache Joshua Lock
2011-02-04 8:53 ` [PATCH 02/13] bitbake: implement command to get all possible targets and their dependencies Joshua Lock
2011-02-04 8:53 ` [PATCH 03/13] bitbake: implement command to find configuration files for a config variable Joshua Lock
2011-02-04 8:53 ` [PATCH 04/13] bitbake/cooker: add generateTargetsTree method Joshua Lock
2011-02-04 8:53 ` [PATCH 05/13] bitbake/cooker: reduce code duplication Joshua Lock
2011-02-04 8:53 ` [PATCH 06/13] bitbake/[cooker|cache]: cache summary, license and group. Add to targets tree Joshua Lock
2011-02-04 8:54 ` [PATCH 07/13] bitbake: introduce crumbs.TaskListModel a gtk.ListStore subclass Joshua Lock
2011-02-04 8:54 ` [PATCH 08/13] bitbake/event: fix some whitespace issues Joshua Lock
2011-02-04 8:54 ` [PATCH 09/13] bitbake/crumbs: update documentation header Joshua Lock
2011-02-04 8:54 ` [PATCH 10/13] bitbake/progress: add method to pulse the progress bar Joshua Lock
2011-02-04 8:54 ` [PATCH 11/13] bitbake/cooker: don't drop possible_world ref count Joshua Lock
2011-02-04 8:54 ` [PATCH 12/13] bitbake: Add new UI hob, a prototype Gtk+ GUI for creating images Joshua Lock
2011-02-04 8:54 ` [PATCH 13/13] bitbake/progress: make progress dialog modal for parent window Joshua Lock
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.1296808673.git.josh@linux.intel.com \
--to=josh@linux.intel.com \
--cc=poky@yoctoproject.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