chkcrontab icon indicating copy to clipboard operation
chkcrontab copied to clipboard

Modify filename acceptance criteria with flags.

Open lyda opened this issue 13 years ago • 1 comments
trafficstars

The Debian packaging standard has rules on acceptable filenames for files destined to cron.d. Enabling these with a flag would be better than the current solution.

http://www.debian.org/doc/manuals/maint-guide/dother.en.html#crond

When checking files in a package's debian/ directory, filenames should only match the (\S+\.)?cron.d as opposed to the other names currently accepted. In addition the error for this should probably point the user at the above link.

I suspect other packaging systems have their own standards, so need to investigate those first.

lyda avatar Nov 14 '12 22:11 lyda

Another vote for this. In our case we'd like to be able to lint crontabs that are in ansible and are preprocessed via j2, so we've named them all foo.j2. If we had an option to just ignore filename validation that'd be sufficient for us.

daethnir avatar Oct 15 '18 15:10 daethnir