Catalog includes description / authors per variant.
This commit is contained in:
parent
cee226183c
commit
52bceabab7
1 changed files with 7 additions and 2 deletions
|
@ -264,6 +264,12 @@ for scm in scm_list:
|
|||
package_node.append(variant_node)
|
||||
variant_node.append( make_xml_leaf('id', variant['id']) )
|
||||
variant_node.append( make_xml_leaf('name', variant['name']) )
|
||||
if 'description' in variant:
|
||||
variant_node.append( make_xml_leaf('description', variant['description']) )
|
||||
|
||||
if 'authors' in variant:
|
||||
variant_node.append( make_xml_leaf('author', variant['author']) )
|
||||
|
||||
package_node.append( make_xml_leaf('dir', name) )
|
||||
if not download_base.endswith('/'):
|
||||
download_base += '/'
|
||||
|
@ -332,4 +338,3 @@ files = os.listdir(output_dir)
|
|||
for file in files:
|
||||
if file.endswith('.zip')and not file in valid_zips:
|
||||
print "orphaned zip:", file
|
||||
|
||||
|
|
Loading…
Reference in a new issue