* Change checking to test for Security, wellknown and DNS requirement at once and only throws error if all three fail.
* Use security.txt parser from csaf/util to extract provider url.
* Improve code comments and messages for the reports.
Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
Solves #160
* Implements check on whether index.txt/changes.csv and directory listings exist. Also fixes minor grammatical mistakes
* Adds missing else to prevent defaulting to missing-error handling even if another error was found
* Removes comment
* test whether changes.csv or index.txt is empty
* Fixed type mismatching, undeclared variable
* Fixes typo in variable
* Fixes another typo in variable
* Fixes formatting error
* Removed reminder comments
* Fixes formatting errors
* Added check for missing directories
* Moved empty dirlistcheck to the right position
* fixes typo
* fixes typo
* Add info if files are found
* Cleans up code
* simplified check for empty changes.csv and index.txt
Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
* Disable experimental web interface for provider
* More compact init
* Fixed typo
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
* Aggregator now checks every provider on whether its mirrored or listed.
*Add the option to the docs.
* Clean up the example toml file to still contain two mirrors and one example-lister.
Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
* Move example and integration test configuration files to /etc/csaf,
this includes the provider's config.toml as well as the test OpenPGP keys.
This shall make it more compatible with good practices like the FHS.
Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>