I've been drafting and implementing a new Cockpit feature for providing a
"Software Updates" page for "classic" yum/dnf/apt based systems (the
one is for Atomic OSTree only). This uses PackageKit to retrieve update
information and install packages, and I've now tested it on Fedora 25, CentOS
7, Debian 8, Debian testing, and Ubuntu 16.04. It looks like  for me on
Fedora 25 or like  on a Debian testing installation from a few weeks ago
(thus there are tons of updates available, and Debian changelogs tend to be
much more detailled).
This is now sufficiently useful and robust for getting some wider feedback and
testing. For easier and faster development it's currently a standalone
project/repository , it includes a README how to install it:
mkdir -p ~/.local/share/cockpit
git clone https://github.com/martinpitt/cockpit-os-updates.git
npm run compile
If you don't have "npm", you need to install it first with "sudo yum
Feedback I'm looking for:
- How does the UI and update process work and feel for you? Does it cause
bad appearance/rendering or visual glitches or even actual upgrade failures
for you? (please include screenshots).
- Is there some missing feature which is crucial for a first public
version/inclusion into Cockpit? Note that the spec talks about configuring
automatic updates, but that will not be in the first version.
- I'm *very* new to React and JS at large, so I'd appreciate some commentary
on the code for bad patterns/style.
- The tooltips for package names (package summary) and CVEs (CVE description)
are not Cockpit-styled. This is a limitation of being a standalone module (I
can't use Cockpit's tooltip React component) and will be fixed when
including this into the Cockpit tree.
- Applying updates currently looks a bit simple-minded. This hasn't gone
through a Garret-level design process yet, I just threw something initial
together (progress bar and currently processed package).
- On Ubuntu 16.04 or Debian 8 (sorry, forgot which one) there are no
changelogs. That's a limitation of what PackageKit can give us.
Thank you in advance!