Re: [viewvc-users] vhosts or root-path config overrides for [cvsdb] config section
Tom Throckmorton <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/10/09 5:27 PM, C. Michael Pilato wrote: > C. Michael Pilato wrote: >> Tom Throckmorton wrote: >>> On Nov 03 17:51, Asd Asdasd wrote: >>>> Can you please indicate if there is anything wrong with the above config >>>> scenario? Are per vhost or per root-path config overrides even supported for >>>> the cvsdb config section. Is there a bug? >>> Interestingly, a per-root config (e.g. [root-ROOTNAME/cvsdb]) does seem to work >>> within viewvc itself, but svndbadmin operations fail. So, it's a problem with >>> that script only, afaict... >> That seems pretty likely, yes. There are some extra configuration-related >> steps that have to be taken for per-root configury to work, and I'm pretty >> sure I did *not* add those steps to 'cvsdbadmin' and 'svndbadmin'. >> >> Anybody interested in whipping up a patch for those tools that helps them >> a) determine the rootname based on the root path, and then >> b) call cfg.overlay_root_options(rootname) >> ? >> >> Operators on our dev@ list are standing by for your call. :-) > > So, I recently revamped the per-root and per-vhost configuration override > stuffs. And one of the decisions I made was to disallow per-root overrides > of the [cvsdb] section. Why? Because the query.cgi script allows for > queries that span roots. > > Now, I'm not so much a fan of query.cgi, and find that it often gets in the > way of ViewVC's forward progress. So I'm considering allowing per-root > overrides of [cvsdb] in ViewVC and the command-line tools, and just having > query.cgi ignore them if they are found in the configuration. I don't have > a sense of how many folks are still using query.cgi now that ViewVC has an > integrated query interface. > > What do you guys think? *glares at overly aggressive email filters* Sorry for the lag in response - I use the mod_python interface, so um, yeah - that should be fine :) -tt ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2446596 To unsubscribe from this discussion, e-mail: [[email protected]].