Update:Remora Download Counting: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15: Line 15:
* totaldownloads -> totaldownloads
* totaldownloads -> totaldownloads
* Both of these mappings are in the [[Update:Remora_Database_Migration#main_to_addons.2C_translations|migration notes]]
* Both of these mappings are in the [[Update:Remora_Database_Migration#main_to_addons.2C_translations|migration notes]]
* As for using Cake for this, I don't think it really matters what we use.  The existing maintenance script could actually be used as-is with modifications to the SQL.  Because it is not in Cake it would make it harder to test, though, so if moving it to Cake seems like the right thing, that I'm all for it.  It's arguable that creating tests for the existing script is an arbitrary effort.  You'd want to test that:
* Counts don't get counted twice
* 7+ day-old counts aren't lingering
* 7-day counts in addons.weeklydownloads match what's in the DB?
3,035

edits