Skip to content

feat(dnf-updater): update to v1.0.3 - #931

Merged
ItsLemmy merged 1 commit into
noctalia-dev:mainfrom
strob3:update-dnf-updater-v1.0.3
Oct 6, 2026
Merged

ItsLemmy merged 1 commit into
noctalia-dev:mainfrom
strob3:update-dnf-updater-v1.0.3

Conversation

@strob3

@strob3 strob3 commented Oct 6, 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.0.1 to v1.0.3. Version 1.0.2 was developed locally but was not published to the community repository; its changes are included in this release.

[1.0.3] - 2026-10-06

Added

  • Plugin Version in Header: Display installed version next to panel title in panel.luau.
  • Flatpak Runtime Updates: Added include_flatpak_runtimes setting and row badge in panel.luau.

Fixed

  • Fixes [dnf-updater][BUG] : Reports 4 flatpak updates, but there are no flatpak applications available to update. #922: Flatpak Ghost Updates: Added --app flag to flatpak remote-ls --updates to filter unmatched theme extensions and EOL runtimes.
  • Flatpak Selection Crash: Defined flatpakCount scope in updateFlatpak() to fix nil comparison crash and infinite loading.
  • Background Upgrade Protection: Raised background transaction timeout to 10m and wrapped helper with systemd-inhibit to prevent SIGKILL and mid-upgrade aborts.
  • Flatpak Parameter Limits: Removed duplicate Flatpak refs, relaxed validation, and simplified full updates.
  • Timeout Error Reporting: Added result.timedOut handling to DNF and Flatpak update errors advising terminal execution.

[1.0.2] - 2026-09-22

Added

  • Installer Script for passwordless background updates: Added scripts/install.sh for remote/local install, group checks (wheel/sudo), SELinux restore, and uninstallation.

Fixed

  • Check Retry: Retried DNF/Flatpak checks once when they time out.
  • Stream Exclusions: Fixed exclusions for RPM modules and epochs containing colons.
  • Polkit Compatibility: Added support for both wheel and sudo groups.
  • Error Capture: Captured DNF error output when stderr is empty.

External dependencies

  • dnf5: Queried asynchronously via JSON API for pending packages and used for upgrade transactions.
  • flatpak: Queried for pending application/runtime updates and upgrade execution.
  • pkexec: Polkit CLI agent used for non-interactive privileged package installation (via the optional scoped helper or direct dnf5 fallback).
  • sudo: Optional interactive terminal execution.

Testing

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

Screenshots / Videos

no visual changes were made.

DNF Updater Panel

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.
  • 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.

@ItsLemmy
ItsLemmy merged commit 1cddc27 into noctalia-dev:main Oct 6, 2026
6 checks passed
@strob3
strob3 deleted the update-dnf-updater-v1.0.3 branch October 6, 2026 13:54
@strob3
strob3 restored the update-dnf-updater-v1.0.3 branch October 6, 2026 13:55
@strob3
strob3 deleted the update-dnf-updater-v1.0.3 branch October 6, 2026 13:56
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.

[dnf-updater][BUG] : Reports 4 flatpak updates, but there are no flatpak applications available to update.

2 participants