A notice about duplicate cards when information is updated in the .json file that acts as our database, see for example; https://tools.wmflabs.org/awmd-stats/month/2018-07. When a user submits a patch, it's tracked and when it's merged and the page is refreshed, it makes a new entry instead of updating the currently from "NEW" to "MERGED" and as a result, it creates a duplicate of the same result set.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Qgil | T153007 Technical Collaboration annual plan FY2017-18 | |||
Resolved | None | T156153 [AWMD project] Building a team of Wikimedia Volunteer Developers in Africa | |||
Resolved | samuelguebo | T188705 AWMD leader board stats tool to analyze monthly stats for patch contributors | |||
Resolved | samuelguebo | T201566 Dup entries / cards when displaying results for patches submitted |
Event Timeline
Thanks Samuel for fixing this issue. This can now be marked as resolved, check here: https://tools.wmflabs.org/awmd-stats/refresh/2018-08.
Hello @samuelguebo, I'm reopening this due to 1 reason. The grouping works fine but the status of the patch is not updated. So after grouping, patches with status "NEW" still remain "NEW" even if it's been merged. Maybe you can have a look at this? :)
Hi @D3r1ck01, I suspect something, but can you provide me with a link so I can witness this situation?
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/450623, this patch has been merged but here, it shows "NEW", https://tools.wmflabs.org/awmd-stats/contributor/D3r1ck01/2018-08.
Thanks for elaborating, mate. Kindly review the PR: https://github.com/samuelguebo/awmd-stats/pull/34