Verified Commit e8bfb6a8 authored by Karel Koci's avatar Karel Koci 🤘

Add missing abi_change_deep option for Package command

abi_change_deep was implemented but wasn't used anywhere. Because of
that we didn't noticed that it wont pass trough arguments verification.
This allows its usage. Also because there is no clear way how we could
check for this fix we also added another feature called
'abi_change_deep'.
parent 94238faf
......@@ -693,6 +693,8 @@ conflicts::
Updater supports `Conflicts` control field.
abi_change::
Updater can handle and propagate ABI change.
abi_change_deep::
Updater can handle and propagate deep ABI change.
replan_string::
Updater expects replan to be a string (if this feature isn't set than it's
expected to be only boolean).
......
......@@ -138,6 +138,7 @@ local allowed_package_extras = {
["reboot"] = utils.arr2set({"string"}),
["replan"] = utils.arr2set({"boolean", "string"}),
["abi_change"] = utils.arr2set({"table", "boolean"}),
["abi_change_deep"] = utils.arr2set({"table", "boolean"}),
["content"] = utils.arr2set({"string"}),
["priority"] = utils.arr2set({"number"}),
["ignore"] = utils.arr2set({"table"})
......
......@@ -56,6 +56,7 @@ local updater_features = utils.arr2set({
'provides',
'conflicts',
'abi_change',
'abi_change_deep',
'replan_string'
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment