This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PATCH for: release tarballs should have LAST_UPDATED containingrelease tag?
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Dan Kegel <dank at kegel dot com>, gcc at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Sun, 24 Aug 2003 15:30:09 +0200 (CEST)
- Subject: PATCH for: release tarballs should have LAST_UPDATED containingrelease tag?
- References: <3F0C3B68.20409@kegel.com> <Pine.BSF.4.56.0307140026550.16544@acrux.dbai.tuwien.ac.at><or65m48vjw.fsf@free.redhat.lsd.ic.unicamp.br><Pine.BSF.4.56.0307151707110.26555@naos.dbai.tuwien.ac.at>
On Tue, 15 Jul 2003, Gerald Pfeifer wrote:
> On Tue, 14 Jul 2003, Alexandre Oliva wrote:
>>>> I see that file is supposed to be created by contrib/gcc_update with
>>>> the date. It might be nice for the released gcc tarballs to contain
>>>> a LAST_UPDATED file containing just the release tag.
> And I'll also have a look about adding something [...] to the release
> script.
Done thusly. Committed to mainline after testing snapshots off mainline
and the gcc-3.3 branch; also the gccadmin account on gcc.gnu.org now has
this change.
(This patch is not suitable for the gcc-3.3 branch; it uses infrastructure
which is not present there and probably is too risky to backport.)
Gerald
2003-08-24 Gerald Pfeifer <gerald@pfeifer.com>
* gcc_release (build_sources): Create/update the LAST_UPDATED file
in the source directory with information how sources were obtained.
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.41
diff -u -3 -p -r1.41 gcc_release
--- gcc_release 16 Aug 2003 14:02:24 -0000 1.41
+++ gcc_release 24 Aug 2003 13:24:51 -0000
@@ -188,9 +188,11 @@ EOF
error "Cannot specify -r and -D at the same time"
fi
- # Run gcc_update on them to set up the timestamps nicely.
+ # Run gcc_update on them to set up the timestamps nicely, and (re)write
+ # the LAST_UPDATED file containing the CVS tag/date used.
changedir "gcc-${RELEASE}"
contrib/gcc_update --touch
+ echo "Obtained from CVS: ${EXPORTTAG} ${EXPORTDATE}" > LAST_UPDATED
# Obtain some documentation files from the wwwdocs module.
inform "Retrieving HTML documentation"