Skip to content

Fix recipe name matching

commit e4fad62e:

cerbero: Fix indentation of cookbook.py

commit 3b2a95b9:

cerbero: Fix recipe name matching logic
When specifying a package name like `glib`, we could match `json-glib`
and `taglib` and then reject the name, giving a spurious error like:

> Name 'glib' matches two or more recipes: [taglib, json-glib]

Instead, always go over the entire recipes list for an exact match
first, and then try substring matches if there wasn't a match.

CC: @dabrain34

Merge request reports

Loading