Bug 371661

Summary: rhn-manage-channel-internal output should be usable as input, too
Product: [Retired] Red Hat Network Reporter: James Bowes <jbowes>
Component: RHN/BackendAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Amy Owens <aowens>
Severity: low Docs Contact:
Priority: low    
Version: rhn500CC: bkearney, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: XPlanner-16306
Fixed In Version: 5.0.4.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-29 21:29:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 428082    
Bug Blocks: 427534, 427574    

Description James Bowes 2007-11-08 19:04:14 UTC
some of the columns come out as ids when they should be labels.

Comment 1 James Bowes 2008-01-03 15:19:07 UTC
To test:
  * get content management tools version 0.4.3 from brew:
http://brewweb.devel.redhat.com/brew/getfile?taskID=1092731&name=rhn-content-mgmt-0.4.3-1.noarch.rpm
  * dump the details of a channel into a file:
    rhn-manage-channel-internal --list --label rhel-i386-server-5 --user rhn-noc
> my-csv
    (enter password)
  * clean out the password prompt from the first line of the csv file.
  * modify a value in the csv file (say, the description)
  * use the csv to update the channel:
    rhn-manage-channel-internal --update --csv my-csv --commit --user rhn-noc
  * list the channel again to see that the details have been updated:
    rhn-manage-channel-internal --list --label rhel-i386-server-5