Releases: getsolus/eopkg
v4.4.1
What's Changed
- uneopkg: Read package before attempting to extract by @sheepman4267 in #204
- install: Don't call downloaded packages "upgrades" by @sheepman4267 in #206
Full Changelog: v4.4.0...v4.4.1
v4.4.0
What's Changed
- dist/completions/bash: Add missing repo-priority option by @joebonrichie in #196
- Handle
pisi.graph.CycleExceptionfor a nicer error message by @sheepman4267 in #197 - cli/info: Support resolving package against a specific repository by @joebonrichie in #198
- Fix two path validation bugs by @silkeh in #201
Includes security fixes for GHSA-hjp7-qwrj-6cc6 and GHSA-786v-47cq-qm6m.
Full Changelog: v4.3.4...v4.4.0
v4.3.4
Hey look, a few more pre-epoch bugfixes! And one little new feature snuck in there. Enjoy!
Highlights
eopkg checknow has the ability to automatically reinstall broken packages!- An incredibly long-standing bug where a package replacing an existing directory with a regular file would not be installable is now fixed.
pyproject.tomlgot some attention; eopkg is now installable in a venv.- When a system has no repository, eopkg now automatically adds Polaris instead of Shannon (this is necessary post-epoch).
- When you attempt to add a repository which is broken or unreachable, eopkg now correctly returns an error instead of a warning.
What's Changed
- pisi.cli.check: Add option to reinstall broken packages by @HarveyDevel in #178
- db/packagedb: When getting pkgconfig providers reverse through repo list by @joebonrichie in #163
- pyproject.toml: Add ordered_set to build requirements by @sheepman4267 in #182
- pisi.archive.ArchiveTar.unpack_dir: Remove directories first when they will be replaced with regular files by @sheepman4267 in #177
- pyproject: Add ordered_set to dependencies by @EbonJaeger in #183
- pisi.api, pisi.operations.build: Fix SyntaxWarning in regex strings by @sheepman4267 in #188
- repodb: When no repositories are configured, add polaris instead of shannon by @sheepman4267 in #189
- i18n: Improve how localization is set up by @EbonJaeger in #187
- dist/completions/bash: Optimize getting packages for operations by @joebonrichie in #181
- addrepo.py: Raise an error when adding a broken repo by @sheepman4267 in #190
- Update version string by @sheepman4267 in #191
New Contributors
- @HarveyDevel made their first contribution in #178
Full Changelog: v4.3.3...v4.3.4
v4.3.3
This is a bugfix release to resolve an issue where package conflicts were broken due to a misinterpreted return value.
What's Changed
- Upgrade and Remove operations: Return None when successful by @sheepman4267 in #175
- Update version string by @sheepman4267 in #176
Full Changelog: v4.3.2...v4.3.3
v4.3.2
This is another quick fix release, resolving a minor import issue where we were unnecessarily importing jeepney at the top of pisi.util.
What's Changed
- pisi.util: Fix import in the wrong place, remove unnecessary import by @sheepman4267 in #171
- Update version string by @sheepman4267 in #172
Full Changelog: v4.3.1...v4.3.2
v4.3.1
This is a minor release containing a hotfix to keep eopkg from breaking solbuild.
What's Changed
- pisi.util: Fix broken DBus error handling by @sheepman4267 in #170
Full Changelog: v4.3.0...v4.3.1
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
v4.2.1
This is a minor release adding a cosmetic fix to index and a functional fix to ComponentDB parsing.
#125 is the particularly important change, as it attempts to resolve getsolus/packages#2892.
What's Changed
- index: Only show each package added to index if --verbose by @joebonrichie in #124
- Ignore and attempt to invalidate componentdb cache if it is corrupted by @sheepman4267 in #125
Full Changelog: v4.2.0...v4.2.1
v4.2.0
Highlights
Repository Priority
As of #90, it is now possible to reconfigure the priority order for repositories on your system using a convenient CLI, rather than removing all the repositories and re-adding them in the order you want. This should be a quality of life improvement for packagers and testers who might want to have multiple repositories enabled at once.
Fixed certain extremely slow package updates
When files were moved from one package to another, we unnecessarily called an expensive method once for each file. This was fixed in #103.
Fixed Help Formatting
Compared to previous python3 versions of eopkg, this release displays all the subcommands, not just half of them.
Reworked Translations
Thanks to @EbonJaeger for working on the translations, both updating strings and simplifying our gettext functions!
Breaking Changes
- Repositories using HTTP Basic Authentication are no longer supported. Specifying either the
--usernameor--passwordoptions toeopkgwill result in an error.- Rationale: We have no convenient way to test this functionality as we modernize eopkg, and couldn't come up with a compelling reason to use it in production. Every little bit of code complexity removed from the project will help us keep it maintainable.
What's Changed
- Don't set compression level when opening an lzma archive for reading by @Staudey in #91
- Fix typos in code and project tags by @vaskebjoern in #104
- Update/upload translations to Transifex by @EbonJaeger in #100
- CLI/index: Add valid compression types to help string by @sheepman4267 in #112
- Remove HTTP Basic-Auth repository support by @sheepman4267 in #113
- Move call to list_upgradable out of inner loop by @sheepman4267 in #115
- Fix up
list-installed --with-build-hostoption by @sheepman4267 in #116 - Add support for adjusting priority of repositories by @joebonrichie in #90
- Avoid a nasty crash if a package has a malformed version string by @sheepman4267 in #97
- pisi.cli.help: Import all commands that sort alphabetically after help by @sheepman4267 in #117
- pisi.cli.build: Fail with a readable error when attempting to build packages using a compiled eopkg by @sheepman4267 in #119
- i18n: Update translation strings by @EbonJaeger in #121
- i18n: Pull translations from Transifex by @EbonJaeger in #122
- Add en_US locale fallback if locale.getlocale() fails by @joebonrichie in #123
New Contributors
- @vaskebjoern made their first contribution in #104
- @EbonJaeger made their first contribution in #100
Full Changelog: v4.1.6...v4.2.0