perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject 2.0.0 version tweaks
Date Fri, 13 May 2005 22:35:49 GMT
stas@apache.org wrote:
> Author: stas
> Date: Fri May 13 15:26:31 2005
> New Revision: 170103
> 
> URL: http://svn.apache.org/viewcvs?rev=170103&view=rev
> Log:
> prepare for the 2.0.0 launch

I hope I did the numbers right, please review. Especially 
lib/mod_perl2.pm. Thanks.

Actually I don't think this is right:

     our $API_VERSION = 2;

but it's probably too late to change. It should probably be 
$API_VERSION_MAJOR, since if 2.2 comes out having $API_VERSION = 2 may no 
longer be a good idea. but we could probably introduce those and deprecate
$API_VERSION in 2.2.

> Modified:
>     perl/modperl/trunk/Changes
>     perl/modperl/trunk/Makefile.PL
>     perl/modperl/trunk/RELEASE
>     perl/modperl/trunk/lib/mod_perl2.pm
> 
> Modified: perl/modperl/trunk/Changes
> URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/Changes?rev=170103&r1=170102&r2=170103&view=diff
> ==============================================================================
> --- perl/modperl/trunk/Changes (original)
> +++ perl/modperl/trunk/Changes Fri May 13 15:26:31 2005
> @@ -10,7 +10,7 @@
>  
>  =over 3
>  
> -=item 1.999_24-dev
> +=item 2.000_00-dev
>  
>  Reintroduce a pure-Perl version of ModPerl::Util::unload_package()
>  The problematic XS version is now called unload_package_xs() and
> 
> Modified: perl/modperl/trunk/Makefile.PL
> URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/Makefile.PL?rev=170103&r1=170102&r2=170103&view=diff
> ==============================================================================
> --- perl/modperl/trunk/Makefile.PL (original)
> +++ perl/modperl/trunk/Makefile.PL Fri May 13 15:26:31 2005
> @@ -67,7 +67,7 @@
>  
>  ModPerl::BuildMM::WriteMakefile(
>      NAME          => 'mod_perl2',
> -    VERSION       => '2.0.0-RC6',
> +    VERSION_FROM  => "lib/mod_perl2.pm",
>      DISTNAME      => 'mod_perl',
>      NO_META       => 1,
>      ABSTRACT_FROM => 'lib/mod_perl2.pm',
> 
> Modified: perl/modperl/trunk/RELEASE
> URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/RELEASE?rev=170103&r1=170102&r2=170103&view=diff
> ==============================================================================
> --- perl/modperl/trunk/RELEASE (original)
> +++ perl/modperl/trunk/RELEASE Fri May 13 15:26:31 2005
> @@ -56,17 +56,17 @@
>  
>    a. upload to www.apache.org:/www/perl.apache.org/dist/
>  
> -    %  scp mod_perl-2.0.0-RC7.tar.gz perl.apache.org:/www/perl.apache.org/dist/
> +    %  scp mod_perl-2.0.0.tar.gz perl.apache.org:/www/perl.apache.org/dist/
>  
>    b. ssh to perl.apache.org, unpack the package, update symlinks to the
>       tar ball and unpacked distro:
>  
>      % ssh perl.apache.org
>      % cd /www/perl.apache.org/dist/
> -    % ln -sf mod_perl-2.0.0-RC7.tar.gz mod_perl-2.0-current.tar.gz
> -    % tar -xzvf mod_perl-2.0.0-RC7.tar.gz
> +    % ln -sf mod_perl-2.0.0.tar.gz mod_perl-2.0-current.tar.gz
> +    % tar -xzvf mod_perl-2.0.0.tar.gz
>      % rm /www/perl.apache.org/dist/mod_perl-2.0-current
> -    % ln -sf  mod_perl-2.0.0-RC7 mod_perl-2.0-current
> +    % ln -sf  mod_perl-2.0.0 mod_perl-2.0-current
>  
>    c. archive older releases (keep current + one prior release)
>  
> @@ -92,27 +92,27 @@
>  
>    a. sign your local copy of the tarball:
>  
> -    % gpg --detach-sign --armor mod_perl-2.0.0-RC7.tar.gz
> +    % gpg --detach-sign --armor mod_perl-2.0.0.tar.gz
>  
> -    % pgps -b --armor mod_perl-2.0.0-RC7.tar.gz
> +    % pgps -b --armor mod_perl-2.0.0.tar.gz
>  
>    b. upload the generated sig file to www.apache.org:
>  
> -    % scp mod_perl-2.0.0-RC7.tar.gz.asc perl.apache.org:/www/perl.apache.org/dist/
> +    % scp mod_perl-2.0.0.tar.gz.asc perl.apache.org:/www/perl.apache.org/dist/
>      % ssh www.apache.org
>      % cd /www/perl.apache.org/dist/
> -    % chmod 0664 mod_perl-2.0.0-RC7.tar.gz.asc
> -    % ln -sf mod_perl-2.0.0-RC7.tar.gz.asc mod_perl-2.0-current.tar.gz.asc
> +    % chmod 0664 mod_perl-2.0.0.tar.gz.asc
> +    % ln -sf mod_perl-2.0.0.tar.gz.asc mod_perl-2.0-current.tar.gz.asc
>  
>    c. ask one of the other developers to double check the signature file
>       and tarball: download both files and verify the signature:
>  
> -    http://perl.apache.org/dist/mod_perl-2.0.0-RC7.tar.gz.asc
> -    http://perl.apache.org/dist/mod_perl-2.0.0-RC7.tar.gz
> +    http://perl.apache.org/dist/mod_perl-2.0.0.tar.gz.asc
> +    http://perl.apache.org/dist/mod_perl-2.0.0.tar.gz
>  
> -    % gpg --verify mod_perl-2.0.0-RC7.tar.gz.asc
> +    % gpg --verify mod_perl-2.0.0.tar.gz.asc
>  
> -    % pgpv mod_perl-2.0.0-RC7.tar.gz.asc
> +    % pgpv mod_perl-2.0.0.tar.gz.asc
>  
>    d. make sure that the files you just created are group rw so
>       all the dist admins can make changes:
> @@ -126,8 +126,8 @@
>    a. unpack the package, update symlinks to the tarball and unpacked distro:
>  
>     % cd /www/www.apache.org/dist/perl/
> -   % cp /www/perl.apache.org/dist/mod_perl-2.0.0-RC7.tar.gz* .
> -   % tar -xzvf mod_perl-2.0.0-RC7.tar.gz
> +   % cp /www/perl.apache.org/dist/mod_perl-2.0.0.tar.gz* .
> +   % tar -xzvf mod_perl-2.0.0.tar.gz
>     % mv mod_perl-2.0.0-RC5.tar.gz* /www/archive.apache.org/dist/perl/
>     % rm -rf mod_perl-2.0.0-RC5
>  
> @@ -141,11 +141,11 @@
>  8. Announce the package
>  
>    a. post ... to the modperl, announce lists
> -  Subject: [ANNOUNCE] mod_perl 2.0.0-RC7 
> +  Subject: [ANNOUNCE] mod_perl 2.0.0 
>       include 
>    - link at perl.apache.org:
> -    http://apache.org/dist/perl/mod_perl-2.0.0-RC7.tar.gz
> -    http://apache.org/dist/perl/mod_perl-2.0.0-RC7.tar.gz.asc (pgp sig)
> +    http://apache.org/dist/perl/mod_perl-2.0.0.tar.gz
> +    http://apache.org/dist/perl/mod_perl-2.0.0.tar.gz.asc (pgp sig)
>    - MD5 sig (as it comes from CPAN upload announce).
>    - the latest Changes
>  
> @@ -156,7 +156,7 @@
>    b. edit ./Changes:
>       - start a new item with incremented version + '-dev'
>  
> -  =item 1.999_25-dev
> +  =item 2.000_00-dev
>  
>    c. add a release entry in STATUS
>  
> @@ -174,6 +174,6 @@
>  
>    e. commit the changed files
>  
> -     % svn ci -m "start 1.999_24-dev cycle" Changes lib/mod_perl2.pm \
> +     % svn ci -m "start 2.000_00-dev cycle" Changes lib/mod_perl2.pm \
>         STATUS RELEASE
>  
> 
> Modified: perl/modperl/trunk/lib/mod_perl2.pm
> URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/mod_perl2.pm?rev=170103&r1=170102&r2=170103&view=diff
> ==============================================================================
> --- perl/modperl/trunk/lib/mod_perl2.pm (original)
> +++ perl/modperl/trunk/lib/mod_perl2.pm Fri May 13 15:26:31 2005
> @@ -18,7 +18,7 @@
>  use strict;
>  
>  BEGIN {
> -    our $VERSION = "1.999024";
> +    our $VERSION = "2.000000";
>      our $VERSION_TRIPLET;
>  
>      if ($VERSION =~ /(\d+)\.(\d\d\d)(\d+)/) {
> @@ -31,9 +31,10 @@
>          die "bad version: $VERSION";
>      }
>  
> -    # $VERSION        : "1.099020"
> -    # int $VERSION    : 1.09902
> -    # $VERSION_TRIPLET: 1.99.20
> +    # for example this gives us:
> +    # $VERSION        : "2.000020"
> +    # int $VERSION    : 2.00002
> +    # $VERSION_TRIPLET: 2.0.20
>  
>      # easy to parse request time  API version - use
>      # $mod_perl2::VERSION for more granularity
> 


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message