Bug 743284 - RFE: Unable to edit details of channel through the api, although you can through the web ui
Summary: RFE: Unable to edit details of channel through the api, although you can thro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space16 spacewalk-rfe
TreeView+ depends on / blocked
 
Reported: 2011-10-04 13:39 UTC by lance dillon
Modified: 2011-12-22 16:51 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-12-22 16:51:18 UTC
Embargoed:


Attachments (Terms of Use)

Description lance dillon 2011-10-04 13:39:33 UTC
Description of problem:
There does not seem to be a way to edit the details of a channel (for example, gpg key information) that already exists through the api, although you can through the web ui.  The only api methods that seem to exist that can manage those are channel.software.clone and channel.software.create, and those don't edit current channels, they create new channels.

Comment 1 Tomas Lestach 2011-10-04 13:58:37 UTC
channel_map parameter of channel.software.setDetails contains also:
 string "gpg_key_url" - new channel gpg key url (optional)
 string "gpg_key_id" - new channel gpg key id (optional)
 string "gpg_key_fp" - new channel gpg key fingerprint (optional)

Looks implemented for me. Closing as CURRENTRELEASE.

Comment 2 lance dillon 2011-10-04 14:28:41 UTC
Thanks, I was only looking at the currently released version (1.5), not at the nightly (http://spacewalk.redhat.com/yum/nightly/RHEL/5/x86_64).  I will probably end up waiting for the official 1.6 release.

Thanks

Comment 3 Tomas Lestach 2011-10-04 15:06:31 UTC
Oh, I am sorry. I thought it's in Spacewalk 1.5. My fault.

This feature was implemented within Bug 662200.

Moving back to MODIFIED.

Comment 4 Milan Zázrivec 2011-12-22 16:51:18 UTC
Spacewalk 1.6 has been released.


Note You need to log in before you can comment on or make changes to this bug.