fn named_selection_signature( selected: &BTreeMap<String, PackageSummary>, ) -> Vec<(String, PackageId)>