From stvjc at channing.harvard.edu  Thu Jun 26 17:18:23 2008
From: stvjc at channing.harvard.edu (Vincent Carey 525-2265)
Date: Thu, 26 Jun 2008 11:18:23 -0400 (EDT)
Subject: [Rd] version stamp details missing on current checkout
In-Reply-To: <486393A3.4020900@biostat.ku.dk>
References: <Pine.GSO.4.58.0806260751120.28185@capecod.bwh.harvard.edu>
	<486393A3.4020900@biostat.ku.dk>
Message-ID: <Pine.GSO.4.58.0806261115300.17813@capecod.bwh.harvard.edu>


On Thu, 26 Jun 2008, Peter Dalgaard wrote:

> Vincent Carey 525-2265 wrote:
>
> Works for me... what's in your SVN-REVISION file? Notice that there is

[stvjc at stvjc1 R-devel]$ svn up
At revision 45991.
[stvjc at stvjc1 R-devel]$ cat SVN-REV*
Revision: unknown

[stvjc at stvjc1 R-devel]$ ls -tl non-tarball
-rw-rw-r--  1 stvjc stvjc 0 Jun 26 11:07 non-tarball
[stvjc at stvjc1 R-devel]$ ls -tl doc/FAQ
-rw-rw-r--  1 stvjc stvjc 271978 Jun 26 07:24 doc/FAQ

the sessionInfo() gives the same data as before.

> some slightly weird logic to distinguish whether you are building from
> SVN or from tarballs, based on the existence of $(srcdir)/doc/FAQ and
> $(builddir)/non-tarball. If you have the former and not the latter, it
> is assumed that there will be a ready-made SVN-REVISION.
>
> There's a bug in the Makefile, though:
>
> svnonly:
>     @if test ! -f "$(srcdir)/doc/FAQ" || test -f non-tarball ; then \
>       (cd doc/manual && $(MAKE) front-matter html-non-svn) ; \
>       touch non-tarball ; \
>       (cd $(srcdir); LC_ALL=C TZ=GMT svn -rHEAD info || $(ECHO)
> "Revision: unknown") 2> /dev/null \
>         | sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
>         | cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
> ...etc...
>
> I don't think we want the -rHEAD there since it can cause the version
> stamp to become different from the version of the source files in case
> of an intervening commit.
>
> > this is from a fresh svn checkout:
> >
> > [stvjc at stvjc1 R-devel]$ ls -tl Makefile
> > -rw-rw-r--  1 stvjc stvjc 12833 Jun 26 07:24 Makefile
> > [stvjc at stvjc1 R-devel]$ svn up
> > At revision 45988.
> > [stvjc at stvjc1 R-devel]$ bin/R
> >
> > R version 2.8.0 Under development (unstable) (--)
> > Copyright (C)  The R Foundation for Statistical Computing
> > ISBN 3-900051-07-0
> >
> > ..
> >
> >
> >> sessionInfo()
> >>
> > R version 2.8.0 Under development (unstable) (--)
> > x86_64-unknown-linux-gnu
> >
> > locale:
> > LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
> >
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods   base
> >
> >
> >
> > ---
> > Vince Carey, PhD
> > Assoc. Prof Med (Biostatistics)
> > Harvard Medical School
> > Channing Laboratory - ph 6175252265 fa 6177311541
> > 181 Longwood Ave Boston MA 02115 USA
> > stvjc at channing.harvard.edu
> >
> > The information transmitted in this electronic communica...{{dropped:10}}
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >
>
>
> --
>    O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
>   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907
>
>
-------------- next part --------------

The information transmitted in this electronic communica...{{dropped:18}}



[Rd] version stamp details missing on current checkout
Vincent Carey 525-2265