Skip to content
This repository was archived by the owner on Jan 17, 2021. It is now read-only.

Mingw support? #94

Open
1480c1 opened this issue May 7, 2019 · 14 comments
Open

Mingw support? #94

1480c1 opened this issue May 7, 2019 · 14 comments

Comments

@1480c1
Copy link

1480c1 commented May 7, 2019

Will there any potential future support for mingw-w64 go/windows native (not wsl)?
I'm not exactly sure how sshcode and go work so I'm sorry if this is a dumb question

@sreya
Copy link
Collaborator

sreya commented May 7, 2019

Right now we only support remote linux environments, I imagine we'd probably support starting sshcode remotely in a docker container before we support native windows since that's more platform-agnostic

@1480c1
Copy link
Author

1480c1 commented May 7, 2019

If it's docker then that's fine

@eargollo
Copy link
Contributor

The PR #118 has code that supports Windows with MINGW.

I will be re-submitting this code as soon as #121 gets merged.

@Merith-TK
Copy link
Contributor

I have made a PR with some rather basic mingw/msys support.
only as the user though, not the server
#127

What this does is allow sshcode to run inside a msys client, for example
$ sshcode.exe --skipsync [email protected] will open a sshcode session as if you were running on linux

@eargollo
Copy link
Contributor

The code in #124 should work. I haven't had the time to address the comments in order to get it merged yet.

@Merith-TK
Copy link
Contributor

Merith-TK commented Jul 29, 2019

@eargollo Wanna combine your changes to mine? https://github.com/Merith-TK/sshcode {branch msys-support}

Your changes are for the windows filepath conversion, mine are for getting chrome support. (from what i see atleast)

@eargollo
Copy link
Contributor

eargollo commented Jul 29, 2019

Sure thing. Let's do it. Do you want me to merge your changes there? How do you want to do it?

@Merith-TK
Copy link
Contributor

Well, saying our changes make it so the lines wont like up just right, i think we would have to find the diff between our branches and manually add them.

@Merith-TK
Copy link
Contributor

Merith-TK commented Jul 30, 2019

I have added you as a Collaborator to my repo

@Merith-TK
Copy link
Contributor

@eargollo I have applied my code into yours (offline at the moment) and it does execute properly

What i dont fully understand is why your sshcode.go has only (with my code added in) 432 lines of code, and mine has 573?

@eargollo
Copy link
Contributor

I don't recall taking code out but rather adding some lines for the conversion of slashes. I haven't had the time to merge my code into your branch and test it myself.

@Merith-TK
Copy link
Contributor

Merith-TK commented Jul 31, 2019 via email

@deansheather
Copy link
Member

Please discuss PR specific stuff in one of the relevant PRs.

@Merith-TK
Copy link
Contributor

quesiton is, which PR do we discuss on?
Mine #127 or his #124 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants