From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21002 invoked by alias); 14 Jun 2012 16:22:56 -0000 Received: (qmail 20861 invoked by uid 22791); 14 Jun 2012 16:22:54 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jun 2012 16:22:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4F2731C72C7; Thu, 14 Jun 2012 12:22:41 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3kjyKMgK9AhV; Thu, 14 Jun 2012 12:22:41 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D6A871C72C4; Thu, 14 Jun 2012 12:22:40 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id F1D42145616; Thu, 14 Jun 2012 09:22:34 -0700 (PDT) Date: Thu, 14 Jun 2012 16:22:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: 'Pedro Alves' , gdb-patches@sourceware.org, 'Jan Kratochvil' , 'Sergio Durigan Junior' Subject: Re: [RFA-v4] Add scripts to generate ARI web pages to gdb/contrib/ari directory Message-ID: <20120614162234.GM18729@adacore.com> References: <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> <000001cd4a48$b4a97e80$1dfc7b80$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001cd4a48$b4a97e80$1dfc7b80$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00475.txt.bz2 > 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 have a feeling that you are making things harder for yourself. >From my point of view, all we need is a script that generates the data at a specified location. We can then adapt the scripts in the 'ss' repository to call them with the correct arguments. I think that the knowledge about the layout of our web site in update-web-ari.sh should remain in the 'ss' repository. And we can then let it deal with the various idiosynchrasies of our web site. Worse case scenario, I'll modify the web site itself, to point to the new location... > 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... But, isn't what the ari/ subdirectory is already about? In other words, when you call the main script, it'll generate the data in ./ari... -- Joel