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

Removing virsh dependency #228

Merged
merged 8 commits into from
Mar 19, 2024
Merged

Conversation

so-sahu
Copy link
Contributor

@so-sahu so-sahu commented Mar 8, 2024

Proposed Changes

  • Using Pseudo-Terminal (pty) for bi-directional communication
  • Created development setup document and mentioned about the needed access.

Fixes #71

@so-sahu so-sahu added the integration-tests to run integration tests label Mar 8, 2024
@so-sahu so-sahu self-assigned this Mar 8, 2024
@so-sahu so-sahu requested a review from a team as a code owner March 8, 2024 04:25
@github-actions github-actions bot added size/L documentation Improvements or additions to documentation enhancement New feature or request server labels Mar 8, 2024
docs/development/setup.md Outdated Show resolved Hide resolved
docs/development/setup.md Outdated Show resolved Hide resolved
provider/server/exec.go Outdated Show resolved Hide resolved
docs/development/setup.md Outdated Show resolved Hide resolved
Copy link
Contributor

@lukas016 lukas016 left a comment

Choose a reason for hiding this comment

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

code can be written more secure

@so-sahu
Copy link
Contributor Author

so-sahu commented Mar 8, 2024

code can be written more secure

Could you please provide more context here.

@so-sahu so-sahu marked this pull request as draft March 8, 2024 09:56
@so-sahu so-sahu marked this pull request as ready for review March 8, 2024 12:20
@so-sahu so-sahu marked this pull request as draft March 8, 2024 12:24
@so-sahu so-sahu marked this pull request as ready for review March 8, 2024 12:46
@so-sahu so-sahu requested a review from lukas016 March 8, 2024 12:46
docs/development/setup.md Outdated Show resolved Hide resolved
provider/server/exec.go Outdated Show resolved Hide resolved
provider/server/exec.go Outdated Show resolved Hide resolved
@so-sahu so-sahu requested a review from lukas016 March 11, 2024 08:53
docs/development/setup.md Outdated Show resolved Hide resolved
provider/server/exec.go Outdated Show resolved Hide resolved
Copy link
Contributor

@lukas016 lukas016 left a comment

Choose a reason for hiding this comment

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

concurrency safety can be improved.

@so-sahu so-sahu requested a review from lukas016 March 11, 2024 09:44
lukas016
lukas016 previously approved these changes Mar 11, 2024
Copy link
Contributor

@lukas016 lukas016 left a comment

Choose a reason for hiding this comment

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

LGTM

@lukas016
Copy link
Contributor

Did you fix run of integration tests?

@so-sahu so-sahu force-pushed the feature/remove-dependency-from-virsh branch 4 times, most recently from 5493e66 to 9d565d4 Compare March 12, 2024 08:42
@lukas016
Copy link
Contributor

@so-sahu could you pls study this: https://github.com/mattn/go-tty/blob/master/tty_unix.go#L22
I am interesting why they open same file with 2 file descriptors. I think it can have good reason. You don't have to solve it in this PR but maybe we can create follow up issue for improvement.

@so-sahu so-sahu marked this pull request as ready for review March 12, 2024 10:27
@so-sahu so-sahu force-pushed the feature/remove-dependency-from-virsh branch from 9d565d4 to 531b8fe Compare March 12, 2024 10:29
lukas016
lukas016 previously approved these changes Mar 13, 2024
Copy link
Contributor

@lukas016 lukas016 left a comment

Choose a reason for hiding this comment

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

LGTM

@so-sahu so-sahu force-pushed the feature/remove-dependency-from-virsh branch 2 times, most recently from df4752d to d5be952 Compare March 15, 2024 14:13
Copy link
Contributor

@lukas016 lukas016 left a comment

Choose a reason for hiding this comment

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

LGTM

@so-sahu so-sahu requested a review from lukasfrank March 15, 2024 14:44
@lukasfrank lukasfrank force-pushed the feature/remove-dependency-from-virsh branch 2 times, most recently from 8d3cc26 to 791229b Compare March 19, 2024 08:14
@lukasfrank lukasfrank enabled auto-merge (squash) March 19, 2024 08:15
@lukasfrank lukasfrank changed the title Removing Dependency from Virsh Removing virsh dependency Mar 19, 2024
@so-sahu so-sahu force-pushed the feature/remove-dependency-from-virsh branch from 791229b to ecff765 Compare March 19, 2024 08:57
@lukasfrank lukasfrank merged commit 1c02cd9 into main Mar 19, 2024
8 of 9 checks passed
@lukasfrank lukasfrank deleted the feature/remove-dependency-from-virsh branch March 19, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request integration-tests to run integration tests server size/L
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Remove Dependency from the Virsh
3 participants