Red Hat Bugzilla – Bug 80146
RFE: need a tool to nuke a channel from the DB
Last modified: 2007-07-31 15:07:46 EDT
The request came in to be able to delete a synced channel. Any channel.
This, ideally, would include removing the channel from the database,
removing any package or errata or any other meta-data that is unique to that
channel... and possibly (commandline option) blow away the rpm itself (if it is
unique of course).
Resolution: it's going to be a python script for satellite-1.1.1, and we'll push
some schema to make this easier for Titanl.
Adding to Titan Lite Point Release for web team to track.
Should be implemented in rhns-satellite-tools 18.104.22.168-7 (in the satellite
branch), plus the HEAD branch. It's called rmchannel.
RTFM for usage (yes it does have a man page). Needs testing badly, I tested it
myself but that's it.
rmchannel -c redhat-linux-i386-8.0 -c redhat-linux-i386-7.3
rmchannel -c redhat-linux-i386-8.0 -c redhat-linux-i386-7.3 --justdb
rmchannel -c redhat-linux-i386-8.0 -c redhat-linux-i386-7.3 --force
Wrong f*&^#ing tracking bug... moving to Satellite 1.1 Point
Looks good - closing.