2.66.5. hammer repository list
List of enabled repositories
Usage: hammer repository <list|index> [OPTIONS] Options: --ansible-collection ANSIBLE_COLLECTION_NAME Name to search by --ansible-collection-id ANSIBLE_COLLECTION_ID Id of an ansible collection to find repositories that contain the ansible Collection --archived ARCHIVED Show archived repositories One of true/false, yes/no, 1/0. --available-for AVAILABLE_FOR Interpret specified object to return only Repositories that can be Associated with specified object. Only 'content_view' & 'content_view_version' are supported. --content-type CONTENT_TYPE Limit to only repositories of this type Possible value(s): 'docker', 'file', 'ostree', 'puppet', 'yum' --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID ID of a content view to show repositories in --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number --content-view-version-id CONTENT_VIEW_VERSION_ID ID of a content view version to show repositories in --deb DEB_NAME Name to search by --deb-id DEB_ID Id of a deb package to find repositories that contain the deb --description DESCRIPTION Description of the repository --environment ENVIRONMENT_NAME Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --lifecycle-environment-id instead) --erratum-id ERRATUM_ID Id of an erratum to find repositories that contain the erratum --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --file-id FILE_ID Id of a file to find repositories that contain the file --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --label LABEL Label of the repository --library LIBRARY Show repositories in Library and the default content view One of true/false, yes/no, 1/0. --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Lifecycle environment name to search by --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID --name NAME Name of the repository --order ORDER Sort field and order, eg. 'id DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID ID of an organization to show repositories in --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --ostree-branch OSTREE_BRANCH_NAME Name to search by --ostree-branch-id OSTREE_BRANCH_ID Id of an ostree branch to find repositories that contain that branch --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID ID of a product to show repositories of --rpm-id RPM_ID Id of a rpm package to find repositories that contain the rpm --search SEARCH Search string --with-content WITH_CONTENT Only repositories having at least one of the specified content type ex: rpm , erratum Possible value(s): 'docker_manifest', 'docker_manifest_list', 'docker_tag', 'docker_blob', 'file', 'ostree', 'puppet_module', 'rpm', 'modulemd', 'erratum', 'distribution', 'package_category', 'package_group', 'yum_repo_metadata_file', 'srpm' -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Product | x | x | Content Type | x | x | URL | x | x | -------------|-----|---------|----- Search / Order fields: container_repository_name string content_label string content_type string content_view_id integer description text distribution_arch string distribution_bootable boolean distribution_family string distribution_uuid string distribution_variant string distribution_version string label string name string product string product_id integer product_name string redhat Values: true, false
Usage:
hammer repository <list|index> [OPTIONS]
Options:
--ansible-collection ANSIBLE_COLLECTION_NAME Name to search by
--ansible-collection-id ANSIBLE_COLLECTION_ID Id of an ansible collection to find repositories that contain the ansible
Collection
--archived ARCHIVED Show archived repositories
One of true/false, yes/no, 1/0.
--available-for AVAILABLE_FOR Interpret specified object to return only Repositories that can be
Associated with specified object. Only 'content_view' &
'content_view_version' are supported.
--content-type CONTENT_TYPE Limit to only repositories of this type
Possible value(s): 'docker', 'file', 'ostree', 'puppet', 'yum'
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID ID of a content view to show repositories in
--content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
--content-view-version-id CONTENT_VIEW_VERSION_ID ID of a content view version to show repositories in
--deb DEB_NAME Name to search by
--deb-id DEB_ID Id of a deb package to find repositories that contain the deb
--description DESCRIPTION Description of the repository
--environment ENVIRONMENT_NAME Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
--environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--erratum-id ERRATUM_ID Id of an erratum to find repositories that contain the erratum
--fields FIELDS Show specified fields or predefined field sets only. (See below)
Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
JSON is acceptable and preferred way for complex parameters
--file-id FILE_ID Id of a file to find repositories that contain the file
--full-result FULL_RESULT Whether or not to show all results
One of true/false, yes/no, 1/0.
--label LABEL Label of the repository
--library LIBRARY Show repositories in Library and the default content view
One of true/false, yes/no, 1/0.
--lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Lifecycle environment name to search by
--lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
--name NAME Name of the repository
--order ORDER Sort field and order, eg. 'id DESC'
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID ID of an organization to show repositories in
--organization-label ORGANIZATION_LABEL Organization label to search by
--organization-title ORGANIZATION_TITLE Organization title
--ostree-branch OSTREE_BRANCH_NAME Name to search by
--ostree-branch-id OSTREE_BRANCH_ID Id of an ostree branch to find repositories that contain that branch
--page PAGE Page number, starting at 1
--per-page PER_PAGE Number of results per page to return
--product PRODUCT_NAME Product name to search by
--product-id PRODUCT_ID ID of a product to show repositories of
--rpm-id RPM_ID Id of a rpm package to find repositories that contain the rpm
--search SEARCH Search string
--with-content WITH_CONTENT Only repositories having at least one of the specified content type ex: rpm
, erratum
Possible value(s): 'docker_manifest', 'docker_manifest_list', 'docker_tag', 'docker_blob', 'file', 'ostree', 'puppet_module', 'rpm', 'modulemd', 'erratum', 'distribution', 'package_category', 'package_group', 'yum_repo_metadata_file', 'srpm'
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Product | x | x |
Content Type | x | x |
URL | x | x |
-------------|-----|---------|-----
Search / Order fields:
container_repository_name string
content_label string
content_type string
content_view_id integer
description text
distribution_arch string
distribution_bootable boolean
distribution_family string
distribution_uuid string
distribution_variant string
distribution_version string
label string
name string
product string
product_id integer
product_name string
redhat Values: true, false