From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15689 invoked by alias); 14 Jun 2012 16:14:43 -0000 Received: (qmail 15675 invoked by uid 22791); 14 Jun 2012 16:14:42 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,FSL_RCVD_USER,KHOP_THREADED,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; Thu, 14 Jun 2012 16:14:28 +0000 Received: from md16.u-strasbg.fr (md16.u-strasbg.fr [130.79.200.206]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id q5EGE2k5017271 ; Thu, 14 Jun 2012 18:14:03 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms13.u-strasbg.fr [130.79.204.113]) by md16.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id q5EGE1EI028744 ; Thu, 14 Jun 2012 18:14:02 +0200 (envelope-from pierre.muller@ics-cnrs.unistra.fr) 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 q5EGE0F3014415 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Thu, 14 Jun 2012 18:14:01 +0200 (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: "'Pedro Alves'" , , "'Jan Kratochvil'" , "'Sergio Durigan Junior'" References: <001201cd3547$377188b0$a6549a10$@muller@ics-cnrs.unistra.fr> <20120525194654.GA30472@host2.jankratochvil.net> <003c01cd3b3c$d85e07d0$891a1770$@muller@ics-cnrs.unistra.fr> <002101cd3c42$5473b670$fd5b2350$@muller@ics-cnrs.unistra.fr> <006701cd3d00$6b9566a0$42c033e0$@muller@ics-cnrs.unistra.fr> <20120529130144.GM5492@adacore.com> <4FC4CB35.5030503@redhat.com> <001501cd4a2a$2b84d5a0$828e80e0$@muller@ics-cnrs.unistra.fr> <20120614160200.GL18729@adacore.com> In-Reply-To: <20120614160200.GL18729@adacore.com> Subject: RE: [RFA-v4] Add scripts to generate ARI web pages to gdb/contrib/ari directory Date: Thu, 14 Jun 2012 16:14:00 -0000 Message-ID: <000001cd4a48$b4a97e80$1dfc7b80$@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-06/txt/msg00474.txt.bz2 > > Here is a new version of my patch to insert ARI web page generation > > script into GDB sources. > > Thank you! > > > As requested I removed the references to emails > > for sourceware. > > Nice. > > > Otherwise I also made a small change to generate the web page in a > > subdir called trunk/ari if no tag in found in CVS subdirectory and > > branch/ari otherwise. > > For this one, I do not think that this is a good idea. Not everyone > works from a CVS sandbox anymore, so the assumption is going to break > for those. But also, I don't see why we would need to produce the data > in a different directory based on the type of sources. This is only because currently there are web links inside the generated pages that should allow to switch from trunk to branches (It would at least be useful that those link still work when the script is called on the sourceware.org repository). > We can let the caller decide where he wants the data to go... OK, this is already possible, either by specifying a webdir environment variable before calling create-web-ari-in-src.sh script or by using directly update-web-ari.sh script, you then need to specify all 4 args as explained in start of create-web-ari-in-src.sh script. I would just prefer the we do use another directory or a sub-directory, because there is a lot of file generation, and copying of scripts to destination dir. If webdir is current directory, it will be very hard to clean the mess afterwards... Pierre