Author: joes
Date: Tue Sep 6 13:55:54 2005
New Revision: 279104
URL: http://svn.apache.org/viewcvs?rev=279104&view=rev
Log:
Add update_version.pl utility, and document the version number
in our pod files.
Added:
httpd/apreq/trunk/build/update_version.pl (with props)
Modified:
httpd/apreq/trunk/build/RELEASE
httpd/apreq/trunk/configure.ac
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.pod
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod
Modified: httpd/apreq/trunk/build/RELEASE
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/build/RELEASE?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/build/RELEASE (original)
+++ httpd/apreq/trunk/build/RELEASE Tue Sep 6 13:55:54 2005
@@ -105,3 +105,8 @@
% build/announcement.pl [EMAIL PROTECTED] < CPAN_ack | ssh [EMAIL
PROTECTED] "sendmail -oi -t -odq"
+
+11. Update CHANGES and STATUS to reflect the start of a new develoment cycle,
+ and run this to update the package version numbers throughout the tree:
+
+ % build/update_version.pl $VERSION+1
Added: httpd/apreq/trunk/build/update_version.pl
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/build/update_version.pl?rev=279104&view=auto
==============================================================================
--- httpd/apreq/trunk/build/update_version.pl (added)
+++ httpd/apreq/trunk/build/update_version.pl Tue Sep 6 13:55:54 2005
@@ -0,0 +1,39 @@
+#!/usr/bin/perl
+# update_version.pl - update all package version strings for apreq
+
+use strict;
+use warnings FATAL => "all";
+
+my $version = shift;
+
+
+# .pod
+# glue/perl/xsbuilder
+# "This manpage documents version (\d+.\S+)"
+
+use File::Find;
+my @pod;
+find(sub { push @pod, $File::Find::name if /\.pod$/ },
+ qw(glue/perl/xsbuilder));
+
+my $substitution = "s/(?<=This manpage documents version )\\S+/$version/";
+
+system "perl -i -ple '$substitution' @pod";
+
+
+# .pm
+# glue/perl/lib/Apache2/*
+# our $VERSION = "[^"]+"
+my @pm;
+find(sub { push @pm, $File::Find::name if /\.pm$/ },
+ qw(glue/perl/lib/Apache2));
+
+system "perl -i -ple '$substitution' @pm";
+
+#
+# configure.ac -
+
+my $pattern1 = "(?<=AC_INIT\\(Apache HTTP Server Request Library,
)(\\S+)(?=,)";
+my $pattern2 = "(?<=AM_INIT_AUTOMAKE\\(libapreq2, )(\\S+)(?=\\))";
+
+system "perl -i -ple 's/$pattern1/$version/ or s/$pattern2/$version/'
configure.ac";
Propchange: httpd/apreq/trunk/build/update_version.pl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: httpd/apreq/trunk/build/update_version.pl
------------------------------------------------------------------------------
svn:executable = *
Modified: httpd/apreq/trunk/configure.ac
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/configure.ac?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/configure.ac (original)
+++ httpd/apreq/trunk/configure.ac Tue Sep 6 13:55:54 2005
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
-AC_INIT(Apache HTTP Server Request Library, 2.07, [email protected],
libapreq2)
+AC_INIT(Apache HTTP Server Request Library, 33, [email protected],
libapreq2)
dnl Generate config.nice script- macro must be here at the top
dnl to avoid corruption of $0 and [EMAIL PROTECTED]
APR_CONFIG_NICE(config.nice)
@@ -13,7 +13,7 @@
dnl debian woody's archaic auto* tools don't set PACKAGE/VERSION correctly via
dnl AC_INIT above, so we do it again here.
-AM_INIT_AUTOMAKE(libapreq2, 2.07)
+AM_INIT_AUTOMAKE(libapreq2, 33)
AC_PROG_MAKE_SET
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.pod
(original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.pod Tue
Sep 6 13:55:54 2005
@@ -18,7 +18,8 @@
The APR::Request::Apache2 module provides a constructor
for interfacing with the mod_apreq2 Apache module.
-This manpage documents the APR::Request::Apache2 package.
+This manpage documents version 33 of
+the APR::Request::Apache2 package.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod Tue Sep 6
13:55:54 2005
@@ -18,7 +18,8 @@
The APR::Request::CGI module provides a constructor
for accessing CGI request data associated to a pool via libapreq2.
-This manpage documents the APR::Request::CGI package.
+This manpage documents version 33
+of the APR::Request::CGI package.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
(original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod Tue Sep
6 13:55:54 2005
@@ -63,7 +63,8 @@
for interfacing with libapreq2's cookie API. It also provides
a few utility functions and constants.
-This manpage documents the APR::Request::Cookie and
+This manpage documents version 33
+of the APR::Request::Cookie and
APR::Request::Cookie::Table packages.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.pod Tue Sep
6 13:55:54 2005
@@ -13,7 +13,8 @@
=head1 DESCRIPTION
-This manpage documents the APR::Request::Error package.
+This manpage documents version 33
+of the APR::Request::Error package.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.pod Tue Sep 6
13:55:54 2005
@@ -15,7 +15,8 @@
=head1 DESCRIPTION
-This manpage documents the APR::Request::Hook package.
+This manpage version documents version 2.07
+of the APR::Request::Hook package.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod Tue Sep
6 13:55:54 2005
@@ -281,7 +281,7 @@
Get/set the class each table element is blessed into during a
-L<get> or L<FETCH> call. If defined, the class must be derived
+C<get> or C<FETCH> call. If defined, the class must be derived
from APR::Request::Param. When called with $set, it returns
the $table. Otherwise it returns the name of the current class,
or undef if no param class is defined.
@@ -303,7 +303,7 @@
$table->FETCH($key)
In scalar context, this returns the first value matching
-$key (note: see NEXTKEY for additional notes). The match
+$key (see NEXTKEY for additional notes on this). The match
is always case-insensitive. In list context, this returns
all matching values. Note: the type of the return values
depends on the table's current param_class.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.pod
(original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.pod Tue Sep
6 13:55:54 2005
@@ -15,7 +15,8 @@
=head1 DESCRIPTION
-This manpage documents the APR::Request::Parser package.
+This manpage documents version 33
+of the APR::Request::Parser package.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod?rev=279104&r1=279103&r2=279104&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod Tue Sep 6
13:55:54 2005
@@ -51,8 +51,8 @@
for interfacing with libapreq2's module API. It also provides
a few utility functions and constants.
-This manpage documents the APR::Request and APR::Request::Custom
-packages.
+This manpage documents version 33
+of the APR::Request and APR::Request::Custom packages.
@@ -209,10 +209,18 @@
+
+=head2 upload
+
+ $req->upload()
+ $req->upload($key)
+
+
+
+
=head2 uploads (APR::Request::Param::Table???)
- $req->uploads()
- $req->uploads($key)
+ $req->uploads($pool)