Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
Cc: gdb-patches@sourceware.org,
	'Jan Kratochvil' <jan.kratochvil@redhat.com>,
	'Sergio Durigan Junior' <sergiodj@redhat.com>
Subject: Re: [RFA-v3] Add scripts to generate ARI web pages to gdb/contrib/ari directory
Date: Tue, 29 May 2012 13:02:00 -0000	[thread overview]
Message-ID: <20120529130144.GM5492@adacore.com> (raw)
In-Reply-To: <006701cd3d00$6b9566a0$42c033e0$@muller@ics-cnrs.unistra.fr>

Hi Pierre,

> As explained in my answer to Sergio, I would like to leave other fixes
> to after initial commit to have a better history of changes relative
> to the ss directory version on sourceware.org server.

That would be fine. I think that's a good reason.

> PS: could contrib get a separate ChangeLog file?

I think we are trying to get as few ChangeLog files as possible.
Any reason why you'd like to have your own ChangeLog file? It does
not seem unreasonable since the changes in contrib/ari as probably
expected to be few and far between once it's stabilized, and
having them listed in the main ChangeLog might make it harder to
have a quick list of the changes made in that directory over time...

> 2012-05-28  Pierre Muller  <muller@ics.u-strasbg.fr>
> 
> 	* contrib/ari/create-web-ari-in-src.sh: New file.
> 	* contrib/ari/gdb_ari.sh: New file.
> 	* contrib/ari/gdb_find.sh: New file.
> 	* contrib/ari/update-web-ari.sh: New file.


> ? contrib/ari/patch
> Index: contrib/ari/create-web-ari-in-src.sh
> ===================================================================
> RCS file: contrib/ari/create-web-ari-in-src.sh
> diff -N contrib/ari/create-web-ari-in-src.sh
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ contrib/ari/create-web-ari-in-src.sh	28 May 2012 18:17:56 -0000
> @@ -0,0 +1,68 @@
> +#! /bin/sh
> +
> +# GDB script to create web ARI page directly from within gdb/ari directory.
                                                           ^^^^^^^^^

gdb/contrib/ari ?

> +set -x

We'll probably want to remove that, at some point, and remove all
the associated "set +x" in the other scripts.

> +# update-web-ari.sh script wants four parameters
> +# 1: directory of checkout src or gdb-RELEASE for release sources.
> +# 2: a temp directory.
> +# 3: a directory for generated web page.
> +# 4: The name of the current package, must be gdb here.
> +# Here we provide default values for these 4 parameters

Are the parameters passed via the environment?

> +# Default location of generate index.hmtl web page.
> +if [ -z "${webdir}" ] ; then
> +  webdir=~/htdocs/www/local/ari
> +fi

Default location should be current working directory, IMO.

> +# Launch update-web-ari.sh in same directory as current script.
> +${scriptpath}/update-web-ari.sh ${srcdir} ${tempdir} ${webdir} gdb

Same as "set -x", we'll probably want to get rid of the final parameter
eventually, since we know it'll always be "gdb" for us.

-- 
Joel


  parent reply	other threads:[~2012-05-29 13:02 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-18 22:41 [RFA] " Pierre Muller
2012-05-25  8:09 ` PING " Pierre Muller
2012-05-25 19:47 ` Jan Kratochvil
2012-05-26 12:41   ` [RFA-v2] " Pierre Muller
2012-05-27  4:06     ` Sergio Durigan Junior
2012-05-27 19:53       ` Pierre Muller
2012-05-27 22:03         ` Sergio Durigan Junior
2012-05-28 18:34           ` [RFA-v3] " Pierre Muller
2012-05-28 18:38             ` Pierre Muller
2012-05-29 13:02             ` Joel Brobecker [this message]
2012-05-29 13:13               ` Pedro Alves
2012-05-31  6:56                 ` Pierre Muller
2012-05-31 15:59                   ` Joel Brobecker
2012-06-14 12:36                 ` [RFA-v4] " Pierre Muller
2012-06-14 16:02                   ` Joel Brobecker
2012-06-14 16:14                     ` Pierre Muller
2012-06-14 16:22                       ` Joel Brobecker
2012-08-21 10:27                         ` About RFA for " Pierre Muller
2012-08-21 22:36                           ` Sergio Durigan Junior
     [not found]                         ` <50336283.a2db440a.600c.105dSMTPIN_ADDED@mx.google.com>
2012-08-21 22:25                           ` Doug Evans
2012-09-26 22:15                   ` [RFA-v5] " Pierre Muller
2012-10-08 21:21                     ` Pierre Muller
2012-10-09  3:45                       ` Sergio Durigan Junior
2012-10-09  5:52                         ` Joel Brobecker
2012-10-22 21:04                     ` Joel Brobecker
2012-10-23 15:21                       ` Pierre Muller
2012-10-23 17:13                       ` Sergio Durigan Junior
2012-10-30 15:16                         ` Pierre Muller
     [not found]                         ` <4332.56673063642$1351610219@news.gmane.org>
2012-11-01 19:57                           ` Tom Tromey
2012-11-01 22:39                             ` Pierre Muller
2012-06-22 16:10                 ` [RFA-v3] " Tom Tromey
2012-05-26  0:12 ` [RFA] " Sergio Durigan Junior

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=20120529130144.GM5492@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    --cc=sergiodj@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