Skip to content

Commit 671320f

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 5f7a580 commit 671320f

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

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

0 commit comments

Comments
 (0)