Rework the devshell
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | oe.classutils: add modulemeta/ | +24 | 0 replies | |
| 2/3 | Rework how the devshell functionsmeta/ meta/ meta/ +1 more | +168 | 0 replies | |
| 3/3 | oe.terminal: improve how we spawn screenmeta/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/3][v2] Rework the devshell
From: Chris Larson <[email protected]>
- 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 <[email protected]>
---
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/classes/terminal.bbclass | 30 +++++++++++ meta/lib/oe/classutils.py | 45 +++++++++++++++++ meta/lib/oe/terminal.py | 107 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 191 insertions(+), 17 deletions(-) create mode 100644 meta/classes/terminal.bbclass create mode 100644 meta/lib/oe/classutils.py create mode 100644 meta/lib/oe/terminal.py
Signature · 1 line
1.7.4.1