summaryrefslogtreecommitdiffstats
path: root/lib/ASM/Config.pm
Commit message (Collapse)AuthorAge
* Extirpate traces of XMLLibravatarJanik Kleinhoff2016-10-07
| | | | | | | | | | | | | | | | Summary: Resolve T6 and use the opportunity to get rid of our dependency on `XML::Simple` once and for all. Test Plan: Run the bot with JSON config files. Reviewers: Unit193 Reviewed By: Unit193 Tags: #antispammeta Maniphest Tasks: T6 Differential Revision: https://asm.shalture.org/D1
* BOOM GOES THE XMLLibravatarJanik Kleinhoff2016-03-13
This likely introduces twenty new bugs, but on the other hand it avoids twenty thousand other issues (most of them relating to XML::Simple doing the utterly wrong things all the time and configuration merely mitigating the issues, rather than fixing the core problem) so chances are it's more than worth it. We check if there's shiny new JSON-based config in place already; if not, we try to load XML config and convert it to the new format. The old config files are left untouched in case we fucked up somehow.