Skip to content

feat(dnf-updater): update to v1.2.0 - #1413

Open
strob3 wants to merge 1 commit into
noctalia-dev:mainfrom
strob3:update-dnf-updater-v1.2.0
Open

strob3 wants to merge 1 commit into
noctalia-dev:mainfrom
strob3:update-dnf-updater-v1.2.0

Conversation

@strob3

@strob3 strob3 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Plugin

  • Id: strob3/dnf-updater
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

Updates dnf-updater from v1.1.0 to v1.2.0.

DNF Updater manages and monitors pending DNF5 and Flatpak updates from the Noctalia bar with interactive package selection, real-time search filtering, reboot detection, download size & disk impact estimation, and terminal or background execution.

v1.2.0:

  • Disk Space Impact: Tooltip displays net disk space added or freed by updates alongside download size.
  • Last Updated Time in Tooltip: Moved last update timestamp from panel to tooltip.
  • Refresh Metadata Setting: Added optional refresh_on_update setting to force-refresh DNF cache on upgrade (#7).
  • Obsoleting Packages Support: Properly detects packages that replace older versions (e.g. kernel-headers).
  • Multi-arch Support: Fixed size calculation and exclusion selection when 32-bit and 64-bit versions of a package are installed.
  • Faster Checks: Package size querying now uses --cacheonly to avoid redundant network metadata refreshes.
  • Stale Exclusion Cleanup: Excluded packages automatically reset when pending updates change.
  • Panel Header Cleanup: Removed redundant timestamps to simplify panel.
  • State Persistence Fix: Preserves last update time across desktop reboots without forcing checks (#6).

Credits

Thanks to @fabienjuif for PR #6 and @katabame for PR #7.

External dependencies

  • dnf5: Package management on Fedora (checking upgrades, querying transaction history, and checking reboot requirement).
  • flatpak: Flatpak application and runtime management.
  • pkexec: Polkit authentication for non-interactive privileged package installation helper.

Testing

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: v5.4.1
  • Plugin API level: 43

Screenshots / Videos

dnf-updater thumbnail

Checklist

  • The directory name matches the part of id after the / in plugin.toml exactly.
  • It ships plugin.toml, README.md, thumbnail.webp, and translations/en.json.
  • README.md follows the README template, documents every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
  • thumbnail.webp is present and relevant; for a new plugin I created it with the thumbnail generator, and for an update I regenerated it with the generator if the visual identity or user-facing appearance changed.
  • version follows semver and is bumped in this PR; plugin_api is the oldest API level this plugin requires.
  • Every non-English translation in this PR uses a locale supported by Noctalia core, and I can read, write, and understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
  • I did not edit catalog.toml; CI generates it.
  • This PR touches exactly one plugin directory.

Code review attestation

  • The code is readable and not obfuscated, minified, or generated.
  • Code identifiers and code comments are in English.
  • It does not download and execute remote code.
  • Every network call, filesystem write, and spawned process is something the description above accounts for.
  • I have the right to publish this code under the license declared in plugin.toml.

Co-authored-by: Fabien JUIF <fabien.juif@gmail.com>
Co-authored-by: katabame <ayame@kataba.me>
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

The description now contains the required template structure.

@github-actions
github-actions Bot marked this pull request as draft November 12, 2026 11:10
@strob3
strob3 marked this pull request as ready for review November 12, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant