This is the mail archive of the cygwin-apps mailing list for the Cygwin 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: [RFC] incremental rebase


On 12/8/2014 11:48 AM, Achim Gratz wrote:
Ken Brown writes:
I'm not convinced that we need to worry so much about all these
details.  What if we just check (based on timestamps of files in
/etc/setup/*.lst.gz) whether anything has been installed into
/usr/info or /usr/share/info since we last did this check.  If so,
then just do exactly what the current update-info-dir.sh does.

We also need to track if something was deinstalled.  Unless we want to
force all packages to do the appropriate install-info calls themselves
in preremove and postinstall, of course.

autorebase can't get away with anything so simple, but it seems to me
that this is good enough for update_info_dir.

We can always fall back to what we are doing now, yes.  But I'd like to
see if it can be improved.

The attached script is what I had in mind. It's better than what we have now and could be a starting point.

Ken

Attachment: zp_update_info_dir.sh
Description: Text document


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