-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Rename to rails-template? #827
Comments
Fun fact: this was the original name of this repo back pre-GitHub 2007-ish when it was in a thoughtbot Subversion repo. |
Note that a Rails Template is a preexisting concept in Rails: http://guides.rubyonrails.org/rails_application_templates.html |
I like the name suspenders! I feel like template makes sense, but I think suspenders is more fun 👖 |
Our hope (my hope? someone's hope) is to move suspenders away from being a command-line tool and toward being a set of rake tasks. Does the idea of suspenders-as-a-template remain consistent with the suspenders-as-rake-tasks perspective? |
From a high-level architecture view, suspenders is a template with defaults. Running them as rake tasks after the defaults have already been setup from I don't think launching it from a rake task makes any more sense. The only advantage I immediately see is being able to know which version of suspenders (defaults) the project started with. But that's best held by a date/time in git -- not an artifact in a codebase -- unless "upgrading" is supportable in suspenders, which is more of a process for an Engine, not a template. |
Suspenders has staying power. |
@mike-burns not sure if this is the right forum for this -- but one thing we've been discussing is how nice it would be to keep all of our projects up to date with core suspenders changes. Is there such a thing as a framework-wrapper that could be versioned? Would this just be a CLI gem? Could Rails be extended as another framework? |
TL;DR: No - Suspenders is a generator only. OK. |
We've spoken a bit about this in London, too (and I presume it's come up elsewhere outside of the issues/PRs @mike-burns linked to). I don't know too much about it, but there is an experiment kicking about looking at doing exactly what you'd quoted. As far as I understand it, it's not the easiest thing to figure out but we're looking into it. |
I knew I wasn't the only one -- thanks for the references, good learnings. @nickcharlton I'd love to see the fruit of those labors -- or help with the laboring if you need a pair. |
We have these other templates for languages and frameworks:
Opened thoughtbot/go-template#10 to rename Laces to Go template.
The text was updated successfully, but these errors were encountered: