Skip to content

Commit e2f878d

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 77dbc4e commit e2f878d

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

632632
# unfortunately, this has to come at the end to resolve functions
633633
DIFFERS = [
634-
Differ("rpms", "Diff RPMs",
634+
Differ("rpms-rpm-ostree", "Diff RPMs using rpm-ostree",
635635
needs_ostree=OSTreeImport.FULL, function=diff_rpms_rpm_ostree_no_json),
636-
Differ("rpms-json", "Diff RPMs, output JSON",
636+
Differ("rpms-rpm-ostree-json", "Diff RPMs & Advisories using rpm-ostree, output JSON",
637637
needs_ostree=OSTreeImport.FULL, function=diff_rpms_rpm_ostree_json),
638-
Differ("rpms-commitmeta", "Diff rpms from commitmeta.json",
638+
Differ("rpms", "Diff rpms from commitmeta.json",
639639
needs_ostree=OSTreeImport.NO, function=diff_rpms_commitmeta_no_json),
640-
Differ("rpms-json-commitmeta", "Diff RPMS & Advisories from commitmeta.json, output JSON",
640+
Differ("rpms-json", "Diff RPMS & Advisories from commitmeta.json, output JSON",
641641
needs_ostree=OSTreeImport.NO, function=diff_rpms_commitmeta_json),
642642
Differ("source-control", "Diff config and COSA input commits",
643643
needs_ostree=OSTreeImport.NO, function=diff_source_control),

0 commit comments

Comments
 (0)