bkardell / bcd-watch

News feeds and helpful reports auto-generated from bcd data
http://bcd-watch.igalia.com
27 stars 3 forks source link

add a new manual index which doesn't reason much #76

Closed bkardell closed 1 month ago

bkardell commented 1 month ago

Before releasing, we rewrote a bunch of stuff in the last month to (appear at least) to be based on Monday to Mondays. This has caused a bunch of confusion especially as it can sometimes be run on mondays and it can need to be re run on mondays, and sometimes updates also happen on mondays. As such there is now some funky code which is patched in here and there at some places where it just doesn't make sense all 7 days of the week. I feel like it needs to be cleaned up, so here is a simple OG-style way to specifically run the comparison of 2 jsons in store and output a specific file which currently has to be a monday and which you'll have to specify yourself. This at least gets us a basic thing, but really we should have a few simple commands that you can run for the basic scenarios probably, like "rerunLastReport" or something as one, for example. Today we can't exactly do that reliably because it's relying too much on the date it runs in the job and a relationship to the output file name.

reprocessAll works, but it's heavy-handed.