Skip to content

ResourcesBot: Implement better reporting #116

@holybiber

Description

@holybiber

The ResourcesBot should generate some nice report of what it did. Like when it runs daily, I'd like to get an email with a summary after the run saying something like:

  • 5 new worksheets added, 3 worksheets updated, 2 new PDFs
  • updated 6 language reports
  • detected 25 inconsistencies

Details:

  • Spanish: 1 new worksheet, 1 new PDF
  • Tamil: 1 new worksheet
  • ...
  • ExportPDF: ...
  • ExportHTML: ...

Not sure how to do that best. Probably add some data structure / function to the module registration (#113) / the abstract base classes for modules in post_processing.py
Not sure if it's possible to find some structured way, probably just have a string. Maybe two:

  • one short overview
  • one more detailled report

I think it's best to use mediawiki markup for this string to add links etc. Because we may want to write this report to some internal page directly into the system for reference and with one mediawiki API query it's possible to convert that into HTML and send out an HTML email e.g.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Ready

Relationships

None yet

Development

No branches or pull requests

Issue actions