[Rpm-ecosystem] Fedora system upgrades in DNF

Honza Šilhan jsilhan at redhat.com
Fri Jul 24 15:46:51 UTC 2015


Hi,

there's interesting proposal from Will to move Fedup functionality into DNF
(to support offline updates).

> From: "Radek Holy" <rholy at redhat.com>
> > From: "Will Woods" <wwoods at redhat.com>
> > 
> > Hi all,
> > 
> > First: Radek, thank you for working with me on the TransactionDisplay
> > stuff. I really appreciate how much time and thought you all put into
> > designing a good API for DNF!
> 
> Thanks. API design is a bit thankless task so I very much appreciate your
> praise.
> 
> > Anyway - you're all probably aware that I'm orphaning fedup[1]. As a
> > replacement, I've written dnf-plugin-fedup, which is a prototype/proof
> > -of-concept that shows how to do system upgrades using systemd's
> > Offline Updates[2] support.
> > 
> > I'd really like to integrate system upgrades into DNF itself - or, at
> > least, get your opinions about the best way to implement system
> > upgrades. What would be the best way to have that discussion?[3]
> 
> I think that the new rpm-ecosystem list is the best place.
> 
> FTR, I'm all for integrating Offline Updates into DNF. I believe that it fits
> very well into DNF. But AFAIK, I'm the only one having this opinion in DNF
> team.

Offline updates could be a great feature of DNF but at this point I would like to have
it as a separate plugin [4] rather than in DNF itself. Especially if it's just a proof-of-concept.
I would keep it as a plugin at least for a few Fedora releases and then reconsider merging.
We plan to move more code into C and share the main logic with PackageKit - which AFAIK already
supports offline updates so we can maybe reuse that code.

> > Also: I'm trying to write up a Fedora Change Request for this, and I'd
> > really like to have someone from the DNF team as a co-owner. Is there
> > anyone willing/able to take that role?
> 
> I'd be interested in it if there are no other tasks to which I'm going to be
> assigned.
> 
> > Thanks again,
> > 
> > -w
> > 
> > [1] Short explanation: fedup was using systemd in an undocumented way
> > that turns out to be totally broken; it's unsupportable and unfixable.
> > If you want more details, you could start here:
> > https://fedorahosted.org/fesco/ticket/1463
> > 
> > [2] http://www.freedesktop.org/wiki/Software/systemd/SystemUpdates

[4] https://github.com/wgwoods/dnf-plugin-fedup

Honza


More information about the Rpm-ecosystem mailing list