Commit fad26b67 authored by Andreas Tille's avatar Andreas Tille

Add Vcs URLs to packages in new

parent 44cb7f39
......@@ -377,6 +377,9 @@ query = """PREPARE query_new (text[]) AS SELECT
p.source, p.section, p.distribution, 'new' AS release, p.component, p.homepage,
description AS description_en, long_description AS long_description_en,
s.vcs_url AS "vcs-url",
s.vcs_type AS "vcs-type",
s.vcs_browser AS "vcs-browser",
bibyear.value AS "year",
bibtitle.value AS "title",
bibauthor.value AS "authors",
......@@ -1532,6 +1535,10 @@ class TaskDependencies:['version'].append({'archs':'all', 'release':'NEW',
'version':row['version']})['pkg-url'] = '' % (row['source'], row['version'])
for prop in ('url', 'browser', 'type'):
if row['vcs-' + prop]:
vcs ='vcs', {})
vcs[prop] = row['vcs-' + prop]
# Warn about remaining information of prospective package
if (['desc']['en'] and['desc']['en']['short']) or['homepage'] != HOMEPAGENONE:"The package %s is not yet in Debian but it is just in the new queue. (Task %s)" % (['name'], self.task))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment