Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: <gdb-patches@sourceware.org>,
	"'Joel Brobecker'" <brobecker@adacore.com>,
	       "'Tom Tromey'" <tromey@redhat.com>
Subject: [RFC] Create also ARI web page using CVS source in gdb/contrib/ari
Date: Wed, 07 Nov 2012 08:46:00 -0000	[thread overview]
Message-ID: <005d01cdbcc4$4e6eab60$eb4c0220$@muller@ics-cnrs.unistra.fr> (raw)

  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}


             reply	other threads:[~2012-11-07  8:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07  8:46 Pierre Muller [this message]
2012-11-07 15:07 ` Joel Brobecker
2012-11-07 16:15   ` Pierre Muller
2012-11-07 16:25     ` Joel Brobecker
2012-11-07 16:30       ` Pierre Muller
2012-11-08  8:57     ` Pierre Muller
2012-11-08 16:14       ` Joel Brobecker
2012-11-08 16:29         ` Pierre Muller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005d01cdbcc4$4e6eab60$eb4c0220$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox