homebrew: fix incorrect handling of aliases (#9255)
* Add failing test (See commit description)
Second assert returns this:
changed: [localhost] => changed=true
changed_pkgs:
- sqlite3
msg: 'Changed: 1, Unchanged: 1'
unchanged_pkgs:
- sqlite
* Extract proper package_name from brew info using alisases
* Add changelog fragment
* Fix pep8
* Make sure sqlite is uninstalled beforehand
* Use `package_result is (not) changed` syntax in assertions
* Register more explicit names
* Fix handling of casks
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
9174-xbps-support-rootdir-and-repository.yml | ||
9223-proxmox-backup-bugfixes.yml | ||
9228-fix-issue-header.yml | ||
9234-fix-verify-bios-attributes-multi-system.yml | ||
9255-fix-handling-of-aliased-homebrew-packages.yml | ||
9263-kc_authentication-api-priority.yaml |