--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/XpJq8Pv9tRgJ.
To post to this group, send email to spree...@googlegroups.com.
To unsubscribe from this group, send email to spree-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
I'm really interested in making the changes to support a Spree
namespace. I agree with Brian that it will invariably break a lot of
things but I agree with you that the benefits outweigh the problems.
The potential for being able to mount multiple apps together (ex.
Refinery + Spree) is just too compelling to ignore. Sure you can add
Spree to an existing Rails app but you run the risk of colliding with
namespaces, etc.
It would be so cool to add a Spree store to an existing Rails site
simply by doing the following:
Foo::Application.routes.draw do
mount Spree::Engine => "/store"
end
I think if we're going to contemplate doing this (and that's all we're
doing for now .. contemplating it) then we should do it before Spree
is 1.0.
@Josh: Are you volunteering to help with some of the heavy lifting?
If so, that would certainly increase my willing to consider it.
What do other people think on this topic? For reference you may want
to see the excellent Ryan Bates screen cast on Engines which discusses
the namespace stuff in some detail[1].
Sean
[1] http://railscasts.com/episodes/277-mountable-engines
> --
> You received this message because you are subscribed to the Google Groups
> "Spree" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spree-user/-/KOOV9FBJ0KAJ.
I think this is excellent, and exactly where spree and refinery need
to be headed. I would be happy to put some time in on this.
--Christopher
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/SD3cvT464TwJ.
Sean
@Volunteers: Thanks for offering to help. We're definitely going to
take you up on it. I think we should plan on taking this up about two
weeks from now when we've got a stable Rails 3.1 compatible release
out the door. We've also got some pull requests and bug reports that
have been neglected while we finished up the Rails 3.1 merge.
Sean
> --
> You received this message because you are subscribed to the Google Groups
> "Spree" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spree-user/-/SD3cvT464TwJ.
I agree that namespacing is a necessary first step and that will begin
in the very near future. We're working on getting Spree 0.70.0 out
the door in the next few days and then we'll turn our attention to
this. I plan on coming back to this thread and contacting each of the
people on this thread individually so we can coordinate a joint
effort.
Stay tuned.
Sean
> --
> You received this message because you are subscribed to the Google Groups "Spree" group.
https://github.com/spree/spree/tree/namespace
Will do a blog post on this shortly but in the meantime, please feel
free to submit pull requests and feedback.
Sean
JD is going to take a crack at porting over some of the models. I'm
recommending people just do small chunks at a time and issue pull
requests (use GH label for 'namespace'.) This way we won't be
duplicating work. For now I think we can pick random models, helpers,
etc. and start porting them over.
Regarding the tests, I'm in favor of more RSpec (and more tests in
general.) I don't think we should abandon the Cucumber stuff, a lot
of work went into that and I think its helpful to have some basic
browser coverage that exercises the javascript, etc. That said, if
you need to write a new test for something I don't think we need to do
it in cucumber.
So lets not throw cucumber away. In fact, I think maybe we
consolidate it into a new top-level features directory where we can
run all of the cukes (and see all of the steps, etc.) all in one
place.
Will try to get to a few of the models myself tonight to do my part.
I've been a little preoccupied lately but its going to be obvious what
I've been up to shortly when we make our next announcement.
Sean
Sean
> --
> You received this message because you are subscribed to the Google Groups
> "Spree" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spree-user/-/54Jv9jU5sFoJ.
There will always be plenty of ways to help on the Spree project when
you come back. Wishing you a speedy recovery.
Sean