From: Eric S. Raymond Date: Fri, 15 Oct 2010 06:28:45 +0000 (-0400) Subject: Document that release withdrawal doesn't work yet in the 3.0 API. X-Git-Tag: 2.0~28 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=111be90ed7c65559827c9354f1808c30dad44d5b;p=freecode-submit.git Document that release withdrawal doesn't work yet in the 3.0 API. --- diff --git a/freshmeat-submit b/freshmeat-submit index 228e08e..53b85b5 100755 --- a/freshmeat-submit +++ b/freshmeat-submit @@ -98,6 +98,7 @@ class FreshmeatSession: "Withdraw a specified release from the current project." if self.verbose: print "Withdrawing %s release: %s" % (self.project, release) + raise FreshmeatSessionException("Release removal is not yet implemented in the 3.0 API.") def update_core(self, coredata): "Update the core data for a project." diff --git a/freshmeat-submit.xml b/freshmeat-submit.xml index f3b0977..5e5ec1d 100644 --- a/freshmeat-submit.xml +++ b/freshmeat-submit.xml @@ -6,7 +6,7 @@ freshmeat-submit 1 -Dec 7 2003 +Oct 15 2010 freshmeat-submit @@ -50,7 +50,9 @@ freshmeat database via its API. Delete the specified release rather than submitting it. With this option, all data other than Project and Release are -ignored. +ignored. Note: This is not yet +implemented in the 3.0 API; until it is, invoking +this mode will throw an error. @@ -268,6 +270,8 @@ mined out of the RPM. data API significantly. While we have attempted to maintain backward compatibility, the data model has changed in significant ways. +There is not as yet any way to withdraw a release. + There is no longer a Branch attribute. The old Release-Focus field is gone. As a special case, this