Skip to content
This repository has been archived by the owner on Mar 18, 2018. It is now read-only.

Support Windows #72

Closed
tamtakoe opened this issue Jun 18, 2015 · 11 comments
Closed

Support Windows #72

tamtakoe opened this issue Jun 18, 2015 · 11 comments

Comments

@tamtakoe
Copy link

Deploy doesn't work in Windows. Problem with paths to create an archive (extra slash at the beginning of the path. Problem in path2 module). It doesn't work in PowerShell (it doesn't support && command separator, only ;). Problem with SCP command.

@grushikhin
Copy link

+1

@Jokero
Copy link
Contributor

Jokero commented Jun 18, 2015

+1
Many frontend developers use Windows. So it's normal to deploy feature branches to staging environment from Windows

@vozovoz-nikita
Copy link

+1
u have to support this feature

@gregberge
Copy link
Member

I have not any machine on Windows on my side, so if someone want to add the Windows support it's welcome.

@vladkosinov
Copy link
Contributor

@tamtakoe you can try to use it under cygwin

@AntJanus
Copy link
Contributor

AntJanus commented Jul 7, 2015

hey guys,
I'm using Shipit and Shipit-deploy on a windows machine on a daily basis for about 6 months now.

What are the issues that everyone's seeing? I submitted a few PRs and fixed any Windows related bugs I've seen.

@tamtakoe
Copy link
Author

tamtakoe commented Jul 8, 2015

@AntJanus for example, the problems that are described in the topic :-)

@AntJanus
Copy link
Contributor

AntJanus commented Jul 8, 2015

@tamtakoe right, I'm not having that issue. Can you post your shipit-deploy version and your error stack? I was fixing the pathing issue in this PR but that was for creating paths on the server.

@jeandat
Copy link

jeandat commented Jul 8, 2015

@AntJanus: How do you use it on windows ? Shell commands are hardcoded in the code like "rm -rf ...". Maybe you are using cygwin or equivalent.

@neoziro: I think that's a conception issue. Not having windows is not blocking. Node being portable, that kind of operation should be done in pure node and not with shell commands. At least, you should write it in the readme to avoid people wasting time testing something that will never work.

@AntJanus
Copy link
Contributor

AntJanus commented Jul 8, 2015

@jdat82 ahhh, could be! I'm using CMDer which has a bunch of GNU tools loaded with it. I could help make it more portable by replacing rm -rf with stuff like rimraf which works cross system.

@neoziro I can definitely try to make shipit-deploy more friendly to Windows; however, it'd definitely involve switching a few things out and using more external packages. If that's cool with you, I'll start submitting PRs as I come across stuff. If not, I wouldn't mind forking shipit-deploy and creating something like shipit-deploy-windows.

@gregberge
Copy link
Member

I close it, if you can run it on windows @AntJanus it's OK, and I agree, feel free to create a module specially designed for Windows.

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

No branches or pull requests

8 participants