gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Daily snapshot tarball of the trunk/ hierarchy (on GNA)


From: Helge Hess
Subject: Re: Re[2]: Daily snapshot tarball of the trunk/ hierarchy (on GNA)
Date: Sun, 19 Mar 2006 19:46:26 +0100

On 19. Mrz 2006, at 16:08 Uhr, Manuel Guesdon wrote:
About daily snapshots, could you tell me what to snaphost and how to do it ? I'm not familiar with SVN :-(

Something like this:

  SUBPROJECT=base
  BRANCH=trunk

  rm -rf checkout-tmp
  svn export \
    "http://svn.gna.org/svn/gnustep/libs/$SUBPROJECT/$BRANCH"; \
    checkout-tmp \
    >checkout-out
REV=`tail -n 1 checkout-out | sed "s/Exported revision\ //" | sed "s/\.//"`
  SNAPNAME="$SUBPROJECT-$BRANCH-$REV"
  mv checkout-tmp "$SNAPNAME"

  tar jcf "$SUBPROJECT-$REV-`date +%Y%m%d`.tar.bz2" "$SNAPNAME"
  rm -rf "$SNAPNAME" checkout-out

Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]