You can clone with
HTTPS or Subversion.
Since there is no more dependency on *nix (yui test migrated to 0.7.4) is there possible to make run of Mojito on windows? I spend some time, but found that there is problem with loader - in mojito/source/lib/index.js - YUI instance doesn't contain any standard modules, that should be loaded after init. Probably problem is in nodejs-yui, but I'm not sure.
Indeed I don't think we ever tested that, seeing how we use mostly Macs and Linux boxen.
Would you be able to narrow it down further? What seems to be the problem in nodejs-yui?
Yes, I will try to find root of problem, today some hours later. It seems (as I remember) like yui loader can't find modules that are required to start mojito... I'll dig it a bit and will write or more deep description, or solution (if i'll find any)
Yeah might just be a silly path issue.
I've made some fixes, so mojito starts and renders mojits (there is problem with binders). So situation is better and it don't passes only 2 tests. You can see changes here https://github.com/focuzz/mojito/tree/win-compat
I'm not doing pull request, because multi os support slightly broke cody prettiness, because
Thanks Alexey. This is starting to sound like a bigger item than anticipated, does it not?
We're not currently setup to run our automated tests on Windows, so it's going hard for us to validate your fixes (Of course, we could validate they don't break MacOS/Linux, but that's only a negative test...)
Few people have asked for Windows support, it hasn't been a priority for us at this point.
Well, I'm using them all (win + lin + mac) for different tasks, so it's not a critical problem for me right now. I understand about priority, so, I'll try to fix remaining issues in future(probably week or two). And after I can try to maintain this windows compatible branch, and merge your releases - and probably community will grow by time. If it will be interesting to anyone - probably it can be unofficial windows compatible branch or something like this in future (hope).
Sounds like a good compromise. Thanks!
Let's keep this issue open to track this feature.
I'd like to chime in and add to the few that would like to see windows compatibility. While I'm not actively developing in mojito now, the lack of windows compatibility was absolutely the first thing that really took the wind out of my sails when I was first getting started with it.
I've been keeping a watchful eye on this project because I see a lot of promise, and this is definitely one of the things that I would like to see.
Thanks @Merlin8000 for your vote.
Part of the problem is that we're not setup for running (testing) Mojito on Windows.
Travis doesn't help, as it doesn't support Windows either. Any ideas?
@rwaldura As I understand it, it's common for unit testing frameworks like that to have difficulties with Windows. I honestly don't see a comparable solution, I think that the next-best QA tool may be the bug tracker (as stated here, that's a pretty far cry from a build/testing framework).
So really I can only say that I hope that things improve. I understand the current state of things and will continue to keep a watchful eye on this project.
If the number of requests for support is a factor in setting priorities then I appreciate that you've included my vote.
We certainly didn't try to break Windows compatibility on purpose. :(
@focuzz was looking into what's currently broken, and I was under the impression that, with a good PR, we could solve this.
@Merlin8000 would you be willing to help him?
I'd at least be willing to run tests if the instructions are well written.
npm install email@example.com
but it seems like this don't work because of path differences on *nix and windows
I strongly believe that windows compatibility is a must esp for a app framework like this. Most of the developers esp the less experienced one out there are on Windows. And for the framework to be adopted more, its a must that these guys can use it easily with out pain. Infact this is should be one of the high priority bugs to be resolved.
Thanks @focuzz your fixes work like charm. I am able to run mojito on windows now. Would let you know incase I find any bugs / issues.
Great to hear!
Any ideas on how we could get this tested? Is there some sort of Travis-like for Windows out there? How do the Node guys test their stuff?
This is a particular pain point of mine so I really appreciate the work you've done to make Mojito work on Windows. The main thing preventing us from merging this is our concern about being able to have a CI environment that can keep the Windows port tested, as stated by rwaldura above. Please let us know if there is a testing framework for Windows like Travis.
+1. I know Travis has Windows testing on their radar, but no ETA for support. We may just have to wait for them to get our CI on Windows up and running, but I don't think it should prevent us from accepting PRs that make Windows work as long as they don't raise regressions on our current CI.
it seems like here we can find ci services for node https://github.com/joyent/node/wiki/Build-Servers
bamboo is free for open source projects http://www.atlassian.com/software/bamboo/pricing - and it was written that windows is supported too
Issue #264: Fixes for windows paths
Okay, can we claim we're done here?
Reopen if you disagree.
The PR hasn't been merged, and there is still much left to be done if we're going to properly support Windows. As such, I think this should be left open.