Weblate staging website: improve algorithm that chooses among available suggestions
According to drebs’ research on #11763-note_31,
files/weblate/scripts/save-suggestions.py
(in the puppet-tails.git
repo) currently picks the oldest suggestion. Instead we would like to:
- Pick the suggestion with most number of votes.
- If there are several suggestions with the largest number of votes, then pick the newest one.
Feature Branch: salsa.debian.org:/hefee/puppet-tails.git:hefee/16932-most-voted-suggestion
Parent Task: #10034 (closed)
Related issues
- Related to #16989 (closed)
Original created by @intrigeri on 16932 (Redmine)
Edited by intrigeri