Skip to main content

Usage

anaconda repo channel (--list | --create <CHANNEL> | --remove <CHANNEL> | --show <CHANNEL> | --list-packages <CHANNEL> [ ... ] | --history <CHANNEL> | --package-changes <CHANNEL> | --lock <CHANNEL> | --soft-lock <CHANNEL> | --unlock <CHANNEL> | --freeze <CHANNEL> | --unfreeze <CHANNEL>) [-o <#>] [-l <#>] [--full-details]
Replace <CHANNEL> with the channel name, or <CHANNEL>/<SUBCHANNEL> for a subchannel. Use exactly one of the action options (such as —list, —create, —show).
Replace <#> with a number for --offset (-o) or --limit (-l).

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

Option
Default
Description
--list
List all channels for the user
--create <CHANNEL>
Create a new channel
--remove <CHANNEL>
Remove a channel
--show <CHANNEL>
Show information about the channel
--list-packages <CHANNEL> [ ... ]
List packages in one or more channels
--history <CHANNEL>
Show historical events for the channel
--package-changes <CHANNEL>
Show package addition/removal history
--lock <CHANNEL>
Lock channel (make private)
--soft-lock <CHANNEL>
Soft-lock (authenticated users only)
--unlock <CHANNEL>
Unlock channel (make public)
--freeze <CHANNEL>
Freeze channel (prevent indexing updates)
--unfreeze <CHANNEL>
Unfreeze channel (allow indexing updates)
-o, --offset <#>
0
Offset when displaying results
-l, --limit <#>
50
Limit when displaying results
--full-details
Show full details (for example, for list-packages, show)
-h, --help
Show help for this command

Examples

List your channels
anaconda repo channel --list
Create a new channel
anaconda repo channel --create <CHANNEL>
Replace <CHANNEL> with a name for the channel you want to create.
Show channel details
anaconda repo channel --show <CHANNEL> --full-details
Replace <CHANNEL> with the name of the channel you want to view details for.
List packages in a channel
anaconda repo channel --list-packages <CHANNEL> 
Replace <CHANNEL> with the name of the channel you want to view packages for.
Make a channel private
anaconda repo channel --lock <CHANNEL>
Replace <CHANNEL> with the name of the channel you want to make private.
Freeze a channel (stop indexing updates)
anaconda repo channel --freeze <CHANNEL>
Replace <CHANNEL> with the name of the channel you want to freeze.
Show history for a channel
anaconda repo channel --history <CHANNEL>
Replace <CHANNEL> with the name of the channel you want to view history for.
Show package changes for a channel
anaconda repo channel --package-changes <CHANNEL>
Replace <CHANNEL> with the name of the channel you want to view package changes for.

Subchannel examples

Create a subchannel within an existing channel
anaconda repo channel --create <CHANNEL>/<SUBCHANNEL>
Replace <CHANNEL> with the name of the channel you want to create a subchannel in, and <SUBCHANNEL> with the name of the subchannel you want to create.
Show subchannel details
anaconda repo channel --show <CHANNEL>/<SUBCHANNEL> --full-details
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to view details for, and <SUBCHANNEL> with the name of the subchannel you want to view details for.
List packages in a subchannel
anaconda repo channel --list-packages <CHANNEL>/<SUBCHANNEL>
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to list packages for, and <SUBCHANNEL> with the name of the subchannel you want to list packages for.
Lock a subchannel (make it private)
anaconda repo channel --lock <CHANNEL>/<SUBCHANNEL>
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to view details for, and <SUBCHANNEL> with the name of the subchannel you want to view details for.
Remove a subchannel
anaconda repo channel --remove <CHANNEL>/<SUBCHANNEL>
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to remove, and <SUBCHANNEL> with the name of the subchannel you want to remove.