(item: dict)
| 662 | |
| 663 | |
| 664 | def _format_component(item: dict) -> str: |
| 665 | label = f"{item['id']} v{item['version']}" if item.get("version") else item["id"] |
| 666 | extras = [] |
| 667 | if item.get("priority") is not None: |
| 668 | extras.append(f"priority={item['priority']}") |
| 669 | if item.get("strategy") is not None: |
| 670 | extras.append(f"strategy={item['strategy']}") |
| 671 | if extras: |
| 672 | label += f" ({', '.join(extras)})" |
| 673 | return label |
| 674 | |
| 675 | |
| 676 | def _bundle_overlaps(project_root: Path, manifest, *, offline: bool) -> list[str]: |