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 + + * 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 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 +GCC @BRANCH@-@DATE@ Snapshot -

GCC Snapshots

- -
+

GCC @BRANCH@-@DATE@ Snapshot

The GCC Project 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.

-

+

gcc @TEXT_DATE@ snapshot, includes all languages. -

- gcc-@LAST_DATE@-@DATE@ patch file to bring gcc-@LAST_DATE@ up to - gcc-@DATE@. - -

+

gcc-core @TEXT_DATE@ snapshot, includes just the C front end and core compiler. -

- gcc-core-@LAST_DATE@-@DATE@ patch file to bring gcc-core-@LAST_DATE@ - up to gcc-core-@DATE@. - -

+

gcc-g++ @TEXT_DATE@ snapshot, includes just the C++ front end and runtime. -

- gcc-g++-@LAST_DATE@-@DATE@ patch file to bring gcc-g++-@LAST_DATE@ - up to gcc-g++-@DATE@. - -

+

gcc-g77 @TEXT_DATE@ snapshot, includes just the F77 front end and runtime. -

- gcc-g77-@LAST_DATE@-@DATE@ patch file to bring gcc-g77-@LAST_DATE@ - up to gcc-g77-@DATE@. - -

+

gcc-java @TEXT_DATE@ snapshot, includes just the Java front end and runtime. -

- gcc-java-@LAST_DATE@-@DATE@ patch file to bring gcc-java-@LAST_DATE@ - up to gcc-java-@DATE@. - -

+

gcc-objc @TEXT_DATE@ snapshot, includes just the Objective-C front end and runtime. -

- gcc-objc-@LAST_DATE@-@DATE@ patch file to bring gcc-objc-@LAST_DATE@ - up to gcc-objc-@DATE@. - -

+

gcc-ada @TEXT_DATE@ snapshot, includes just the Ada front end and runtime. -

- gcc-ada-@LAST_DATE@-@DATE@ patch file to bring gcc-ada-@LAST_DATE@ - up to gcc-ada-@DATE@. -

+

Diffs from @BRANCH@-@LAST_DATE@ are available in the +diffs/ subdirectory.

+

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.