Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify filename acceptance criteria with flags. #4

Open
lyda opened this issue Nov 14, 2012 · 1 comment
Open

Modify filename acceptance criteria with flags. #4

lyda opened this issue Nov 14, 2012 · 1 comment

Comments

@lyda
Copy link
Owner

lyda commented Nov 14, 2012

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.

@daethnir
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants