Skip to content

Commit da70490

Browse files
committed
cmd-diff: promote commitmeta.json version of rpm diff
Since this version is more lightweight (doesn't require OSTree import) let's make is the primary one that gets called when someone does `cosa diff --rpms`.
1 parent ab7899e commit da70490

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cmd-diff

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,13 +625,13 @@ def cache_dir(dir):
625625

626626
# unfortunately, this has to come at the end to resolve functions
627627
DIFFERS = [
628-
Differ("rpms", "Diff RPMs",
628+
Differ("rpms-rpm-ostree", "Diff RPMs using rpm-ostree",
629629
needs_ostree=OSTreeImport.FULL, function=diff_rpms_rpm_ostree_no_json),
630-
Differ("rpms-json", "Diff RPMs, output JSON",
630+
Differ("rpms-rpm-ostree-json", "Diff RPMs & Advisories using rpm-ostree, output JSON",
631631
needs_ostree=OSTreeImport.FULL, function=diff_rpms_rpm_ostree_json),
632-
Differ("rpms-commitmeta", "Diff rpms from commitmeta.json",
632+
Differ("rpms", "Diff rpms from commitmeta.json",
633633
needs_ostree=OSTreeImport.NO, function=diff_rpms_commitmeta_no_json),
634-
Differ("rpms-json-commitmeta", "Diff RPMS & Advisories from commitmeta.json, output JSON",
634+
Differ("rpms-json", "Diff RPMS & Advisories from commitmeta.json, output JSON",
635635
needs_ostree=OSTreeImport.NO, function=diff_rpms_commitmeta_json),
636636
Differ("source-control", "Diff config and COSA input commits",
637637
needs_ostree=OSTreeImport.NO, function=diff_source_control),

0 commit comments

Comments
 (0)