Skip to content

GH90 - interactive ssh shell#91

Merged
zghp merged 2 commits into
developfrom
feature/gh90_interactive_ssh_shell
Sep 17, 2024
Merged

GH90 - interactive ssh shell#91
zghp merged 2 commits into
developfrom
feature/gh90_interactive_ssh_shell

Conversation

@zghp
Copy link
Copy Markdown
Contributor

@zghp zghp commented Sep 5, 2024

No description provided.

@zghp zghp requested a review from TB-1993 September 5, 2024 16:12
@zghp zghp self-assigned this Sep 5, 2024
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 5, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


zghp seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown
Contributor

@TB-1993 TB-1993 left a comment

Choose a reason for hiding this comment

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

I think ultimately we need a complete overhaul of our console classes to get them all behaving the same. They all have minor differences at the moment and it will ruin our tests.

Comment thread framework/core/commandModules/sshConsole.py
Comment thread framework/core/deviceManager.py
Comment thread framework/core/commandModules/sshConsole.py Outdated
Comment thread framework/core/commandModules/sshConsole.py Outdated
while self.buffer.__len__() > 0:
data = data + self.buffer.pop(0)
return data
return self.full_output
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We could continue to use buffer here and still do this as a list. Then we wouldn't need the new attribute and wouldn't change the behaviour of the method too much.

@TB-1993 TB-1993 linked an issue Sep 12, 2024 that may be closed by this pull request
@TB-1993 TB-1993 added the enhancement New feature or request label Sep 12, 2024
@zghp zghp force-pushed the feature/gh90_interactive_ssh_shell branch from 657eb5e to 762009a Compare September 17, 2024 09:24
Copy link
Copy Markdown
Contributor

@TB-1993 TB-1993 left a comment

Choose a reason for hiding this comment

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

Ship it!

@zghp zghp merged commit fe79622 into develop Sep 17, 2024
@zghp zghp deleted the feature/gh90_interactive_ssh_shell branch September 17, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSHConsole should be interactive terminal

3 participants