Mailinglist Archive: opensuse-softwaremgmt (17 mails)

< Previous Next >
Re: [softwaremgmt] Feature - running program at end of the instalations/on configure files conflict
  • From: Elmar Stellnberger <estellnb@xxxxxxxx>
  • Date: Sat, 13 Jun 2009 11:16:25 +0100
  • Message-id: <4A337C79.1030808@xxxxxxxx>
Michal Hrusecky schrieb:
Hi,

I've been thinking about how to work with configuration files updates
(feature #306411 [1]). In the end it seems that it would require some
adjustments to installation system as well. I think it can be divided
into two main features, so I'll post them here in two e-mails so it will
be easier to track them. And the reason is of course to discuss there
features, collect ideas and hopefully somebody will consider/implement
them.

Second thing that would be nice to have is some trigger which will get
run after each installation/deinstallation/upgrade. Well, easiest way to
implement feature #306411 is to use some script to collect conflicting
configuration files after each installation and to display some warning
that there are some conflicts that needs resolving. Warning should be
easily possible to do, once previous feature would be supported.

Other possibility how to achieve the same result would be some patch
for rpm so it will generate such a message itself or calls something to
"merge" conflicting files.

I'm not sure what would be the best approach here. I can see some more
generic usage of the first approach (like logging into mailbox or
database), but I'm starting to think that second approach sounds better
although patching rpm because of such a specific and probably minor
feature also doesn't look like a good idea...

[1] https://features.opensuse.org/306411

Great, now we have a feature entry for Enh 506815
(https://bugzilla.novell.com/show_bug.cgi?id=506815).

As a user I would basically think about an rpm integration as a good
idea since I do still sometimes download and install/upgrade rpms
manually. Besides this an rpm based patch would resolve our issue for
zypper as well.
Nonetheless a YaST/Opensuse updater/zypper integration will be of much
greater value since I use these package management utilities most of the
time.
If the effort to supply both a GUI mechanism for YaST/OS-Updater and a
textmode notification for rpm/zypper were not too high I would welcome both.
--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx

< Previous Next >
References