v4.3.0
Highlights
systemd-inhibit support
eopkg now supports systemd-inhibit, which prevents the system from shutting down or going to sleep during package operations.
Edge-case crash fixes
Any crash is a bug, so in this release, we've focused on handling edge cases better to avoid (rare) system breakage. Here are some examples:
- When removing a package which contained a configuration file (something in
/etc/*) which the user subsequently deleted,eopkgno longer crashes. - Adding a repository which already existed on the system but was disabled now works instead of crashing.
- SIGINT (Ctrl+C) is now blocked during package operations, preventing early cancellation when it could break the system.
Shell completions
Bash completions are now shipped as part of eopkg itself, alongside new completions for Zsh! There are no Fish completions because eopkg completions were submitted upstream to the Fish project many years ago, and so are distributed by Fish.
Breaking Changes
No user-facing breaking changes are known in this release.
What's Changed
- i18n: Update pot for new strings by @EbonJaeger in #127
- man: Update Help Center link by @EbonJaeger in #129
- Fix deprecated license declaration format by @Staudey in #137
- pisi: Inhibit the system from going down during operations by @joebonrichie in #139
- remove: Refactor remove function for readability by @EbonJaeger in #140
- eopkg.py3.handle_exception: Show traceback on
pisi.Error(not just onpisi.Exception) if--debugis specified. by @sheepman4267 in #143 - atomicoperations: Warn when attempting to remove a deleted config file by @sheepman4267 in #144
- filesdb: Fix localization formatting by @EbonJaeger in #142
- pisi: Fix crash when adding a deactivated repo by @silkeh in #151
- pisi.cli.check: Rewrite warning to not reference Pisi by @sheepman4267 in #147
- api,cli: Add checking for active repositories by @EbonJaeger in #156
- man: Add examples section for common commands by @EbonJaeger in #155
- upgrade: Refactor to make clearer whats going on by @EbonJaeger in #157
- Add issue and PR templates by @EbonJaeger in #159
- Accidentally a character by @EbonJaeger in #160
- fetcher: Handle the correct exception from urllib by @EbonJaeger in #158
- list-installed: Add option for explicitly installed packages by @EbonJaeger in #154
- signalhandler: Refactor signal handling by @EbonJaeger in #161
- db/packagedb: Fix optional repo parameter for get_pkgconfig_providers() by @joebonrichie in #152
- i18n: Update the pot file by @EbonJaeger in #165
- dist: Add bash and zsh completions by @EbonJaeger in #146
pisi.command: Re-exec with pkcon if not already root when running privileged operations by @sheepman4267 in #166- i18n: Update translations by @EbonJaeger in #168
- Update version string by @sheepman4267 in #169
Full Changelog: v4.2.1...v4.3.0