Skip to main content

Usage

anaconda repo channel [OPTIONS]

Description

Manages repository channels and subchannels: list channels, create or remove a channel, show channel details, list packages or files, view history, and change privacy (lock/unlock) or indexing (freeze/unfreeze). Exactly one action must be specified.

Subchannels

A subchannel is a hierarchical division within an existing channel, referenced using the <CHANNEL>/<SUBCHANNEL> syntax. Subchannels operate independently from the parent channel—they can have their own mirroring configurations, privacy settings, and policies.
Most channel actions that accept a <CHANNEL> argument also work with subchannels by specifying the full path.

Options

Examples

List your channels
anaconda repo channel --list
Create a new channel
anaconda repo channel --create <CHANNEL>
Show channel details
anaconda repo channel --show <CHANNEL> --full-details
List packages in a channel
anaconda repo channel --list-packages <CHANNEL> 
Make a channel private
anaconda repo channel --lock <CHANNEL>
Freeze a channel (stop indexing updates)
anaconda repo channel --freeze <CHANNEL>
Show history for a channel
anaconda repo channel --history <CHANNEL>
Show package changes for a channel
anaconda repo channel --package-changes <CHANNEL>

Subchannel examples

Create a subchannel within an existing channel
anaconda repo channel --create <CHANNEL>/<SUBCHANNEL>
Show subchannel details
anaconda repo channel --show <CHANNEL>/<SUBCHANNEL> --full-details
List packages in a subchannel
anaconda repo channel --list-packages <CHANNEL>/<SUBCHANNEL>
Lock a subchannel (make it private)
anaconda repo channel --lock <CHANNEL>/<SUBCHANNEL>
Remove a subchannel
anaconda repo channel --remove <CHANNEL>/<SUBCHANNEL>