Re: snapshot generation broken

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: snapshot generation broken
Date: 2010-09-22 10:25:45
Message-ID: AANLkTikNVLyFjqvfnTgskfkRj2oEaSYW_peKTDo-fk_c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 22, 2010 at 10:33, Stefan Kaltenbrunner
<stefan(at)kaltenbrunner(dot)cc> wrote:
> Hi all!
>
> It seems that the git move has broken the generation of the automatic
> snapshot tarballs - has anybody yet looked into what it would take to move
> those to fetching from git?

I think this should be working now. I made this change to mk-snapshot,
and a similar one to mk-stable_snapshot. I have run the snapshot
generation for master, and the one for 8.4 should finish in a
minute or so. I have disabled the cronjobs until someone else has
verified the tarballs.

When I do, I'll also enable generation of snapshots of REL9_0_STABLE.
We currently do back to 8.2 - should we keep that, or drop 8.2?

//Magnus

*** old/mk-snapshot Wed Sep 22 06:02:02 2010
--- mk-snapshot Wed Sep 22 07:09:13 2010
***************
*** 8,14 ****
export MAKE=gmake
export MD5SUM=md5

! export CVSROOT=:ext:scrappy(at)cvs(dot)postgresql(dot)org:/cvsroot

export MAKEFLAGS=VERSION=snapshot
export TMPDIR=/usr/local/pgsql/snapshot
--- 8,14 ----
export MAKE=gmake
export MD5SUM=md5

! export GIT_DIR=/usr/local/pgsql/git/postgresql/.git

export MAKEFLAGS=VERSION=snapshot
export TMPDIR=/usr/local/pgsql/snapshot
***************
*** 19,25 ****
then
rm -fr pgsql
fi
! /usr/bin/cvs -q export -rHEAD pgsql
cd pgsql
./configure
export OUTPUTFILE=$($MAKE -s $MAKEFLAGS distdir-location)
--- 19,28 ----
then
rm -fr pgsql
fi
! mkdir pgsql
! git fetch
! git archive origin/master | tar xf - -C pgsql
!
cd pgsql
./configure
export OUTPUTFILE=$($MAKE -s $MAKEFLAGS distdir-location)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-09-22 10:27:21 Re: SQLSTATE of notice PGresult
Previous Message Robert Haas 2010-09-22 10:24:43 Re: Make tuples_per_page pr. table configureable.