On Jun 4, 4:14 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> This has been discussed before, but it's really more of a problem with
> the Rails installer than Haml... Haml uses a very common repository
> structure

What other plug-in projects are you aware of that check out as
"stable"? If there are any, it won't be possible to have them
installed along with Haml at the same time. I only have a couple of
plug-ins installed myself, and they install as "rspec" and
"rspec_on_rails" respectively.

> but script/plugin doesn't have a way of either detecting this
> layout or manually setting the folder name.

I found an older article <http://unspace.ca/discover/haml/> that seems
to suggest that it *used* to work that way, but I tried it out and it
doesn't work any more, at least as of Rails 1.2.3.

> If we were to change the
> repository layout now, it would break existing checkouts, which would be
> bad.

If you're worried about breakage then you could hold off until 2.0
before making the change. Or you could just provide clear upgrade
instructions with the version that makes the switch.

In any case if you change from

haml/tags/stable

to:

haml/branches/stable/haml

There won't be any breakage as such, merely that people doing an "svn
up" won't get the new version unless you keep the old URL synchronized
with it as well (which could easily be done but I think that just
documenting the upgrade procedure is a better option).

> That said, it may be a good idea to change the install instructions to
> have users use
>
> mv vendor/plugins/{stable,haml}

Most definitely. Although if you're going to ask users to do a "script/
plugin install" followed by a manual "mv" then you may as well just
advise them to install in one step using "svn" directly... But I think
that reorganizing the repository is still the best way to go.

Cheers,
Wincent


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to