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

Windows support #416

Open
thomasjthomasj opened this issue Feb 26, 2015 · 2 comments
Open

Windows support #416

thomasjthomasj opened this issue Feb 26, 2015 · 2 comments

Comments

@thomasjthomasj
Copy link
Contributor

Currently Cog/Mothership does not support Windows, and I believe this is even on a virtual machine. The reason is that Windows does not allow for colons in file/directory names.

When the assets are copied over to the public directory, they are put in directories that use colon separated namespaces (e.g. Message:Mothership:CMS). The same applies for view overrides (although the potential to mitigate this would come about once #401 is merged).

I feel that our options are to either no longer use the colon separated namespaces, which would probably bring about a rather sizeable BC break, or to implement some sort of fallback, such as hyphens, when generating on a windows server.

@ghost
Copy link

ghost commented Aug 5, 2016

I can confirm it doens't work on a linux VM on a Windows host due to the colons in the filenames. I see lots of protocol errors both in the installer and when I try and run the migrations after a composer install.

I'd love to see some support for those of us with dev VMs on Windows hosts.

@thomasjthomasj
Copy link
Contributor Author

Hi Ed

Thank you for confirming this. Unfortunately, active development on Mothership has temporarily been haulted because the parent company doesn't exist anymore. There is a branch in Cog for Windows support, though #447 that works by using exclamation marks instead of colons by default.

It may be a bit involved to get it working with this branch though

Thanks,

Thomas

[https://avatars0.githubusercontent.com/u/5089510?v=3&s=400]#447

Windows support by kuiche · Pull Request #447 · mothership-ec/coghttps://github.com//pull/447
github.com
This allows support for windows by allowing all places where files are stored using ':' to use '!'. This is in the public cogules directory (see AssetDump) and the view directory of sites. Try all...


From: edhardie notifications@github.com
Sent: 05 August 2016 10:40
To: mothership-ec/cog
Cc: Thomas Marchant; Author
Subject: Re: [mothership-ec/cog] Windows support (#416)

I can confirm it doens't work on a linux VM on a Windows host due to the colons in the filenames. I see lots of protocol errors both in the installer and when I try and run the migrations after a composer install.

I'd love to see some support for those of us with dev VMs on Windows hosts.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/416#issuecomment-237819576, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET73PQw1vvIBY5Cvz8MrZUjWx7xwe5Pks5qcxMQgaJpZM4DmbzM.

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

No branches or pull requests

1 participant