Only display changelog entries for uploads targeted
unstable, experimental, and testing-proposed-updates
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
for p in new.keys():
query += " source = '%s' AND version > '%s' AND version <= '%s'" \
% (p, new[p][1], new[p][0])
- query += " AND architecture LIKE '%source%' OR"
+ query += " AND architecture LIKE '%source%' AND distribution in \
+ ('unstable', 'experimental', 'testing-proposed-updates') OR"
query += " False ORDER BY source, version DESC"
q = session.execute(query)