Skip to content

v0.1.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 15:48

Changed

  • Unified the real desktop UI around a four-tier type scale, 0.5px purposeful borders and restrained surface hierarchy; reorganized the information architecture of Home, Search, Open-Source Software and Settings, removing decorative glows, redundant explanations and middot separators.

  • Added accessible names to icon buttons; the status bar now shows the real system architecture; catalog loading uses skeleton cards; copy stays consistent across all five languages.

  • The queue shows real progress per state (waiting, running, completed, failed); the reduce-animation toggle is wired to the framework's platform preference and governs running-state animation.

  • Fixed the Home stat-card background, Home action-button height, vertical name alignment in the recently-updated list, and the height alignment of the catalog search box, filter dropdown, refresh-catalog and submit-software buttons.

  • The open-source catalog is now served from catalog/index.json plus per-category JSON files. The client downloads the full index and every category, validates them together and updates the UI in one pass; any missing or invalid file rejects the entire catalog and never falls back to the legacy single-file catalog.json. PAKKIT_OFFICIAL_CATALOG_URL and PAKKIT_OFFICIAL_CATALOG_PATH now point at the index file.

  • Renamed "Official Install" to "Open-Source Software". The catalog is upgraded to schemaVersion: 2: every entry must provide a source repository, a currently OSI-approved SPDX license expression and a link to the full license text; the detail and submit dialogs present and collect the complete open-source provenance. Missing metadata, invalid or deprecated SPDX ids, LicenseRef and non-OSI licenses all reject the whole catalog, and schema 1 is no longer accepted.

  • The remote catalog only keeps software whose license has been verified against its full license text; pushes and pull requests on the official-install branch also run the full catalog validation through the client parser.

Added

  • Archive installs can declare required helper executables explicitly via additionalExecutables; the executable bit is applied only to the declared regular-file entries, and reusing an existing version also validates and repairs those entries.

  • dnf backend (Fedora/RHEL, dnf5 compatible): read-only queries run dnf directly; mutating operations prefer the PackageKit D-Bus channel and fall back to pkexec dnf …; the check-update exit code 100 (updates available) is treated as benign; repository management is not exposed (/etc/yum.repos.d is root-owned).

  • Zypper backend (openSUSE): every call passes --non-interactive; mutations go through PackageKit (the zypp backend) with a pkexec zypper … fallback; zypper's informational exit codes 102/103 (reboot/restart required) are treated as success.

  • apk backend (Alpine): read-only queries run apk directly; mutations go through pkexec apk … (Alpine usually has no PackageKit/polkit, in which case the spawn failure is surfaced in the queue error details); repository management is not exposed (/etc/apk/repositories is root-owned).

  • Homebrew backend (macOS and Linux/linuxbrew; the first macOS backend): brew refuses root, so it never elevates privileges; casks (GUI apps) are distinguished from formulae by the cask/ id prefix throughout search/install/upgrade; repository management maps to taps (brew tap/untap); besides PATH, executables are also probed under the fixed prefixes /opt/homebrew, /usr/local and linuxbrew.

  • Scoop backend (Windows, switchable with winget/Chocolatey in Settings): scoop runs fully without administrator privileges and never elevates; "Update All" is coalesced into a single scoop update *; repository management maps to buckets (scoop bucket add/rm); the executable resolves the scoop.exe shim (PATH or %USERPROFILE%\scoop\shims).

  • The release pipeline is now multi-platform: native builds for the four Windows/Linux × x86_64/arm64 combinations (Linux arm64 uses a GitHub native ARM runner), adding Linux .deb / .rpm / .AppImage and Windows .msi packages (the MSI is x86_64-only because the WiX 3.x bundled by cargo-wix cannot emit arm64 installers), plus a unified pakkit-<version>-checksums.txt; release.yml supports a workflow_dispatch manual dry-run that skips publishing.

  • CI gains a cargo-deny check: dependency license allowlist, security advisories and yanked-crate auditing.

  • pacman backend (with AUR support when yay is detected): read-only queries run pacman directly; like apt, mutations prefer the PackageKit D-Bus channel and fall back to pkexec pacman …; search appends AUR results (id prefix aur/) when yay is present, and AUR install/upgrade are rerouted via the --from-aur flag to a direct yay -S --noconfirm — yay must build as a normal user and invokes sudo itself, so it cannot be wrapped in pkexec; the app runs subprocesses with an empty stdin, so interactive sudo fails and AUR installs therefore require passwordless sudo, with the failure reason shown in the queue error details. Installed lists mark AUR packages via pacman -Qmq, and uninstalls uniformly use pacman -R.

  • snap backend: snapd raises its own polkit authorization (like flatpak; no pkexec needed); the Snap Store is the only source and repository management is not exposed; "Update All" is coalesced into a single snap refresh transaction.

  • Chocolatey backend (Windows, switchable with winget in Settings): parses choco v2 --limit-output piped output (name|version); "Update All" is coalesced into a single choco upgrade all transaction, with pinned packages excluded from updates; repository management supports add/remove (choco source …) and disabled sources show as unverified; besides PATH, executables fall back to %ChocolateyInstall%\bin.

  • The apt backend's install/upgrade/uninstall/refresh now go through the PackageKit D-Bus channel: its polkit authorization (auth_admin_keep) is cached for about 5 minutes, so a queue batch prompts for the password at most once instead of one pkexec prompt per task; it falls back to pkexec when PackageKit is unavailable. A canceled or rejected authorization is reported with exit code 126/127 and a localized explanation.

  • Seven views: Discover, Categories, All Packages, Installed, Updates, Source Management and Settings.

  • Queue drawer: serial install/upgrade execution with configurable concurrency (1–3), showing the command line and progress per item.

  • Dialogs: package details, advanced filters, add source, edit source, uninstall confirmation, delete-source confirmation and export manifest.

  • Package details now use winget show --id --exact data: fetched in the background and cached when the dialog opens, presenting multi-line description, release notes, tags and publisher/license/homepage/installer-type/release-date fields; the parser handles multi-line indented Description: and Release Notes: sections plus SHA256 and offline-distribution fields in the Installer section, and extracts the name from the Found name [Id] line.

  • Three theme modes (dark, light, follow system) and five accent colors.

  • winget exit-code to localized-message mapping, with benign codes treated as success.

  • Multilingual UI: Simplified Chinese, Traditional Chinese, English, Japanese and Korean, with entries compiled in (rust-i18n); switching in Settings takes effect immediately; the first launch picks the OS language and the choice is persisted to settings.json.

  • Settings persistence: theme, accent color, language and all settings are written to <config dir>/wingetgui/settings.json and restored on the next launch.

Full Changelog: https://github.com/vgerbot-app/pakkit/commits/v0.1.0-rc.1