From: Joerg Jaspert Date: Sat, 7 May 2011 18:37:38 +0000 (+0200) Subject: dont output tag lines from metadata table, only external overrides X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bfd1f32b8e04355330d0fe17304e8eac23b6175;p=dak dont output tag lines from metadata table, only external overrides Signed-off-by: Joerg Jaspert --- diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index 8908e3cf..34ffab57 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -123,6 +123,9 @@ def generate_sources(suite_id, component_id): ############################################################################# +# We currently filter out the "Tag" line. They are set by external overrides and +# NOT by the maintainer. And actually having it set by maintainer means we output +# it twice at the moment -> which breaks dselect. # Here be large dragons. _packages_query = R""" WITH @@ -160,7 +163,7 @@ SELECT JOIN metadata_keys mk ON mk.key_id = bm.key_id WHERE bm.bin_id = tmp.binary_id - AND key != 'Section' AND key != 'Priority' + AND key != 'Section' AND key != 'Priority' AND key != 'Tag' ) || COALESCE(E'\n' || (SELECT STRING_AGG(key || '\: ' || value, E'\n' ORDER BY key)