www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www server/source/source.html server/source/upd...


From: karl
Subject: www server/source/source.html server/source/upd...
Date: Mon, 07 Jan 2013 22:39:15 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     karl <karl>     13/01/07 22:39:14

Modified files:
        server/source  : source.html 
Added files:
        server/source  : update-recent-releases 
        software       : .cvsignore recent-releases-include.html 
                         recent-releases.html 

Log message:
        new recent-releases page (unlinked for now) and script to update it

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/source/source.html?cvsroot=www&r1=1.43&r2=1.44
http://web.cvs.savannah.gnu.org/viewcvs/www/server/source/update-recent-releases?cvsroot=www&rev=1.1
http://web.cvs.savannah.gnu.org/viewcvs/www/software/.cvsignore?cvsroot=www&rev=1.1
http://web.cvs.savannah.gnu.org/viewcvs/www/software/recent-releases-include.html?cvsroot=www&rev=1.1
http://web.cvs.savannah.gnu.org/viewcvs/www/software/recent-releases.html?cvsroot=www&rev=1.1

Patches:
Index: server/source/source.html
===================================================================
RCS file: /web/www/www/server/source/source.html,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- server/source/source.html   30 Dec 2012 17:17:09 -0000      1.43
+++ server/source/source.html   7 Jan 2013 22:39:12 -0000       1.44
@@ -29,23 +29,6 @@
 the &ldquo;Webpages repository&rdquo; information.</p>
 
 
-<h3><a id="diffmon">diffmon</a></h3>
-
-<ul>
-  <li><a href="http://packages.debian.org/unstable/source/diffmon";>Source code 
(15kbyte)</a></li>
-  <li><a href="/server/source/diffmon.cf">Example configuration file</a></li>
-  <li>Author: Noah Friedman</li>
-  <li>Current version: 1.19</li>
-</ul>
-
-<p>This is another shell script with the purpose of making diff's of files
-when they change and to send an email informing about the change to  a list
-of recipients.  This script is used to keep administrators aware of
-changes to the configuration of the webserver and other servers. It is also
-used to inform editors of translations of GNU web pages into other languages
-about changes to the original English document.</p>
-
-
 <h3><a id="linc">linc</a></h3>
 
 <ul>
@@ -81,7 +64,7 @@
 
 <p>This program generates the <a href="/server/sitemap.html">sitemap of
 our web site</a>, based on its directory structure on the file
-system. It runs on Wednesdays on fencepost from user gnun's cron.</p>
+system.  It runs on fencepost in user gnun's cron.</p>
 
 
 <h3><a id="symlinks">symlinks</a></h3>
@@ -113,10 +96,22 @@
   <li>Author: <a href="mailto:address@hidden";>James Turner</a></li>
 </ul>
 
-<p>This script can be ran from the webroot to traverse through english html
+<p>This script can be ran from the webroot to traverse through English html
 files replacing the old "Verbatim coping" text with the new CC license.</p>
 
 
+<h3><a id="update-recent-releases">update-recent-releases</a></h3>
+
+<ul>
+  <li><a href="/server/source/update-recent-releases">Source code</a></li>
+</ul>
+
+<p>This script generates the <a
+href="/software/recent-releases.html">list of recent releases</a> (from
+the <a href="https://lists.gnu.org/mailman/listinfo/info-gnu";>info-gnu
+archives</a>).  It runs on fencepost in user gnun's cron.</p>
+
+
 <h3><a id="webref">webref</a></h3>
 
 <ul>
@@ -188,7 +183,7 @@
 
 <p>Updated:
 <!-- timestamp start -->
-$Date: 2012/12/30 17:17:09 $
+$Date: 2013/01/07 22:39:12 $
 <!-- timestamp end --></p>
 </div>
 </div>

Index: server/source/update-recent-releases
===================================================================
RCS file: server/source/update-recent-releases
diff -N server/source/update-recent-releases
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ server/source/update-recent-releases        7 Jan 2013 22:39:12 -0000       
1.1
@@ -0,0 +1,73 @@
+#!/bin/sh
+# $Id: update-recent-releases,v 1.1 2013/01/07 22:39:12 karl Exp $
+# Public domain.  Originally written by Karl Berry, January 2013.
+# This script is run (more than daily) from address@hidden cron.
+# 
+# Construct list of recent GNU releases from info-gnu archives.  The
+# idea is to keep two .html files, one named "lastmonth.html" for the
+# previous month's announcements and one named YYYY-MM.html for the
+# current month's.  When a new month rolls in, current becomes previous,
+# naturally.
+# 
+# We extract out the list of announcements from the full web pages to be
+# SSIncluded in http://www.gnu.org/software/recent-releases.html.
+# 
+# The very first time it is run in a given hierarchy, it is necessary to
+# set up lastmonth.html by hand and a dummy YYYY-MM.html.
+# 
+# We assume GNU date and a decent sed.
+
+mydir=`dirname $0`  # WWW/server/source
+www_software_dir=`cd $mydir/../../software/ && pwd`
+cd $www_software_dir || exit 1
+
+# need to work in tmp dir.  This is .cvsignored.
+test -d recent-releases-tmp || mkdir recent-releases-tmp
+cd recent-releases-tmp || exit 1
+
+wget="wget -nv"
+info_gnu=http://lists.gnu.org/archive/html/info-gnu
+
+lastmonth=`date +%Y-%m -d "last month"`
+thismonth=`date +%Y-%m`
+$wget $info_gnu/$thismonth/index.html -O $thismonth.html.new
+
+if test -s $thismonth.html; then
+  # Continuing on in current month.  See if we have anything new.
+  if cmp -s $thismonth.html $thismonth.html.new; then 
+    echo "$0: no changes, goodbye."
+    rm -f $thismonth.html.new
+    exit 0
+  fi
+  
+  echo "$0: new releases in $thismonth, merging."
+  diff $thismonth.html $thismonth.html.new
+
+else
+  # First releases in a new month.
+  echo "$0: seems $thismonth is a new month, resetting lastmonth=$lastmonth."
+  mv $lastmonth.html lastmonth.html  # static name
+fi
+
+# New stuff in this month, in either case.
+mv $thismonth.html.new $thismonth.html
+
+# Given html info-gnu archive file in $1 and month reference in $2, get
+# rid of the leading and trailing junk, remove the anchors, and fix the
+# href's.  Output to stdout.
+# 
+fix_month () {
+  infile=$1
+  month=$2
+  sed -e '1,/<hr size=/d' -e '/<hr size=/,$d' \
+      -e 's, name="[0-9]{5]",,' \
+      -e "s, href=\",href=\"$info_gnu/$month/," \
+      "$1"
+}
+
+(fix_month $thismonth.html $thismonth; fix_month lastmonth.html $lastmonth) \
+>../recent-releases-include.html
+cd .. || exit 1
+
+#cvs commit -m'auto-commit: new $thismonth releases' \
+#  recent-releases-include.html

Index: software/.cvsignore
===================================================================
RCS file: software/.cvsignore
diff -N software/.cvsignore
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ software/.cvsignore 7 Jan 2013 22:39:13 -0000       1.1
@@ -0,0 +1 @@
+recent-releases-tmp

Index: software/recent-releases-include.html
===================================================================
RCS file: software/recent-releases-include.html
diff -N software/recent-releases-include.html
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ software/recent-releases-include.html       7 Jan 2013 22:39:14 -0000       
1.1
@@ -0,0 +1,80 @@
+<ul>
+<li><strong>January 07, 2013</strong>
+<ul>
+<li><a 
name="00003"href="http://lists.gnu.org/archive/html/info-gnu/2013-01/msg00003.html";>Release
 of version 4.13.3 of sharutils</a>, <i>Bruce Korb</i>, <tt>13:40</tt></li>
+</li></ul>
+<li><strong>January 05, 2013</strong>
+<ul>
+<li><a 
name="00002"href="http://lists.gnu.org/archive/html/info-gnu/2013-01/msg00002.html";>GNU
 AutoGen Version 5.17.1/AutoOpts Version 37.1</a>, <i>Bruce Korb</i>, 
<tt>12:26</tt></li>
+<li><a 
name="00001"href="http://lists.gnu.org/archive/html/info-gnu/2013-01/msg00001.html";>Release
 of version 4.13.2 of sharutils</a>, <i>Bruce Korb</i>, <tt>12:26</tt></li>
+</li></ul>
+<li><strong>January 01, 2013</strong>
+<ul>
+<li><a 
name="00000"href="http://lists.gnu.org/archive/html/info-gnu/2013-01/msg00000.html";>GNU
 Automake 1.13.1 released</a>, <i>Stefano Lattarini</i>, <tt>10:18</tt></li>
+</li></ul>
+</ul>
+<ul>
+<li><strong>December 30, 2012</strong>
+<ul>
+<li><a 
name="00020"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00020.html";>groff
 1.22.1 has been released</a>, <i>Werner LEMBERG</i>, <tt>17:15</tt></li>
+</li></ul>
+<li><strong>December 28, 2012</strong>
+<ul>
+<li><a 
name="00019"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00019.html";>GNU
 Automake 1.13 released</a>, <i>Stefano Lattarini</i>, <tt>13:18</tt></li>
+</li></ul>
+<li><strong>December 27, 2012</strong>
+<ul>
+<li><a 
name="00018"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00018.html";>GNU
 AutoGen Version 5.17/AutoOpts Version 37.0</a>, <i>Bruce Korb</i>, 
<tt>19:40</tt></li>
+<li><a 
name="00017"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00017.html";>GNU
 Sharutils 4.13</a>, <i>Bruce Korb</i>, <tt>16:36</tt></li>
+<li><a 
name="00016"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00016.html";>The
 GNU C Library version 2.17 is now available.</a>, <i>David Miller</i>, 
<tt>01:28</tt></li>
+</li></ul>
+<li><strong>December 26, 2012</strong>
+<ul>
+<li><a 
name="00015"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00015.html";>gawk
 4.0.2 released</a>, <i>Aharon Robbins</i>, <tt>23:42</tt></li>
+</li></ul>
+<li><strong>December 25, 2012</strong>
+<ul>
+<li><a 
name="00014"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00014.html";>GNU
 gettext 0.18.2 released</a>, <i>Daiki Ueno</i>, <tt>02:48</tt></li>
+</li></ul>
+<li><strong>December 24, 2012</strong>
+<ul>
+<li><a 
name="00013"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00013.html";>GNU
 sed 4.2.2 released</a>, <i>Paolo Bonzini</i>, <tt>18:25</tt></li>
+</li></ul>
+<li><strong>December 22, 2012</strong>
+<ul>
+<li><a 
name="00012"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00012.html";>GNU
 Xnee 3.15 ('Shankar') released</a>, <i>Henrik Sandklef</i>, <tt>17:18</tt></li>
+<li><a 
name="00011"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00011.html";>GLOBAL-6.2.7
 released. (BUG FIX RELEASE)</a>, <i>Shigio YAMAGUCHI</i>, <tt>04:08</tt></li>
+</li></ul>
+<li><strong>December 20, 2012</strong>
+<ul>
+<li><a 
name="00010"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00010.html";>MediaGoblin
 0.3.2: Goblinverse</a>, <i>Deb Nicholson</i>, <tt>16:19</tt></li>
+<li><a 
name="00009"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00009.html";>GnuPG
 1.4.13 released</a>, <i>Werner Koch</i>, <tt>16:17</tt></li>
+<li><a 
name="00008"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00008.html";>Release
 of GMP 5.1.0</a>, <i>Torbjorn Granlund</i>, <tt>16:08</tt></li>
+</li></ul>
+<li><strong>December 17, 2012</strong>
+<ul>
+<li><a 
name="00007"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00007.html";>GNU
 Typist 2.9.2 released</a>, <i>Tim Marston</i>, <tt>16:59</tt></li>
+</li></ul>
+<li><strong>December 15, 2012</strong>
+<ul>
+<li><a 
name="00006"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00006.html";>GNU
 Automake 1.12.6 released</a>, <i>Stefano Lattarini</i>, <tt>22:43</tt></li>
+</li></ul>
+<li><strong>December 12, 2012</strong>
+<ul>
+<li><a 
name="00005"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00005.html";>Libidn
 1.26 released</a>, <i>Simon Josefsson</i>, <tt>12:41</tt></li>
+<li><a 
name="00004"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00004.html";>bison-2.7
 released [stable]</a>, <i>Akim Demaille</i>, <tt>12:40</tt></li>
+<li><a 
name="00003"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00003.html";>GLOBAL-6.2.6
 released.</a>, <i>Shigio YAMAGUCHI</i>, <tt>03:51</tt></li>
+</li></ul>
+<li><strong>December 06, 2012</strong>
+<ul>
+<li><a 
name="00002"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00002.html";>New
 stable release: GNU Solfege 3.20.7</a>, <i>Tom Cato Amundsen</i>, 
<tt>16:33</tt></li>
+</li></ul>
+<li><strong>December 02, 2012</strong>
+<ul>
+<li><a 
name="00001"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00001.html";>GNU
 IceCat 17.0.1 released</a>, <i>Loic J. Duros</i>, <tt>02:57</tt></li>
+</li></ul>
+<li><strong>December 01, 2012</strong>
+<ul>
+<li><a 
name="00000"href="http://lists.gnu.org/archive/html/info-gnu/2012-12/msg00000.html";>AUCTeX
 11.87 released</a>, <i>Ralf Angeli</i>, <tt>17:30</tt></li>
+</li></ul>
+</ul>

Index: software/recent-releases.html
===================================================================
RCS file: software/recent-releases.html
diff -N software/recent-releases.html
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ software/recent-releases.html       7 Jan 2013 22:39:14 -0000       1.1
@@ -0,0 +1,63 @@
+<!--#include virtual="/server/header.html" -->
+
+<title>Recent software releases - GNU Project - Free Software 
Foundation</title>
+
+<!--#include virtual="/server/banner.html" -->
+<!--#include virtual="/software/po/recent-releases.translist" -->
+
+<h2>Recent GNU software releases</h2>
+
+<p>Here is a list of recent GNU releases, with links to their
+announcements on the <a
+href="http://lists.gnu.org/mailman/listinfo/info-gnu";>info-gnu</a>
+mailing list.  (Releases not announced are not listed here.)</p>
+
+<p>Anyone is welcome to subscribe to the info-gnu list.  Other sources
+of announcements are the <a
+href="http://planet.gnu.org";>planet.gnu.org</a> RSS feed and the monthly
+<a href="http://www.fsf.org/free-software-supporter/";>Free Software
+Supporter</a> newsletter.</p>
+
+<!-- regenerated with update-recent-releases script,
+     run from address@hidden cron.  -->
+<!--#include virtual="/software/recent-releases-include.html" -->
+
+
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
+<div id="footer">
+
+<p>
+Please send FSF &amp; GNU inquiries to
+<a href="mailto:address@hidden";>&lt;address@hidden&gt;</a>.
+There are also <a href="/contact/">other ways to contact</a>
+the FSF.
+<br />
+Please send broken links and other corrections or suggestions to
+<a href="mailto:address@hidden";>&lt;address@hidden&gt;</a>.
+</p>
+
+<p>
+Please see the
+<a href="/server/standards/README.translations.html">Translations
+README</a> for information on coordinating and submitting
+translations of this article.
+</p>
+
+<p>Copyright &copy; 2013 Free Software Foundation,
+Inc.</p>
+<p>This page is licensed under a <a rel="license"
+href="http://creativecommons.org/licenses/by-nd/3.0/us/";>Creative
+Commons Attribution-NoDerivs 3.0 United States License</a>.
+</p>
+
+<p>Updated:
+<!-- timestamp start -->
+$Date: 2013/01/07 22:39:14 $
+<!-- timestamp end -->
+</p>
+</div>
+
+</div>
+</body>
+</html>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]