diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-09 13:24:07 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-09 13:24:07 +0000 |
commit | 7a97aa79cac0ed0313253e82ddd04a355c4a9d9d (patch) | |
tree | 285b90d380876ca8cc6a5079eeec8189ccf578e9 /maintainer-scripts | |
parent | 32d0edd1411d9d91b9da4a2a016de27a6777d27e (diff) | |
download | gcc-7a97aa79cac0ed0313253e82ddd04a355c4a9d9d.tar.gz |
* gcc_release (announce_snapshot): Add substitution of @BRANCH
for README and index.html. Remove substitution of @LONG_DATE.
Put index.html into the respective snapshot directory.
Adjust subject of the notification mail to the new naming scheme
for CVS tags.
Adjust name of the LATEST-IS-... files to the new naming scheme
for snapshot directories.
(FTP_PATH): Ditto.
(LAST_DIR): Ditto.
(LAST_LONG_DATE): Remove.
* snapshot-README: Adjust to the new naming schemes for directories
and snapshots per se.
Dynamically fill in the respective branch instead of hardcoding it.
* snapshot-index.html: Replace individual links to diffs with a
general link to the diff/ subdirectory.
Mention the concrete snapshot in <title> and <h1>.
Adjust links to the new location of index.html.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69143 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 22 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 17 | ||||
-rw-r--r-- | maintainer-scripts/snapshot-README | 8 | ||||
-rw-r--r-- | maintainer-scripts/snapshot-index.html | 51 |
4 files changed, 46 insertions, 52 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 19a51122f49..5546f66cdb2 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,25 @@ +2003-07-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + + * gcc_release (announce_snapshot): Add substitution of @BRANCH + for README and index.html. Remove substitution of @LONG_DATE. + Put index.html into the respective snapshot directory. + Adjust subject of the notification mail to the new naming scheme + for CVS tags. + Adjust name of the LATEST-IS-... files to the new naming scheme + for snapshot directories. + (FTP_PATH): Ditto. + (LAST_DIR): Ditto. + (LAST_LONG_DATE): Remove. + + * snapshot-README: Adjust to the new naming schemes for directories + and snapshots per se. + Dynamically fill in the respective branch instead of hardcoding it. + + * snapshot-index.html: Replace individual links to diffs with a + general link to the diff/ subdirectory. + Mention the concrete snapshot in <title> and <h1>. + Adjust links to the new location of index.html. + 2003-07-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * gcc_release: Move handling of complex modes directly after diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 1dd3c9ff336..e9d3437ea40 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -378,21 +378,21 @@ announce_snapshot() { TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y` cd ~ftp/pub/gcc/snapshots sed -e "s%@DATE@%$DATE%g" -e "s%@LAST_DATE@%$LAST_DATE%g" \ - -e "s%@LONG_DATE@%$LONG_DATE%g" \ + -e "s%@BRANCH@%${BRANCH}%g" \ -e "s%@TEXT_DATE@%$TEXT_DATE%g" < ~/scripts/snapshot-README > $$ mv $$ README sed -e "s%@DATE@%$DATE%g" -e "s%@LAST_DATE@%$LAST_DATE%g" \ - -e "s%@LONG_DATE@%$LONG_DATE%g" \ + -e "s%@BRANCH@%${BRANCH}%g" \ -e "s%@TEXT_DATE@%$TEXT_DATE%g" < ~/scripts/snapshot-index.html > $$ - mv $$ index.html + mv $$ ${BRANCH}-${DATE}/index.html - touch LATEST-IS-$LONG_DATE - rm -f LATEST-IS-$LAST_LONG_DATE + touch LATEST-IS-${BRANCH}-${DATE} + rm -f LATEST-IS-${BRANCH}-${LAST_DATE} inform "Sending mail" export QMAILHOST=gcc.gnu.org - mail -s "gcc-ss-$DATE is now available" gcc@gcc.gnu.org < ~ftp/pub/gcc/snapshots/README + mail -s "gcc-ss-${BRANCH}-${DATE} is now available" gccadmin@gcc.gnu.org < ~ftp/pub/gcc/snapshots/README } ######################################################################## @@ -585,15 +585,14 @@ else # For now snapshots come from the 3.3 branch. BRANCH="3.3" CVSBRANCH=gcc-3_3-branch - FTP_PATH="${FTP_PATH}/snapshots/${BRANCH}-${LONG_DATE}" + FTP_PATH="${FTP_PATH}/snapshots/${BRANCH}-${DATE}" TAG=gcc-ss-`echo ${BRANCH} | tr '.' '_'`-${DATE} # Building locally on gcc.gnu.org, we know what the last snapshot date # was. if [ $MODE_DIFFS -ne 0 ] && [ $LOCAL -ne 0 ]; then LAST_DATE=`cat ~/.snapshot_date-${BRANCH}` - LAST_LONG_DATE=`date --date=$LAST_DATE +%Y-%m-%d` - LAST_DIR=~ftp/pub/gcc/snapshots/${LAST_LONG_DATE} + LAST_DIR=~ftp/pub/gcc/snapshots/${BRANCH}-${LAST_DATE} OLD_TARS=${LAST_DIR}/gcc-${LAST_DATE}.tar.bz2 fi fi diff --git a/maintainer-scripts/snapshot-README b/maintainer-scripts/snapshot-README index 0f4f89458dc..7fd96efc2b2 100644 --- a/maintainer-scripts/snapshot-README +++ b/maintainer-scripts/snapshot-README @@ -1,8 +1,8 @@ -gcc-ss-@DATE@ is now available on - ftp://gcc.gnu.org/pub/gcc/snapshots/@LONG_DATE@ +gcc-ss-@BRANCH@-@DATE@ is now available on + ftp://gcc.gnu.org/pub/gcc/snapshots/@BRANCH@-@DATE@ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. -This snapshot has been generated from the GCC CVS 3.3 branch. +This snapshot has been generated from the GCC CVS @BRANCH@ branch. You'll find: @@ -23,7 +23,7 @@ You'll find: gcc-java-@DATE@.tar.bz2 The Java front end and runtime. -Diffs from @LAST_DATE@ are available in the diffs/ subdirectory. +Diffs from @BRANCH@-@LAST_DATE@ are available in the diffs/ subdirectory. When a particular snapshot is ready for public consumption the LATEST-IS- diff --git a/maintainer-scripts/snapshot-index.html b/maintainer-scripts/snapshot-index.html index 15e204152e7..b39072f435b 100644 --- a/maintainer-scripts/snapshot-index.html +++ b/maintainer-scripts/snapshot-index.html @@ -1,13 +1,11 @@ <html> <head> -<title>GCC Snapshots</title> +<title>GCC @BRANCH@-@DATE@ Snapshot</title> </head> <body> -<h1>GCC Snapshots</h1> - -<hr /> +<h1>GCC @BRANCH@-@DATE@ Snapshot</h1> <p>The <a href ="http://gcc.gnu.org/">GCC Project</a> makes periodic snapshots of the GCC source tree available to the public @@ -19,63 +17,38 @@ how to sign up can be found on the GCC project home page.</p> <blockquote> - <p> <a href="@LONG_DATE@/gcc-@DATE@.tar.bz2"> + <p> <a href="gcc-@DATE@.tar.bz2"> gcc</a> @TEXT_DATE@ snapshot, includes all languages. - <p> <a href="@LONG_DATE@/diffs/gcc-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-@LAST_DATE@-@DATE@</a> patch file to bring gcc-@LAST_DATE@ up to - gcc-@DATE@. - - <p> <a href="@LONG_DATE@/gcc-core-@DATE@.tar.bz2"> + <p> <a href="gcc-core-@DATE@.tar.bz2"> gcc-core</a> @TEXT_DATE@ snapshot, includes just the C front end and core compiler. - <p> <a href="@LONG_DATE@/diffs/gcc-core-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-core-@LAST_DATE@-@DATE@</a> patch file to bring gcc-core-@LAST_DATE@ - up to gcc-core-@DATE@. - - <p> <a href="@LONG_DATE@/gcc-g++-@DATE@.tar.bz2"> + <p> <a href="gcc-g++-@DATE@.tar.bz2"> gcc-g++</a> @TEXT_DATE@ snapshot, includes just the C++ front end and runtime. - <p> <a href="@LONG_DATE@/diffs/gcc-g++-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-g++-@LAST_DATE@-@DATE@</a> patch file to bring gcc-g++-@LAST_DATE@ - up to gcc-g++-@DATE@. - - <p> <a href="@LONG_DATE@/gcc-g77-@DATE@.tar.bz2"> + <p> <a href="gcc-g77-@DATE@.tar.bz2"> gcc-g77</a> @TEXT_DATE@ snapshot, includes just the F77 front end and runtime. - <p> <a href="@LONG_DATE@/diffs/gcc-g77-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-g77-@LAST_DATE@-@DATE@</a> patch file to bring gcc-g77-@LAST_DATE@ - up to gcc-g77-@DATE@. - - <p> <a href="@LONG_DATE@/gcc-java-@DATE@.tar.bz2"> + <p> <a href="gcc-java-@DATE@.tar.bz2"> gcc-java</a> @TEXT_DATE@ snapshot, includes just the Java front end and runtime. - <p> <a href="@LONG_DATE@/diffs/gcc-java-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-java-@LAST_DATE@-@DATE@</a> patch file to bring gcc-java-@LAST_DATE@ - up to gcc-java-@DATE@. - - <p> <a href="@LONG_DATE@/gcc-objc-@DATE@.tar.bz2"> + <p> <a href="gcc-objc-@DATE@.tar.bz2"> gcc-objc</a> @TEXT_DATE@ snapshot, includes just the Objective-C front end and runtime. - <p> <a href="@LONG_DATE@/diffs/gcc-objc-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-objc-@LAST_DATE@-@DATE@</a> patch file to bring gcc-objc-@LAST_DATE@ - up to gcc-objc-@DATE@. - - <p> <a href="@LONG_DATE@/gcc-ada-@DATE@.tar.bz2"> + <p> <a href="gcc-ada-@DATE@.tar.bz2"> gcc-ada</a> @TEXT_DATE@ snapshot, includes just the Ada front end and runtime. - <p> <a href="@LONG_DATE@/diffs/gcc-ada-@LAST_DATE@-@DATE@.diff.bz2"> - gcc-ada-@LAST_DATE@-@DATE@</a> patch file to bring gcc-ada-@LAST_DATE@ - up to gcc-ada-@DATE@. - </blockquote> +<p>Diffs from @BRANCH@-@LAST_DATE@ are available in the +<a href="diffs/">diffs/ subdirectory</a>.</p> + </p>When a particular snapshot is ready for public consumption the LATEST-IS- file is updated and a message is sent to the gcc list. Please do not use a snapshot before it has been announced that way.</p> |