From 111be90ed7c65559827c9354f1808c30dad44d5b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 15 Oct 2010 02:28:45 -0400 Subject: [PATCH] Document that release withdrawal doesn't work yet in the 3.0 API. --- freshmeat-submit | 1 + freshmeat-submit.xml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.43.0