Skip to content

Commit a6b67c8

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 891c3f4 commit a6b67c8

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
@@ -624,13 +624,13 @@ def cache_dir(dir):
624624

625625
# unfortunately, this has to come at the end to resolve functions
626626
DIFFERS = [
627-
Differ("rpms", "Diff RPMs",
627+
Differ("rpms-rpm-ostree", "Diff RPMs using rpm-ostree",
628628
needs_ostree=OSTreeImport.FULL, function=diff_rpms_rpm_ostree_no_json),
629-
Differ("rpms-json", "Diff RPMs, output JSON",
629+
Differ("rpms-rpm-ostree-json", "Diff RPMs & Advisories using rpm-ostree, output JSON",
630630
needs_ostree=OSTreeImport.FULL, function=diff_rpms_rpm_ostree_json),
631-
Differ("rpms-commitmeta", "Diff rpms from commitmeta.json",
631+
Differ("rpms", "Diff rpms from commitmeta.json",
632632
needs_ostree=OSTreeImport.NO, function=diff_rpms_commitmeta_no_json),
633-
Differ("rpms-json-commitmeta", "Diff RPMS & Advisories from commitmeta.json, output JSON",
633+
Differ("rpms-json", "Diff RPMS & Advisories from commitmeta.json, output JSON",
634634
needs_ostree=OSTreeImport.NO, function=diff_rpms_commitmeta_json),
635635
Differ("source-control", "Diff config and COSA input commits",
636636
needs_ostree=OSTreeImport.NO, function=diff_source_control),

0 commit comments

Comments
 (0)