You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2001/02/27 16:00:47 UTC

Re: Is it possible to send a CVS update mail

From: "Bill Stoddard" <bi...@wstoddard.com>
Sent: Tuesday, February 27, 2001 9:03 AM


> when the tree is tagged?  There are lots of hints like updates to the
> Announcement, etc. but nothing definitive.  If this is -easy- to do then I'd
> like to see it happen. Otherwise don't bother.

as simple as sending a message from an ssh session on apache.org.  rbb was quite
good at this for a while when he was tagging alpha trees.

If you want to see this happen (a good idea, IMHO), feel free to insert a little
reminder in the dev-site docs on 'rolling the tarballs'.

Bill


Re: Is it possible to send a CVS update mail

Posted by Bill Stoddard <bi...@wstoddard.com>.
>
>
> > when the tree is tagged?  There are lots of hints like updates to the
> > Announcement, etc. but nothing definitive.  If this is -easy- to do then
I'd
> > like to see it happen. Otherwise don't bother.
>
> as simple as sending a message from an ssh session on apache.org.  rbb was
quite
> good at this for a while when he was tagging alpha trees.
>
> If you want to see this happen (a good idea, IMHO), feel free to insert a
little
> reminder in the dev-site docs on 'rolling the tarballs'.
>

I'd rather not add another thing to do to the process.  Prefer it be
automated.

Bill


Re: Is it possible to send a CVS update mail

Posted by rb...@covalent.net.
On Fri, 2 Mar 2001, Roy T. Fielding wrote:

> > Actually, why don't we simplify this a bit more.  I have been meaning to
> > finish the httpd_rolling script for a while, but I haven't had time.  It
> > should be easy to add a few steps to the beginning, something like:
> >
> > cvs co httpd-2.0
> > cd httpd-2.0
> > ( cd srclib;cvs co apr apr-util )
> > ( update_release.sh )
> > cvs tag $TAG
> > echo "Tree tagged with $TAG" | sendmail -s "httpd-2.0 tagged" \
> >       new-httpd@apache.org
>
> No, absolutely not, -1.  The RM is supposed to be working on a checked-out
> tree and testing it thoroughly *before* they tag that very same tree.
> You have to keep in mind that generating a broken tarball costs anyone
> who tests that broken tarball a great deal of time.  The RM needs to be
> careful when they generate a tarball, even when we generate one on a
> regular basis, because otherwise no one will bother to test them.
>
> We can use the CVSROOT/taginfo file to call a program like log_accum.pl
> that generates a message when a tag is applied.  Sorry, I don't
> have any examples since I've never done it before myself.

Ok, makes sense to me.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Re: Is it possible to send a CVS update mail

Posted by "Roy T. Fielding" <fi...@ebuilt.com>.
> Actually, why don't we simplify this a bit more.  I have been meaning to
> finish the httpd_rolling script for a while, but I haven't had time.  It
> should be easy to add a few steps to the beginning, something like:
> 
> cvs co httpd-2.0
> cd httpd-2.0
> ( cd srclib;cvs co apr apr-util )
> ( update_release.sh )
> cvs tag $TAG
> echo "Tree tagged with $TAG" | sendmail -s "httpd-2.0 tagged" \
>       new-httpd@apache.org

No, absolutely not, -1.  The RM is supposed to be working on a checked-out
tree and testing it thoroughly *before* they tag that very same tree.
You have to keep in mind that generating a broken tarball costs anyone
who tests that broken tarball a great deal of time.  The RM needs to be
careful when they generate a tarball, even when we generate one on a
regular basis, because otherwise no one will bother to test them.

We can use the CVSROOT/taginfo file to call a program like log_accum.pl
that generates a message when a tag is applied.  Sorry, I don't
have any examples since I've never done it before myself.

....Roy


Re: Is it possible to send a CVS update mail

Posted by Martin Kraemer <Ma...@Fujitsu-Siemens.com>.
On Tue, Feb 27, 2001 at 07:58:02AM -0800, rbb@covalent.net wrote:
> cvs tag $TAG
> echo "Tree tagged with $TAG" | sendmail -s "httpd-2.0 tagged" \
>       new-httpd@apache.org

The idea, I think, was to send this info to the CVS subscribers
(too), because they can tag their in-sync-copy at that point
(almost) automatically.

But why not use the "taginfo" hook for this purpose? The taginfo file
reads:

# The "taginfo" file is used to control pre-tag checks.
# The filter on the right is invoked with the following arguments:
#
# $1 -- tagname
# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
# $3 -- repository
# $4->  file revision [file revision ...]
#
# A non-zero exit of the filter program will cause the tag to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to, relative
# to the $CVSROOT.  For the first match that is found, then the remainder
# of the line is the name of the filter to run. [...]

That would be a place to add a "About to tag...." mailer script!

   Martin
-- 
<Ma...@Fujitsu-Siemens.com>    |       Fujitsu Siemens
       <ma...@apache.org>              |   81730  Munich,  Germany

Re: Is it possible to send a CVS update mail

Posted by rb...@covalent.net.
On Tue, 27 Feb 2001, William A. Rowe, Jr. wrote:

> From: "Bill Stoddard" <bi...@wstoddard.com>
> Sent: Tuesday, February 27, 2001 9:03 AM
>
>
> > when the tree is tagged?  There are lots of hints like updates to the
> > Announcement, etc. but nothing definitive.  If this is -easy- to do then I'd
> > like to see it happen. Otherwise don't bother.
>
> as simple as sending a message from an ssh session on apache.org.  rbb was quite
> good at this for a while when he was tagging alpha trees.
>
> If you want to see this happen (a good idea, IMHO), feel free to insert a little
> reminder in the dev-site docs on 'rolling the tarballs'.

Actually, why don't we simplify this a bit more.  I have been meaning to
finish the httpd_rolling script for a while, but I haven't had time.  It
should be easy to add a few steps to the beginning, something like:

cvs co httpd-2.0
cd httpd-2.0
( cd srclib;cvs co apr apr-util )
( update_release.sh )
cvs tag $TAG
echo "Tree tagged with $TAG" | sendmail -s "httpd-2.0 tagged" \
      new-httpd@apache.org

The only hard part of this is writing update_release.sh.  It will have to
edit ap_release.h, and remove the -dev from the BASERELEASE macro, and do
the same thing in CHANGES.  Then, at the end of the build process, we will
need another script that goes in and bumps the number by 1 and adds -dev
back in.

It's on my list of things to do, but it's not very high.  Expect it this
weekend at the earliest, unless somebody beats me to it.

BTW, this makes the release process:

	~/httpd-site/httpd_roll_release TAG logfile [user (for signing
purposes)]
	chmod and chown httpd_2.0*   ( can't remember permissions right
now)
	cp httpd_2.0* /www/dev.apache.org/dist

Those bottom two lines could go away too, incredibly easily, but I dislike
the idea of having a script posting stuff to our dist directory.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------