PATCH for: release tarballs should have LAST_UPDATED containing release tag?
Gerald Pfeifer
gerald@pfeifer.com
Sun Aug 24 15:53:00 GMT 2003
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"
More information about the Gcc
mailing list