Monthly instead of yearly reviews

Currently, the plugin will only publish topics for a year, not for a given month. It would be technically possible to publish the topic on a monthly basis using the command that @ondrej provided, but that would be giving you data for the previous year. To get data for the current year, you’ll need to set the review_year parameter when you run the job:

Jobs::YearlyReview.new.execute(force: true, review_year: '2023')

That won’t give you monthly data, but will give data that’s been collected for 2023. So if you ran it on Feb 1, it would give you data for January. If you ran it on March 1, it would give you data for January and February.

Maybe the Discourse team would be open to a PR that allowed review topics to be generated on a monthly basis.

6 Likes