labgrid-project / labgrid-project/labgrid

labgrid-client console: add escape sequence to call other client commands

Open
#1,386 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
528
Forks
278
Avg merge
2d 19h
Merged PRs (30d)
4

Description

Story: I'm using labgrid-client -p <place> console to connect to a place. From within the console window, I want to trigger a power on/off/cycle (e.g. the equivalent of callling labgrid-client -p <place> power cycle from another shell.)

This request is inspired by similar feature in conmux where for any given console, you can use an escape sequence (e.g. ~$ in conmux) which can commands on the host where the conmux server (same as labgrid-exporter) is running.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the labgrid-client console entry point and trace how console input is handled and how power commands are dispatched. Compare the requested escape-sequence behavior with conmux and the labgrid-exporter host context; done means triggering power on, off, or cycle from within an active console without a second shell.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.