From ace701c4a66620857f468a138c29caeef8e9183d Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Wed, 14 Apr 2010 08:00:30 +0200 Subject: [PATCH] Release 0.7 Add changelog entries. Bump version number. Signed-off-by: Thomas Hochstein --- ChangeLog | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ yapfaq.pl | 4 ++-- 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b3e43a..b34ed2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,70 @@ +Version 0.7 + +* Change: readconfig(): Make mid-format optional. + Set defaults for expires and mid-format when they're invalid + (defaults were already set in postfaq() if undefined). + Change documentation accordingly; make it more clear if + parameters are optional or mandatory. + Thomas Hochstein Tue Apr 13 23:59:43 2010 +0200 + +* Fix: Save status information only after successful posting. + - New Function: updatestaus + Move status information save to updatestatus. + - post() now returns exit code. + - postfaq() will update status information only + when post() was successful. + Thomas Hochstein Sat Apr 10 23:19:44 2010 +0200 + +* New: Add option '-s': pipe article to script. + Use an external program to post - or otherwise handle - + the article. + Amend documentation. + Thomas Hochstein Sat Apr 10 02:14:59 2010 +0200 + +* New: runtime configuration + - Moved configuration to a hash (%Config). + Thomas Hochstein Wed Apr 7 22:09:15 2010 +0200 + - Add rcfile (.yapfaqrc) for configuration. + All configuration data is read from .yapfaqrc + with defaults set in yapfaq.pl + Thomas Hochstein Sat Apr 10 22:02:24 2010 +0200 + - Add sample .yapfaqrc with defaults. + Thomas Hochstein Wed Apr 7 23:16:20 2010 +0200 + - Add option '-c': define another .rcfile. + Thomas Hochstein Thu Apr 8 07:41:43 2010 +0200 + - Update documentation for .rcfile. + Add the according sections to the POD documentation. + Fix some wording. + Thomas Hochstein Sat Apr 10 02:17:00 2010 +0200 + +* Small changes. + -t CONSOLE: Change delimiter. + No leading \n is necessary. + Add some more comments. + Thomas Hochstein Sat Apr 10 01:43:19 2010 +0200 + +* Add option '-V': print version and copyright information. + Thomas Hochstein Thu Apr 8 07:36:11 2010 +0200 + +* Change: -h: Replace version/usage information with man page. + Feed script to perldoc when called with -h. + Thomas Hochstein Thu Apr 8 06:21:05 2010 +0200 + +* Change: Authenticate only if $NNTPUser is set. + Thomas Hochstein Sat Apr 10 00:49:24 2010 +0200 + +* Add check for MID-Format and fallback to FQDN. + Uses hostfqdn from Net::Domain. + Thomas Hochstein Thu Apr 8 08:33:01 2010 +0200 + +* Add checks for mandatory content in configuration file. + Enhance and optimize existing checks. + Thomas Hochstein Thu Apr 8 08:30:21 2010 +0200 + +* Code optimisation (verbose output). + Thomas Hochstein Thu Apr 8 08:00:04 2010 +0200 + + Version 0.6.2 * Fix default for Expires. diff --git a/yapfaq.pl b/yapfaq.pl index dd5e57b..5092827 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -1,6 +1,6 @@ #! /usr/bin/perl -W # -# yapfaq Version 0.6 by Thomas Hochstein +# yapfaq Version 0.7 by Thomas Hochstein # (Original author: Marc Brockschmidt) # # This script posts any project described in its config-file. Most people @@ -12,7 +12,7 @@ # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -my $Version = "0.6.2"; +my $Version = "0.7"; my $RCFile = '.yapfaqrc'; my @ValidConfVars = ('NNTPServer','NNTPUser','NNTPPass','Sender','ConfigFile',