pub fn label_for_official(repo: &str, name: &str, owner: &str) -> StringExpand description
What: Produce a human-friendly label for an official package entry.
Inputs:
repo: Repository reported by the package source.name: Package name used to detect Manjaro naming conventions.owner: Optional upstream owner string available from package metadata.
Output:
- Returns a display label describing the ecosystem the package belongs to.
Details:
- Distinguishes
EndeavourOS,CachyOS, andArtix Linuxrepos (with specific labels for each Artix repo:OMNI,UNI,LIB32,GALAXY,WORLD,SYSTEM), and detectsManjarobranding by name/owner heuristics. - Falls back to the raw repository string when no special classification matches.