httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: cvs commit: apache-devsite how-to-release.html
Date Wed, 06 Aug 1997 13:35:46 GMT
See my notes below.  I would also recommend a umask 022 at the start,
but...

On Wed, 6 Aug 1997, Ralf S. Engelschall wrote:

> rse         97/08/06 00:19:47
> 
>   Modified:    .         how-to-release.html
>   Log:
>   Overhauled the step-by-step instruction for releasing Apache.
>   
>   Revision  Changes    Path
>   1.2       +85 -15    apache-devsite/how-to-release.html
>   
>   Index: how-to-release.html
>   ===================================================================
>   RCS file: /export/home/cvs/apache-devsite/how-to-release.html,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- how-to-release.html	1997/06/17 10:43:29	1.1
>   +++ how-to-release.html	1997/08/06 07:19:46	1.2
>   @@ -1,20 +1,90 @@
>   +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
>   +<HTML>
>   + <HEAD>
>   +  <TITLE>How to build a release of Apache</TITLE>
>   + </HEAD>
>   +<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
>   + <BODY
>   +  BGCOLOR="#FFFFFF"
>   +  TEXT="#000000"
>   +  LINK="#0000FF"
>   +  VLINK="#000080"
>   +  ALINK="#FF0000"
>   + >
>   +<!--#include virtual="header.html" -->
>   +
>   +<BLOCKQUOTE>
>    <H1>How to build a release of Apache</H1>
>    
>   -<address>Originally from Alexei Kosut</address>
>   +Written by Ralf S. Engelschall <a href="mailto:rse@apache.org">&lt;rse@apache.org&gt</a>,<br>
>   +based on original work by Alexei Kosut <a href="mailto:akosut@apache.org">&lt;akosut@apache.org&gt</a>,<br>
>   +
>   +<P>
>    
>   +<OL>
>   +<HR>
>   +<b>[ Only for final releases, not for internal pre-releases ]</b><br>
>   +<P>
>   +<LI> Change <code>SERVER_VERSION</code> in <tt>src/httpd.h</tt><br>
>   +     from ``<code>Apache/1.X.Y-dev</code>'' to ``<code>Apache/1.X.Y</code>''
and commit.<br>
>   +     <code><b>$ vi src/httpd.h</b></code><br>
>   +     <code><b>$ cvs ci src/httpd.h</b></code>

Most would use commit.  Perhaps best to not confuse people...

>   +<P>
>   +<LI> Tag the sources for this release:<br>
>   +     (<i>note: be sure to tag the whole thing, not just <code>src</code></i>!)<br>
>   +     <code><b>$ cvs tag APACHE_1_X_Y .</b></code>
>   +<P>
>   +<HR>
>   +<b>[ For all releases ]</b><br>
>   +<P>
>   +<P>
>   +<LI> Make an export version of the distribution:<br>
>   +     <code><b>$ cd /tmp</b></code><br>

Don't use /tmp on taz, use /var/tmp or something in your home dir.

>   +     <code><b>$ cvs export -r APACHE_1_X_Y -d apache_1.X.Y apache</b></code><br>
>   +     <code><b>$ cd apache_1.X.Y</b></code>
>   +<P>
>   +<LI> Create <code>src/Configuration</code> file:<br>
>   +     <code><b>$ cp src/Configuration.tmpl src/Configuration</b></code>
>   +<P>
>   +<LI> Remove <code>RULES.CVS</code> file and various <code>.cvsignore</code>
files:<br>
>   +     <code><b>$ rm RULES.CVS</b></code><br>
>   +     <code><b>$ find . -name ".cvsignore" -print | xargs rm</b></code>
>   +<P>
>   +<LI> Add an empty <code>logs/</code> directory:<br>
>   +     <code><b>$ mkdir logs</b></code>
>   +<P>
>   +<LI> Expand the Service-Side-Include directives in the manual:<br>
>   +     <code><b>$ cd htdocs/manual</b></code><br>
>   +     <code><b>$ ./expand.pl</b></code><br>
>   +     <code><b>$ rm ./expand.pl</b></code><br>
>   +     <code><b>$ cd ../..</b></code>
>   +<P>
>   +<LI> Roll the tarball (with sorted files!):<br>
>   +     <code><b>$ cd ..</b></code><br>
>   +     <code><b>$ tar cvf apache_1.2.2.tar \</b></code><br>
>   +     <code><b>&nbsp;&nbsp;`find apache_1.2.2 -depth -print | sort
|\</b></code><br>
>   +     <code><b>&nbsp;&nbsp;&nbsp;perl -nle 'print $_ if -f
$_;'`</b></code>

Is it worth sorting?

>   +<P>
>   +<LI> Make the final packed distribution files:<br>
>   +     <code><b>$ gzip -9 apache_1.2.2.tar</b></code><br>
>   +     <code><b>$ compress apache_1.2.2.tar</b></code><br>

Well, good luck compressing a file you just gzipped.  <g>  Don't use -9.
I think that munges the size of the last block so some tars don't like it.


Mime
View raw message