Update:Remora Download Counting: Difference between revisions

Separating download counts by application (clarify)
No edit summary
(Separating download counts by application (clarify))
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:


* 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:
* 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
** Counts don't get counted twice
* 7+ day-old counts aren't lingering
** 7+ day-old counts aren't lingering
* 7-day counts in addons.weeklydownloads match what's in the DB?
** 7-day counts in addons.weeklydownloads match what's in the DB?
 
<dl>
<dt>Separating download counts by application</dt>
<dd>Suggest the download counts be kept separately for each application.  The "most popular" pages are meaningless if the counts are not per-application: since some add-ons install in multiple applications, the most popular list for a non-Firefox application such as Thunderbird is dominated by the Firefox users download count, regardless of whether Thunderbird users find those add-ons useful in Thunderbird.
 
Before Remora, each add-on's page identified the user's application-to-be-extended in the URL (.../thunderbird/220, .../firefox/220, etc.).  Suggest this could be used to let the download counter identify the user's application (via the referring page), so separate counts can be kept for each application.
 
See {{bug|369194}} for more detail.  ([[User:Gekacheka|Gekacheka]] 08:03, 10 February 2007 (PST))
</dd>
</dl>
101

edits