[jifty-devel] PoDir's default seems problematic

Jesse Vincent jesse at bestpractical.com
Mon Jun 5 20:07:25 EDT 2006

On Mon, Jun 05, 2006 at 08:01:59PM -0400, Sean E. Millichamp wrote:
> On Mon, 2006-06-05 at 12:26 -0400, Jesse Vincent wrote:
> > > but this should be "/home/foobar/TestApp/share/po" or
> > > simply "share/po". Below is a patch for Jifty/Config.pm
> > > to fix.
> > 
> > I think I prefer the latter. Please apply it?
> Jesse,
> If you don't mind me asking, I was wondering what your rationale is for
> preferring the second one.  Since that section is used to generate the
> initial etc/config.yml that will end up hard coding the user's path into
> the PoDir setting making it hard to move between users (such as in a SVN
> type environment).  Of course, the user could manually correct the path
> after it is generated, but what is gained by hardcoding the full path
> that isn't gained by just doing it using a relative path?  Especially in
> light of the other paths defaulting to relative paths?  It seems like
> defaulting to the relative path is the avenue of least surprise for the
> user.

Thanks for keeping me honest. From a quick read, it looked like it was
going to actually generate a relative path from the app name down. If
I've gotten that wrong, then I've gotten it wrong. I agree that we want
to stick to relative paths. Kenichi: what are your thoughts?

> Sean
> -- 
>  Sean E. Millichamp, Enertron LLC, 586-757-1200 x102
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel


More information about the jifty-devel mailing list