From: Kevin Dangoor <k...@blazingthings.com>Date: June 26, 2007 9:31:45 PM GMT-04:00Subject: Backpedaling on tg-adminI'm starting to think we should ditch tg-admin2. If we want higher-level commands, it's probably better to create our own paster commands... it'll be easier and more obvious for people if we just use paster so that any docs they find about it will immediate click as "oh, I can do that". If they're just used to tg-admin, they might not immediately think they can use paster commands.
I didn't mean that as a complaint about what was there... I was suggesting on IRC on Saturday that we have a tg-admin, but I'm now thinking that we're probably better off just using paster.
KevinOn Jun 26, 2007, at 9:39 PM, Noah Gift wrote:Since I made the horrendous abomination I agree :) It was more of a lets see what happens in 30 minutes :) It looks like paster can be sub classed and was actually meant to be subclassed. Maybe there could be some extra tool that is tg-admin specific, but paster is pretty sweet I agree!On 6/26/07, Kevin Dangoor <dan...@gmail.com > wrote:Begin forwarded message:From: Kevin Dangoor <k...@blazingthings.com >Date: June 26, 2007 9:31:45 PM GMT-04:00Subject: Backpedaling on tg-admin
I'm starting to think we should ditch tg-admin2. If we want higher-level commands, it's probably better to create our own paster commands... it'll be easier and more obvious for people if we just use paster so that any docs they find about it will immediate click as "oh, I can do that". If they're just used to tg-admin, they might not immediately think they can use paster commands.
--
http://www.blog.noahgift.com
--Kevin DangoorTurboGears
email: k...@blazingthings.comcompany: http://www.BlazingThings.com
> I didn't take it as a complaint :) I am glad you like paster too.
> Ian did a great job with it. Now if you need someone to help make
> some kind of special tg command line tool...that would be cool. I
> still like the idea of being able to change project names on the
> fly for example....
>
My thinking was that any cool extra behavior we want, we can
implement as paster commands...
paster change_project_name_on_the_fly foo bar
though we might want to edit that name down a bit :)
Kevin
$ paster create --template=turbogears2
To me the problem of above command is '--template=turbogears2' is
totally a kind of 'repeat yourself' thiing.
Besides, "paster create" command neither pass in the parameters
(please correct me if I am wrong) nor give a default template as "tg-
admin quickstart" does.
I wonder to wrap the quickstart command upon paster as a shortcut of
'paster create --template=turbogears2',
that tg users would feel more comfortable with::
$ paster quickstart
And I'd like to try to make the 'paster crud' tool (tgcrud2, based on
genshi+toscawidget) while the db/widget middleware is ready.
Yes, this is exactly what I was thinking. There's no reason we need to
forgo our shortcuts, but we just implement those as paster commands
rather than a full, independent wrapper script.
Kevin
Hi,
A good news! I just commit an workable 'paster quickstart' to svn :)
http://trac.turbogears.org/changeset/3159
The 'paster quickstart' port preserves all of 'tg-admin quickstart''s
parameters.
I found it's not hard to port tg-admin command to paster by following
the paster-script developer doc
http://pythonpaste.org/script/developer.html
--
Fred