From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17432 invoked by alias); 7 Nov 2012 08:46:17 -0000 Received: (qmail 17418 invoked by uid 22791); 7 Nov 2012 08:46:14 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Nov 2012 08:46:08 +0000 Received: from md14.u-strasbg.fr (md14.u-strasbg.fr [130.79.200.249]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qA78k0Rb095301 ; Wed, 7 Nov 2012 09:46:00 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms15.u-strasbg.fr [130.79.204.115]) by md14.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qA78jxe2030355 ; Wed, 7 Nov 2012 09:45:59 +0100 Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qA78jwY1016880 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Wed, 7 Nov 2012 09:45:58 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: , "'Joel Brobecker'" , "'Tom Tromey'" Subject: [RFC] Create also ARI web page using CVS source in gdb/contrib/ari Date: Wed, 07 Nov 2012 08:46:00 -0000 Message-ID: <005d01cdbcc4$4e6eab60$eb4c0220$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00136.txt.bz2 The idea of adding the ARI scripts to CVS sources was twofold: 1) That everyone should be able to generate local ARI web page to check if local diffs do generate changes in ARI. 2) Allow the main GDB web site to use ARI scripts adapted to current CVS changes. For point #2, we need to test the generation of ARI web pages on sourceware.org server. This is the purpose of the change below, after suggestions from Joel. For now, it just adds a new directory on the sourceware.org web server http://sourceware.org/gdb/current/ari/test The ARI web pages accessible from the GDB web site are not affected by that change. Things that probably will need some adjustments are links between different ARI versions...(But those are already post-processed in the current setup). Pierre Muller ~/ss % diff -u do-snapshot test-do-snapshot --- do-snapshot 2012-11-06 16:33:41.000000000 +0000 +++ test-do-snapshot 2012-11-07 08:29:37.000000000 +0000 @@ -92,6 +92,25 @@ tail -50 ${logfile} | mail -s "update-web-ari ${package} ${ftp} failed" brobecke fi +# Check if source checkout contains also the update-web-ari script +cvs_ari_script="${tempdir}/update-web-ari/gdb-${version}/gdb/contrib/ari/up date-web-ari.sh" +if test -f "${cvs_ari_script}" +then + # For now also run this script, but put results in ari/test subdirectory + if ( set -x ; sh ${cvs_ari_script} \ + ${snapdir}/${package}-${version}.tar \ + ${tmpdir}/update-web-ari \ + ${wwwdir}/ari/test \ + gdb \ + >> ${logfile} ) + then + echo "update-web-ari from CVS sources ${package} ${ftp} done" + else + tail -50 ${logfile} | mail -s "update-web-ari from sources ${package} ${ftp} failed" brobecke + fi +fi + + ( echo "" ; date ; echo "" ) | tee -a ${logfile}