skippyPeanutButter / yaml_bot

Validate the content of a yaml file according to a set of rules
MIT License
3 stars 0 forks source link

URL for rules file #23

Open samrocketman opened 7 years ago

samrocketman commented 7 years ago

So someone can pass in a URL to download the rules file as part of the validation.

URL should also optionally be an environment variable. This way they can set it once but run the program normally.

Another consideration, is to support a configuration directory in Unix. i.e. ~/.yaml_bot where the rules file is downloaded to only if it is missing. It can warn when the rules file is out of date based on file size (file size because that's information you can get out of an HTTP HEAD request). It would be a basic litmus test.

skippyPeanutButter commented 7 years ago

I'm going to work on this after tackling issue #17