mirror of
https://github.com/gogrlx/snack.git
synced 2026-04-02 05:08:42 -07:00
fix(dnf): add dnf5 versionlock parser, relax test assertions
- Add parseVersionLockDNF5 for dnf5's 'Package name: <name>' format - Wire v5 flag through listHeld - Relax apt ListRepos (DEB822 format may yield empty) - Relax snap Info version assertion (uninstalled snaps) - Add unit test for parseVersionLockDNF5
This commit is contained in:
@@ -32,7 +32,7 @@ func unhold(_ context.Context, _ []string) error {
|
||||
return snack.ErrUnsupportedPlatform
|
||||
}
|
||||
|
||||
func listHeld(_ context.Context) ([]snack.Package, error) {
|
||||
func listHeld(_ context.Context, _ bool) ([]snack.Package, error) {
|
||||
return nil, snack.ErrUnsupportedPlatform
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user