print "Project-Tag-List: %s" % ",".join(session.project_data["tag_list"])
for assoc in session.project_data['approved_urls']:
print "%s-URL: %s" % (assoc["label"].replace(" ","-"), assoc["redirector"])
+ if 'recent_releases' in session.project_data:
+ most_recent = session.project_data['recent_releases'][0]
+ print "Version: %s" % most_recent['version']
+ print "Tag-List: %s" % ",".join(most_recent['tag_list'])
+ if most_recent.get('hidden_from_frontpage'):
+ print "Hide: Y"
+ else:
+ print "Hide: N"
+ print ""
+ print most_recent["changelog"]
else:
# OK, now actually add or delete the release.
if update.per_project:
<listitem>
<para>Query the specified project. Delivers to standard output a job
card describing the project metadata that can be edited and fed back
-to this tool.</para>
+to this tool. The data with release rather than project scope is for
+the most recent release.</para>
</listitem>
</varlistentry>
<varlistentry>