[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing fix-info-dir in dist tar balll; RFE: integrate fix-info-dir
From: |
Eli Zaretskii |
Subject: |
Re: missing fix-info-dir in dist tar balll; RFE: integrate fix-info-dir script into info binary |
Date: |
Sat, 10 Dec 2022 13:05:34 +0200 |
> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Sat, 10 Dec 2022 10:01:09 +0000
> Cc: kloczko.tomasz@gmail.com, bug-texinfo@gnu.org
>
> On Sat, Dec 10, 2022 at 09:38:17AM +0200, Eli Zaretskii wrote:
> > > From: Gavin Smith <gavinsmith0123@gmail.com>
> > > Date: Sat, 10 Dec 2022 00:22:37 +0000
> > > Cc: bug-texinfo@gnu.org
> > >
> > > The script was under contrib/fix-info-dir. The whole contrib/ directory
> > > was excluded from the tar ball.
> > >
> > > Which distributions use the script and when/how is it run?
> > >
> > > The script appears to have hardly any attention paid to it since
> > > it was written (the copyright year in the version message is still
> > > printed as 1998!).
> > >
> > > I think it's unlikely that we could immediately add the functionality
> > > to the info binary and the more immediate change would be distribute
> > > the script.
> >
> > AFAIU, the script's effect is equivalent to deleting the existing DIR
> > file and then running install-info on all the files in that directory
> > to recreate DIR. Am I missing something?
>
> Yes, so putting this functionality inside the info program would require
> it to open and process every single Info file on its path, which could
> be slow.
The script that was removed didn't process all the Info files, only
those in the directory of DIR. install-info already does that, and is
quite fast.
(I don't understand why you are talking about "the info program", I
think it is unrelated to the issue at hand.)
Re: missing fix-info-dir in dist tar balll; RFE: integrate fix-info-dir script into info binary, Eli Zaretskii, 2022/12/10