From: Tollef Fog Heen Date: Tue, 27 Nov 2012 10:13:33 +0000 (+0100) Subject: dak/generate_releases.py: pull components from the database X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a855b7ce0060012ad7a208254dab69c3f031f14;p=dak dak/generate_releases.py: pull components from the database Address FIXME that talks about pulling Components from the DB. Signed-off-by: Tollef Fog Heen Signed-off-by: Ansgar Burchardt --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 798726bb..03081627 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -173,9 +173,7 @@ class ReleaseWriter(object): out.write("Architectures: %s\n" % (" ".join([a.arch_string for a in architectures]))) - ## FIXME: Components need to be adjusted to whatever will be in the db - ## Needs putting in the DB - components = ['main', 'contrib', 'non-free'] + components = [ c.component_name for c in session.query(Component) ] out.write("Components: %s\n" % ( " ".join(map(lambda x: "%s%s" % (suite_suffix, x), components ))))