이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 76. repository-set


Manipulate repository sets on the server

Usage

# hammer repository-set [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

76.1. repository-set available-repositories

Get list of available repositories for the repository set

Usage

# hammer repository-set available-repositories [OPTIONS]
Copy to Clipboard Toggle word wrap

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

Expand
FIELDSALLDEFAULTTHIN

Name

x

x

x

Arch

x

x

 

Release

x

x

 

Registry name

x

x

 

Enabled

x

x

 

76.2. repository-set disable

Disable a repository from the set

Usage

# hammer repository-set disable [OPTIONS]
Copy to Clipboard Toggle word wrap

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

76.3. repository-set enable

Enable a repository from the set

Usage

# hammer repository-set enable [OPTIONS]
Copy to Clipboard Toggle word wrap

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

76.4. repository-set info

Get info about a repository set

Usage

# hammer repository-set <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

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

Expand
FIELDSALLDEFAULTTHIN

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

 

76.5. repository-set list

List repository sets.

Usage

# hammer repository-set <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

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
  • --repository-type ENUM – Limit content to Red Hat / custom Possible value(s): redhat, custom
  • --search VALUE – Search string
  • --status ENUM – Limit content to enabled / disabled / overridden Possible value(s): enabled, disabled, overridden
  • --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. Will be ignored if repository_type is supplied.
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Type

x

x

 

Name

x

x

x

Search and order fields

  • content_label – string
  • content_type – string
  • enabled_by_default – Values: true, false
  • label – string
  • name – string
  • path – string
  • product – string
  • product_id – integer
  • product_name – string
  • redhat – Values: true, false
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat