#2240: Improve the config system of TG2
-------------------------+--------------------------------------------------
 Reporter:  chrisz       |        Owner:                  
     Type:  enhancement  |       Status:  new             
 Priority:  high         |    Milestone:  __unclassified__
Component:  TurboGears   |      Version:  2.0b6           
 Severity:  major        |   Resolution:                  
 Keywords:  config       |  
-------------------------+--------------------------------------------------
Comment (by Gustavo):

 Replying to [comment:2 chrisz]:
 > If it's not gonna be changed then we should consider the split into
 `*.ini` files used by paste and `*.cfg` used for tg app configuration or
 we should at least add some convenience methods to the config object which
 allow getting values interpreted as bool or ints (the default config
 parser actually has methods like getboolean() or getint(), we should then
 make these available as well).

 Unfortunately, I have no hope of that being changed in !PasteScript in the
 medium-term. I mean, they're already aware of this issue and it's heavily
 used program... I think that if they had intentions to fix it, right now
 we weren't discussing this.

 Therefore I think we should just provide an application-specific
 !ConfigObj file, parsed by default while loading the middleware, while
 keeping a !PasteScript config file for standard settings (those used by
 !PasteScript). The drawback of this solution is to have "yet another file"
 in the quickstart template.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2240#comment:3>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to