提交 973ed88e 编写于 作者: L Luca Falavigna

make-changelog: only consider latest sources in suites

Signed-off-by: NLuca Falavigna <dktrkranz@debian.org>
上级 ad4d199f
......@@ -166,8 +166,9 @@ def export_files(session, pool, clpool, temppath):
"""
sources = {}
query = """SELECT s.source, su.suite_name AS suite, s.version, f.filename
query = """SELECT DISTINCT s.source, su.suite_name AS suite, s.version, f.filename
FROM source s
JOIN newest_source n ON n.source = s.source AND n.version = s.version
JOIN src_associations sa ON sa.source = s.id
JOIN suite su ON su.id = sa.suite
JOIN files f ON f.id = s.file
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册