From 0c3ddc40a30c58bbff3a84e665183e9ba8320fb9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 17 Oct 2010 16:00:54 -0400 Subject: [PATCH] API transactions are fully working, bump version to 2.0. --- TEST | 16 ++++++---------- freshmeat-submit | 2 +- freshmeat-submit.spec | 13 ++++++++----- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/TEST b/TEST index 6de1c38..664e810 100644 --- a/TEST +++ b/TEST @@ -1,18 +1,14 @@ Project: freshmeat-submit -Description: freshmeat-submit is a tool to submit version updates to - freshmeat.net. It is designed to run from within a project release - script or makefile production, and uses freshmeat.net's JSON API. -Version: 1.7 +Description: freshmeat-submit is a tool to submit version and project + metadata updates to freshmeat.net. It is designed to run from within a + project release script or makefile production. +Version: 2.0 Release-Focus: Major feature enhancements Hide: Y Website-URL: http://catb.org/~esr/freshmeat-submit/ Tar/GZ-URL: http://catb.org/~esr/freshmeat-submit/freshmeat-submit-${version}.tar.gz -This is a test release dummy being used to check if the new -implementation of freshmeat-submit actually works with the 3.0 API -before releasing it as 2.0. Subscribers should ignore it; freshmeat -admins, you can delete it out of the queue but please email me at -esr@thyrsus.com to inform me that it arrived and of any errors in -processing. +This release updates the tool to use freshmeat.net's JSON API. + diff --git a/freshmeat-submit b/freshmeat-submit index ddeafbc..f937e38 100755 --- a/freshmeat-submit +++ b/freshmeat-submit @@ -44,7 +44,7 @@ class FreshmeatSessionException: class FreshmeatSession: "Encapsulate the state of a Freshmeat API session." - server = "http://staging.freshmeat3.net/" + server = "http://freshmeat.net/" def __init__(self, auth=None, verbose=0, emit_enable=True): "Initialize Freshmeat session credentials." diff --git a/freshmeat-submit.spec b/freshmeat-submit.spec index 3f5f870..188c7a2 100644 --- a/freshmeat-submit.spec +++ b/freshmeat-submit.spec @@ -1,5 +1,5 @@ Name: freshmeat-submit -Version: 1.6 +Version: 2.0 Release: 1 URL: http://www.catb.org/~esr/freshmeat-submit/ Source0: %{name}-%{version}.tar.gz @@ -11,10 +11,10 @@ BuildRoot: %{_tmppath}/%{name}-root %description freshmeat-submit is a script that supports remote submission of -release updates to Freshmeat via its XML-RPC interface. It is -intended for use in project release scripts. It reads the metadata -from an RFC-2822-like message on standard input, possibly with -overrides by command-line switches. +release updates to Freshmeat via its JSON API. It is intended for use +in project release scripts. It reads the metadata from an +RFC-2822-like message on standard input, possibly with overrides by +command-line switches. %prep %setup -q @@ -38,6 +38,9 @@ cp freshmeat-submit.1 "$RPM_BUILD_ROOT"%{_mandir}/man1/ %{_bindir}/freshmeat-submit %changelog +* Mon Oct 17 2010 Eric S. Raymond - 2.0-1 +- Updated to work with the JSON-based 3.0 freshmeat.net API. + * Mon Aug 2 2004 Eric S. Raymond - 1.6-1 - Documentation and packaging fixes. -- 2.43.0