session = FreshmeatSession(verbose=int(verbose), emit_enable=not dryrun)
session.on_project(update.name)
if options.query:
- print "Querying %s: not yet supported." % options.query
- print session.project_data
+ print "Project: %s" % session.project_data["name"]
+ print "Summary: %s" % session.project_data["oneliner"]
+ print "Description: %s" % session.project_data["description"].replace("\n", "\n ").rstrip()
+ print "License-List: %s" % ",".join(session.project_data["license_list"])
+ print "Project-Tag-List: %s" % ",".join(session.project_data["tag_list"])
else:
# OK, now actually add or delete the release.
if update.per_project:
<cmdsynopsis>
<command>freshmeat-submit</command>
+ <arg>-q</arg>
<arg>-V</arg>
<arg>-n</arg>
<arg>-N</arg>
<variablelist>
<varlistentry>
+<term>-q, --query</term>
+<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>
+</listitem>
+</varlistentry>
+<varlistentry>
<term>-d, --delete</term>
<listitem>
<para>Delete the specified release rather than submitting it. With