[request-tracker-maintainers] Bug#674409: Bug#674409: request-tracker4: update-rt-siteconfig regex stiff about finding file_SiteConfig.d

Dominic Hargreaves dom at earth.li
Sat May 26 10:50:46 UTC 2012


tags 674409 +confirmed
thanks

On Thu, May 24, 2012 at 08:07:21AM -0400, David wrote:
> Let's say I want to name a configuration file "60-Pluginconf", the regex used in the 'find' command in update-rt-siteconfig will not catch it. This will generate an incomplete configuration file.

Right, because only lower case letters are matched.

> Same goes if I want to name a configuration file "61-plugin_ExternalAuth", it will not catch it.

Because _ is not an allowed character.

> Is it possible to make the regex a bit more flexible ?
> I've changed update-rt-siteconfig to suit my specific needs for the time being.

This regexp is a version of that found in run-parts and cron, but is not
quite the same as it. I see no reason not to allow underscores and
upper-case letters, as both cron and run-parts (which are models for
similar behaviour) do.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-request-tracker-maintainers mailing list