[OE-core] [PATCH 0/3] Rework the devshell

Chris Larson kergoth at gmail.com
Tue Apr 5 19:08:04 UTC 2011


From: Chris Larson <chris_larson at 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

Pull URL: https://github.com/kergoth/oe-core
  Branch: devshell
  Browse: https://github.com/kergoth/oe-core/commits/devshell

Thanks,
    Chris Larson <chris_larson at 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 |   26 ++++-------
 meta/lib/oe/classutils.py     |   24 +++++++++
 meta/lib/oe/terminal.py       |  105 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 138 insertions(+), 17 deletions(-)
 create mode 100644 meta/lib/oe/classutils.py
 create mode 100644 meta/lib/oe/terminal.py

-- 
1.7.4.1





More information about the Openembedded-core mailing list