[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Status of install-info



Ian Zimmerman wrote:
> Another possiblity to hold the structure is a XML file.
> Unfortunately perl is only standard now.  Hmm, I heard somebody
> was on a campaign to make python important or better?  That would
> help a lot, python has great XML support.

dh_installinfo is able to determine the section of an info page by
looking at the content of the info file, and is able to determine which
file is the main file in a collection of info files by looking at the
filenames. This is all the info it needs to pass to install-info, and it
can all be found by just examining the files.

So why not just let install-info look at all the installed info files,
find the above data on its own, and generate the info dir based on that?
This would eliminate a lot of the possible problems with removing
entries correctly, and would be very simple as it would need to store no
external state, and could simply regenerate the info dir from scratch
each time instead of the error-prone editing it in place that install-info
does now.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: