3.65. hammer repository-set


在服务器上操作存储库集

Usage:
    hammer repository-set [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 available-repositories        Get list of available repositories for the repository set
 disable                       Disable a repository from the set
 enable                        Enable a repository from the set
 info, show                    Get info about a repository set
 list, index                   List repository sets.

Options:
 -h, --help                    Print help

3.65.1. hammer repository-set available-repositories

获取存储库集的可用存储库列表

Usage:
    hammer repository-set available-repositories [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id NUMBER                   ID of the repository set
 --name VALUE                  Repository set name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --product VALUE               Product name to search by
 --product-id NUMBER           ID of a product to list repository sets from
 -h, --help                    Print help

Predefined field sets:
  --------------|-----|---------|-----
  FIELDS        | ALL | DEFAULT | THIN
  --------------|-----|---------|-----
  Name          | x   | x       | x
  Arch          | x   | x       |
  Release       | x   | x       |
  Registry name | x   | x       |
  Enabled       | x   | x       |
  --------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

3.65.2. hammer repository-set disable

从集合中禁用存储库

Usage:
    hammer repository-set disable [OPTIONS]

Options:
 --basearch VALUE              Basearch to disable
 --id NUMBER                   ID of the repository set to disable
 --name VALUE                  Repository set name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --product VALUE               Product name to search by
 --product-id NUMBER           ID of the product containing the repository set
 --releasever VALUE            Releasever to disable
 --repository VALUE            Repository name to search by
 --repository-id NUMBER        ID of the repository within the set to disable
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

3.65.3. hammer repository-set enable

从集合中启用存储库

Usage:
    hammer repository-set enable [OPTIONS]

Options:
 --basearch VALUE              Basearch to enable
 --id NUMBER                   ID of the repository set to enable
 --name VALUE                  Repository set name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --product VALUE               Product name to search by
 --product-id NUMBER           ID of the product containing the repository set
 --releasever VALUE            Releasever to enable
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

3.65.4. hammer repository-set info

获取有关存储库集的信息

Usage:
    hammer repository-set <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id NUMBER                   ID of the repository set
 --name VALUE                  Repository set name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --product VALUE               Product name to search by
 --product-id NUMBER           ID of a product to list repository sets from
 -h, --help                    Print help

Predefined field sets:
  --------------------------|-----|---------|-----
  FIELDS                    | ALL | DEFAULT | THIN
  --------------------------|-----|---------|-----
  Id                        | x   | x       | x
  Name                      | x   | x       | x
  Type                      | x   | x       |
  Url                       | x   | x       |
  Gpg key                   | x   | x       |
  Label                     | x   | x       |
  Enabled repositories/id   | x   | x       |
  Enabled repositories/name | x   | x       |
  --------------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

3.65.5. hammer repository-set list

列出存储库集合。

Usage:
    hammer repository-set <list|index> [OPTIONS]

Options:
 --activation-key VALUE             Activation key name to search by
 --activation-key-id NUMBER         Activation key identifier
 --content-access-mode-all BOOLEAN  Get all content available, not just that provided by subscriptions.
 --content-access-mode-env BOOLEAN  Limit content to just that available in the host's or activation key's content
                                    view version and lifecycle environment.
 --enabled BOOLEAN                  If true, only return repository sets that have been enabled. Defaults to false
 --fields LIST                      Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN              Whether or not to show all results
 --host VALUE                       Host name
 --host-id NUMBER                   Id of the host
 --name VALUE                       Repository set name to search on
 --order VALUE                      Sort field and order, eg. 'id DESC'
 --organization VALUE               Organization name to search by
 --organization-id NUMBER           Organization identifier
 --organization-label VALUE         Organization label to search by
 --organization-title VALUE         Organization title
 --page NUMBER                      Page number, starting at 1
 --per-page NUMBER                  Number of results per page to return
 --product VALUE                    Product name to search by
 --product-id NUMBER                ID of a product to list repository sets from
 --search VALUE                     Search string
 --with-active-subscription BOOLEAN If true, only return repository sets that are associated with an active
                                    subscriptions
 --with-custom BOOLEAN              If true, return custom repository sets along with redhat repos
 -h, --help                         Print help

Predefined field sets:
  -------|-----|---------|-----
  FIELDS | ALL | DEFAULT | THIN
  -------|-----|---------|-----
  Id     | x   | x       | x
  Type   | x   | x       |
  Name   | x   | x       | x
  -------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  content_label       string
  content_type        string
  enabled_by_default  Values: true, false
  label               string
  name                string
  path                string
  product_id          integer
  product_name        string
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.