distribution: add ViewTop to the laptop body
Record update delivery as a per-body offer and local candidate activation after a live shell push killed an active conversation.
This commit is contained in:
parent
74e3bc5233
commit
d8820da557
4 changed files with 49 additions and 5 deletions
|
|
@ -40,8 +40,15 @@ def main() -> int:
|
|||
for name, package in packages.items():
|
||||
if package.get("state") not in PACKAGE_STATES:
|
||||
error(f"package {name}: invalid state {package.get('state')!r}")
|
||||
if package.get("producer") not in producers and package.get("state") != "planned":
|
||||
error(f"package {name}: unknown producer {package.get('producer')!r}")
|
||||
package_producers = package.get("producers")
|
||||
if package_producers is None:
|
||||
package_producers = [package.get("producer")]
|
||||
if not package_producers:
|
||||
error(f"package {name}: no producer declared")
|
||||
elif package.get("state") != "planned":
|
||||
for producer in package_producers:
|
||||
if producer not in producers:
|
||||
error(f"package {name}: unknown producer {producer!r}")
|
||||
if not package.get("architectures"):
|
||||
error(f"package {name}: no architecture declared")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue