Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat cml tmux #143

Merged
merged 5 commits into from
Nov 1, 2023
Merged

Feat cml tmux #143

merged 5 commits into from
Nov 1, 2023

Conversation

sgherdao
Copy link
Contributor

Since we are it, time to stop procrastinating and submit that PR for tmux support :)

This commit introduce a new command 'cml tmux'
It allows users to connect to multiple node consoles using 'tmux'. 
It creates a new 'tmux' session with the lab title and the first 4 characters of the lab ID.

The `--group` option offers two grouping choices:
- 'panes': Group all connections within a single 'tmux' window. (default)
- 'windows': Represent each connection as an individual 'tmux' window.

Version 2 only.

jclarke-csco and others added 2 commits October 11, 2023 10:49
This commit introduce a new command 'cml tmux'
It allows users to connect to multiple node consoles using 'tmux'.
It creates a new 'tmux' session with the lab title and the first
4 characters of the lab ID.

The `--group` option offers two grouping choices:
- 'panes': Group all connections within a single 'tmux' window. (default)
- 'windows': Represent each connection as an individual 'tmux' window.

Version 2 only.
@coveralls
Copy link

coveralls commented Oct 30, 2023

Pull Request Test Coverage Report for Build 6700857795

  • 57 of 69 (82.61%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 73.339%

Changes Missing Coverage Covered Lines Changed/Added Lines %
virl/cli/tmux/commands.py 54 66 81.82%
Files with Coverage Reduction New Missed Lines %
virl/api/plugin.py 1 90.82%
Totals Coverage Status
Change from base Build 6484189316: 0.2%
Covered Lines: 2495
Relevant Lines: 3402

💛 - Coveralls

@@ -1 +1 @@
__version__ = "1.4.2"
__version__ = "1.4.3"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not bump version yourself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I based my branch out of master, do you want me to change it to 1.4.2?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

joe-dev should have 1.4.3. I see it in my pull.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we good?

@@ -7,6 +7,7 @@ gunicorn
idna
itsdangerous
Jinja2
libtmux
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this also required for testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right :)!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then it needs to be in test-requirements.txt.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Committed already!
2b93385

@xorrkaz xorrkaz merged commit dd5bec6 into CiscoDevNet:joe-dev Nov 1, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants