Open thomasjthomasj opened 9 years ago
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.
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 https://github.com/mothership-ec/cog/pull/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
Windows support by kuiche · Pull Request #447 · mothership-ec/coghttps://github.com/mothership-ec/cog/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/mothership-ec/cog/issues/416#issuecomment-237819576, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET73PQw1vvIBY5Cvz8MrZUjWx7xwe5Pks5qcxMQgaJpZM4DmbzM.
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 https://github.com/mothership-ec/cog/pull/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.