Rollback functionality for apt-rpm

Gary L. Greene, Jr. greeneg at phoenuxos.com
Thu Nov 30 06:51:50 PST 2006


On Wednesday 29 November 2006 23:14, Vincent Danen wrote:
> * Gary L. Greene, Jr. <greeneg at phoenuxos.com> [2006-11-29 09:08:29 -0500]:
> > > I'm a developer with Caixa Mágica (the portuguese distribution of
> > > Linux!), where we use a customized version of apt-rpm as our main
> > > package manager. Our customizations amount to a "rollback" feature,
> > > which we'd like to contribute back into (your) mainline. To get the
> > > ball rolling, I've prepared a patch against current svn (revision 272)
> > > and hopefully, it's attached to this message... I'd like to hear your
> > > feedback on the patch and to understand what it'll take to merge the
> > > code.
> >
> > [snip]
> >
> > This looks like a rather interesting feature. While I can't speak for
> > Panu, I can definitely see adding this to PhoeNUX OS' build... (Now if
> > only we could get scriptlet postponing, looks like I have to add it as a
> > lua hook for now :| )
>
> ooh!  ooh!  You mean like postponing all %post scripts and such until
> after the entire transaction is complete?  Are you serious?  If you
> implement something like that *please* share!  With Annvix (and Mandriva
> and possibly other distros) we tend to restart apache on every new
> module that gets installed, but if you upgrade apache to a new version,
> that's a lot of modules and a lot of useless apache restarts.
>
> I've wanted a post-transaction handler in urpmi for ages but they never
> seemed to get how useful it would be, so if you have eyes to implement
> something like this in apt, I'm very very willing to use your work... =)
> Sorry, I'd be willing to help, but I don't know the first thing about
> lua and have very little time to learn.

Likely I'll be making a lua hook that calls a perl script to do the lifting as 
I KNOW perl, and am rather shaky with lua.

-- 
Gary L. Greene, Jr.
Sent from: uriel.tolharadys.net
 09:51:03 up 1 day, 21:20,  8 users,  load average: 0.27, 0.09, 0.02
=========================================================================
Volunteer Developer for the PhoeNUX OS open source project
    See http://www.phoenuxos.com/ for more information
=========================================================================

Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20061130/9749a47a/attachment-0003.pgp>


More information about the Apt-Rpm mailing list