Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH (v2,resend) 0/3] Rework the devshell
@ 2011-05-18 17:17 Chris Larson
  2011-05-18 17:17 ` [PATCH (v2,resend) 1/3] oe.classutils: add module Chris Larson
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Chris Larson @ 2011-05-18 17:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: Chris Larson

From: Chris Larson <chris_larson@mentor.com>

- Adds a utility metaclass for maintaining class registries
- Shifts the handling of spawning a terminal into a new 'terminal' python
 module
- Automatically selects an appropriate terminal based on what you have
 available on your machine
- Still allows manual selection, but in a more convenient way, and falls back
 to auto if you select an invalid or unavailable (not installed) terminal
- Improves how we spawn screen:

 - Shows a warning when spawning it, so do_devshell doesn't appear to hang
 - Spawns a named screen session 'devshell', to avoid confusion when the user
   already has other screen sessions running

Example usage of the new API for others (e.g. patch resolver) to use:

    import oe.terminal
    oe.terminal.run(command, terminal_title, d)

Pull URL: git://git.openembedded.org/openembedded-core-contrib
  Branch: kergoth/devshell
  Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kergoth/devshell

Thanks,
    Chris Larson <chris_larson@mentor.com>
---


Chris Larson (3):
  oe.classutils: add module
  Rework how the devshell functions
  oe.terminal: improve how we spawn screen

 meta/classes/devshell.bbclass |   25 ++------
 meta/conf/bitbake.conf        |    9 +++
 meta/lib/oe/classutils.py     |   45 ++++++++++++++
 meta/lib/oe/terminal.py       |  131 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 191 insertions(+), 19 deletions(-)
 create mode 100644 meta/lib/oe/classutils.py
 create mode 100644 meta/lib/oe/terminal.py




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

end of thread, other threads:[~2011-05-20 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18 17:17 [PATCH (v2,resend) 0/3] Rework the devshell Chris Larson
2011-05-18 17:17 ` [PATCH (v2,resend) 1/3] oe.classutils: add module Chris Larson
2011-05-18 17:18 ` [PATCH (v2, resend) 2/3] Rework how the devshell functions Chris Larson
2011-05-18 17:18 ` [PATCH (v2, resend) 3/3] oe.terminal: improve how we spawn screen Chris Larson
2011-05-20  0:02 ` [PATCH (v2,resend) 0/3] Rework the devshell Joshua Lock
2011-05-20 10:09   ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox