pacdef

multi-backend declarative package manager for Linux

GPL-3.0 License

Downloads
34.8K
Stars
290
Committers
2

Bot releases are hidden (Show)

pacdef - v1.6.0: support for Fedora Linux, dnf Latest Release

Published by steven-omaha 6 months ago

This release adds support for Fedora Linux and its dnf package manager. Thanks to @InnocentZero for this excellent work!

What's Changed

Full Changelog: https://github.com/steven-omaha/pacdef/compare/v1.5.0...v1.6.0

pacdef - v1.5.0: support for rustup, Void Linux

Published by steven-omaha 7 months ago

This feature release adds support for rustup, the Rust toolchain manager, and xbps, the Void Linux package manager. Be aware that rustup packages are quite a bit different than other pacdef packages. Thank you @InnocentZero and @Book-reader!

You can now also finish a review early once you have reviewed a couple of packages by using the new a(p)ply option for pacdef package review. Thank you @mike-lloyd03.

Furthermore, we now start distributing binary versions for all feature-flagged backends, thanks to @thechubbypanda!

Rust users will also find that $CARGO_HOME is now respected. Thank you @danbluhmhansen.

What's Changed

New Contributors

Full Changelog: https://github.com/steven-omaha/pacdef/compare/v1.4.2...v1.5.0

pacdef - v1.4.2

Published by steven-omaha 7 months ago

Fixes dependency on new libalpm.so.13

pacdef - v1.4.1

Published by steven-omaha 8 months ago

What's Changed

pacdef - v1.4.0: pipx support

Published by steven-omaha 9 months ago

Changelog

Features

  • python: pipx support (thanks @InnocentZero). See the new config file option pip_binary in the README.

Refact

  • ui: infallible conversion for u8 to char
pacdef - v1.3.2

Published by steven-omaha 10 months ago

This maintenance release updates all dependencies to their latest versions and adds some test cases.

pacdef - v1.3.1

Published by steven-omaha about 1 year ago

This release contains minor improvements and bug fixes.

Changelog

Bug Fixes

  • grouping: non-canonical ordering

Documentation

  • README: MSRV 1.70.0
  • core: add panics section

Features

  • grouping: check duplicate packages in section
pacdef - v1.3.0: group export

Published by steven-omaha over 1 year ago

It is now possible to export groups that were created using pacdef group new or created manually. This enables the user to save a group in a more centralized place, like his dotfiles repo.

Changelog

Features

  • add pacdef group export. See man pages and README.md.

Bug Fixes

  • rust: handle missing crates file

Documentation

  • README: link to topgrade
  • core: docstrings
  • core: remove outdated docstring
  • add release checklist

Miscellaneous Tasks

  • cliff: update config
  • update subcrate repository urls

Refact

  • core: remove get_group_file_paths...
  • core: manual let else
  • core: simplify valid group name check
  • main: create_empty_config_file
  • use clone instead to_owned
  • replace match with if let else
  • unncessary wraps
pacdef - v.1.2.2: man pages!

Published by steven-omaha over 1 year ago

This patch release adds man pages: pacdef.8 and pacdef.yaml.5.

pacdef - v1.2.1: fixes and refactoring

Published by steven-omaha over 1 year ago

Version 1.2.1 is a quality of life update that fixes some small bugs and improves code quality.

Changelog

Bug Fixes

  • arg parsing
  • remove dbg statement
  • 'not a symlink' warning: the warning is now only shown when the setting is enabled (default true), the group file is not a symlink, and it does not reside under any symlinked directory below the main group folder. #33

Documentation

  • core: docstrings
  • group: fix docstring

Features

  • warn about missing group only when relevant: We now defer the check to when we actually need some content in the groups #31

Refact

  • core: remove stale lint config
  • overhaul arg parsing
  • core: arg destructuring
pacdef - v.1.2.0: support nested group directories

Published by steven-omaha over 1 year ago

Version 1.2.0 adds support for nested group directories. If you have a complex group structure nested in multiple folders, you can now import the outermost folder instead of importing every file one by one.

Changelog

Bug Fixes

  • Don't overwrite config file: when any part of the config was invalid, it was overwritten entirely
  • Remove dbg statement

Documentation

  • Add docstrings to some functions
  • README: Add flatpack config value
  • README: Update config documentation
  • README: describe groups import
  • core: Extend 'get_args' docstring

Features

  • Allow nested group dirs

Miscellaneous Tasks

  • Update bacon config

CI

  • Run tests
  • Update checkout to v3
  • Fix docs.rs jobs

Refact

  • backend: Make macro crate-public
pacdef - v1.1.0: add flatpak support!

Published by steven-omaha over 1 year ago

What's Changed

  • Add flatpak backend by @teackot (Thank you for the great work!) in #20.
  • fix: privilege escalation for Debian in #25. Pacdef will now use sudo if required.

New Contributors

Full Changelog: https://github.com/steven-omaha/pacdef/commits/v1.1.0

pacdef - v1.0.1

Published by steven-omaha over 1 year ago

34d7b5d9deb93ee1c40f080166ce674c19560a2f fix: build when git not installed

pacdef - v1.0.0: Rust rewrite, multiple backends, increased performance

Published by steven-omaha over 1 year ago

This major release features a lot of new features!

  • We now support not only Arch Linux, but have extended pacdef to support in principle any package manager. Now you can keep your Rust, Python and Debian installations in sync!
  • Breaking change: the config and group file syntax was changed. See the README here and here.
  • Pacdef was rewritten entirely in Rust! This increases the performance by quite a bit.
pacdef - v0.8.0

Published by steven-omaha about 2 years ago

new features:

  • pacdef new [--edit]: create a new group file instead of importing one
  • proper packaging: now requires pip to install
  • regex-based search for packages

in detail:
5636bbd add __main__.py, argparse prog name
7851ef8 replace mypy with pyright
375d3cb configure pyright, fix lots of typing problems
7e85fcb migrate to pyproject.toml
cf3e1e4 add pacdef new --edit
49b9388 update annotations for full PEP 484 compliance
a9df436 remove exact search
c51e9b1 add regex search for package
4252eda add python --version to issue template
0c36416 extend warning of no groups by suggestion of creating one
4370a84 refactor error handling if group does not exist
f6ab66e add config flag warn_not_symlink
70b5aab add new subcommand

pacdef - v0.7.3

Published by steven-omaha over 2 years ago

0.7.3 contains fixes for some minor bugs

f42a292 make review aborting return 2
551509f make review confirmation strict
ed5c2ec remove extra newline after group assign
c2d7f3b replace elif-ladders with match case
85a92f8 chg: refactored functions related to user input
731ddfb fix: spelling
37771aa fix: some type annotations
b7a8ceb fix: some type annotations
f39ea42 fix: DB location default
9846ee7 fix: indentation of package names

pacdef - v0.7.2

Published by steven-omaha over 2 years ago

This release improves performance, by using more efficient data structures, and querying the database directly instead of parsing AUR helper output (wherever possible).

e104434 fix: pytest on github (pyalpm)
f73b27b fix: pytest on github (pyalpm)
0025d8e chg: pycharm SDK version
b406771 add: comment
332e227 chg: use pyalpm to query for installed packages
2376d2a add: test ordering of packages
d329bc7 fix: ordering of packages
0a96582 chg: use sets to compare multiple packages
7ee3e65 del: calculate_package_diff
dd1781a Update README.md
a1c6db3 chg: update github workflows
c4eb277 chg: update pre-commit config
85c79e7 chg: pep257 -> pydocstyle

pacdef - v0.7.1

Published by steven-omaha almost 3 years ago

acfa9fc fix: update README configuration
c75dbe6 fix: inconsistent line spacing in review
e304c02 fix: review assign package to empty group
e746d6f Update README.md with pacdef review

pacdef - v0.7.0

Published by steven-omaha almost 3 years ago

new feature: pacdef review

You can now use pacdef review to batch process unmanaged packages.

1bacea0 fix: unbound local variable
0569874 add: Reviewer logging
c447210 refactor: _get_reviews_by_action
0ce61b7 fix: review no user input, cancel
45a9170 add: review "as dependency" and "info"
4a84a4c minor cleanup
b7af4bb chg: group enumerations right-justified
f3a3e89 add: zsh completion for pacdef review
9358c94 fix: imports (isort)
7c2b14c add: review feature

pacdef - v0.6.1

Published by steven-omaha about 3 years ago

QoL release.

  • Improved error messages: 20f654c
  • Docstrings for most functions
  • some sanity checks: db4268c fd241bd
  • small bug fixes
  • fixed pytest on github