Project

General

Profile

Actions

Bug #12267

closed

Inconsistent output on hammer repository-set

Added by Bryan Kearney almost 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1235821
Description of problem:

Switching between tabulated and CSV output changes the ENABLED column form yes / no to true / false.

  1. hammer repository-set available-repositories --product "Red Hat Enterprise Linux Server" --name "Red Hat Enterprise Linux 6 Server (RPMs)" --organization-id 3
    ------------------------------------------------------|--------|---------|--------
    NAME | ARCH | RELEASE | ENABLED
    ------------------------------------------------------|--------|---------|--------
    Red Hat Enterprise Linux 6 Server RPMs i386 6.1 | i386 | 6.1 | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.1 | x86_64 | 6.1 | no
    Red Hat Enterprise Linux 6 Server RPMs i386 6.2 | i386 | 6.2 | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.2 | x86_64 | 6.2 | no
    Red Hat Enterprise Linux 6 Server RPMs i386 6.3 | i386 | 6.3 | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.3 | x86_64 | 6.3 | no
    Red Hat Enterprise Linux 6 Server RPMs i386 6.4 | i386 | 6.4 | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.4 | x86_64 | 6.4 | no
    Red Hat Enterprise Linux 6 Server RPMs i386 6.5 | i386 | 6.5 | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.5 | x86_64 | 6.5 | no
    Red Hat Enterprise Linux 6 Server RPMs i386 6.6 | i386 | 6.6 | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.6 | x86_64 | 6.6 | no
    Red Hat Enterprise Linux 6 Server RPMs i386 6Server | i386 | 6Server | no
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server | x86_64 | 6Server | yes
    ------------------------------------------------------|--------|---------|--------

VS

  1. hammer --csv repository-set available-repositories --product "Red Hat Enterprise Linux Server" --name "Red Hat Enterprise Linux 6 Server (RPMs)" --organization-id 3
    Name,Arch,Release,Enabled
    Red Hat Enterprise Linux 6 Server RPMs i386 6.1,i386,6.1,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.1,x86_64,6.1,false
    Red Hat Enterprise Linux 6 Server RPMs i386 6.2,i386,6.2,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.2,x86_64,6.2,false
    Red Hat Enterprise Linux 6 Server RPMs i386 6.3,i386,6.3,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.3,x86_64,6.3,false
    Red Hat Enterprise Linux 6 Server RPMs i386 6.4,i386,6.4,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.4,x86_64,6.4,false
    Red Hat Enterprise Linux 6 Server RPMs i386 6.5,i386,6.5,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.5,x86_64,6.5,false
    Red Hat Enterprise Linux 6 Server RPMs i386 6.6,i386,6.6,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6.6,x86_64,6.6,false
    Red Hat Enterprise Linux 6 Server RPMs i386 6Server,i386,6Server,false
    Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server,x86_64,6Server,true

Version-Release number of selected component (if applicable):

6.1 public beta.

How reproducible:

Always.

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Tracker #14914: Tracker for output related issuesClosed

Actions
Actions

Also available in: Atom PDF