This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update ARI pages


> I played around with this for a bit.  Eventually I realized that
> this is in our release checklist already.  It's right below the
> bit that says how to update the online documentation.  Joel,
> you've been doing that bit - any particular reason you didn't
> do the ARI too?

No, I just missed it!

> Joel, I stumbled on the scary set of shell scripts in
> ~gdbadmin/gdb-release.

Ah, the cat is out of the bag... I wrote these scripts in preparation
to the gdb-6.7 release, wanted to have a couple of release cycles done
with them before I announced them. The number of scripts is indeed
scary, but this is mostly because there are lots of little steps to go
through during the release. Each step pretty much has its own script
(more or less).

The idea is that the scripts act as two things:
  - An electronic reminder of all the actions to be done, where I need
    to acknowledge all actions I'm supposed to do before the script
    moves on.  This is to avoid forgetting about the ARI for instance...
  - Do automatically what can easily be done automatically.

The conjunction of the two dramatically reduce the amount of time
it takes to produce a release (creating the branch took about 1h,
and so did producing the gdb-6.7 release).

The entry point for the scripts is one single script, called "release.sh".
It knows what you've done so far, and just picks up where you left.

I am not going to write more about this for now, as this is a bit
off topic for this thread. I intend to contribute this to GDB eventually
and re-write the documentation accordingly (describe the release process
as well as the internals of the scripts).

>   /bin/sh ~/ss/update-web-ari \
>           ~ftp/pub/gdb/releases/gdb-6.7.tar.bz2 \
>            $PWD/www \
>            /www/sourceware/htdocs/gdb/download/ari \
>            gdb

New script added :), so it should not be forgotten again. I ran
the new script manually, and checked the results on the web,
which seem fine. Let me know if there are some errors.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]