pulp_rpm_client 3.35.2 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentAdvisoriesApi.md +2 -0
- data/docs/ContentPackagesApi.md +8 -2
- data/docs/Copy.md +3 -1
- data/docs/PatchedrpmRpmDistribution.md +2 -0
- data/docs/PatchedrpmRpmRepository.md +4 -2
- data/docs/RepositoriesRpmApi.md +18 -2
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/docs/RpmModulemd.md +2 -0
- data/docs/RpmModulemdDefaults.md +2 -0
- data/docs/RpmModulemdObsolete.md +2 -0
- data/docs/RpmPackageResponse.md +3 -1
- data/docs/RpmRpmDistribution.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +4 -0
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +1 -1
- data/docs/RpmRpmRepository.md +4 -2
- data/docs/RpmRpmRepositoryResponse.md +4 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +12 -3
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +27 -3
- data/lib/pulp_rpm_client/models/copy.rb +16 -4
- data/lib/pulp_rpm_client/models/layout_enum.rb +1 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +12 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +34 -8
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +17 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +12 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +22 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +34 -8
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +34 -8
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +4 -1
- data/spec/api/repositories_rpm_api_spec.rb +9 -1
- data/spec/models/copy_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
- data/spec/models/rpm_modulemd_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- metadata +78 -78
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21be49e01c8abb7be5cc477469562d5cb97fa0369e02f66e4957fbfd22520bc3
|
|
4
|
+
data.tar.gz: 2993b8eda5e8e78fc97ade5901388daa36a4f9991f308c38792a3aa284f17357
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f71bc57a0dffa9b791559a2e1d014ab3a3f609e16e260d5684263b859e781ad56d2ef24fe0df020194b83fdbbe31716a7c93038990eac005c2afbf42ac407ba3
|
|
7
|
+
data.tar.gz: 90c33f8c9376587f10bf0a1f9f119e55bf55f02bf631c443b20a41bebcabb9a993475470d6e7f14dd35abf067c58ea89f8489d6b640620d0f71dbfc57a0549db
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.37.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_rpm_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_rpm_client-3.
|
|
28
|
+
gem install ./pulp_rpm_client-3.37.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.37.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_rpm_client', '~> 3.
|
|
37
|
+
gem 'pulp_rpm_client', '~> 3.37.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -35,6 +35,7 @@ api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
41
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
@@ -75,6 +76,7 @@ end
|
|
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
|
76
77
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
77
78
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
79
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
78
80
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
79
81
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
80
82
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -36,6 +36,7 @@ api_instance = PulpRpmClient::ContentPackagesApi.new
|
|
|
36
36
|
opts = {
|
|
37
37
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
38
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
39
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
39
40
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
41
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
42
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
|
@@ -78,6 +79,7 @@ end
|
|
|
78
79
|
| ---- | ---- | ----------- | ----- |
|
|
79
80
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
81
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
82
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
81
83
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
84
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
83
85
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
|
@@ -142,7 +144,7 @@ opts = {
|
|
|
142
144
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
|
143
145
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
144
146
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
145
|
-
ordering: ['-arch'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
147
|
+
ordering: ['-arch'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
146
148
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
147
149
|
pkg_id: 'pkg_id_example', # String | Filter results where pkgId matches value
|
|
148
150
|
pkg_id__in: ['inner_example'], # Array<String> | Filter results where pkgId is in a comma-separated list of values
|
|
@@ -160,6 +162,7 @@ opts = {
|
|
|
160
162
|
repository_version_added: 'repository_version_added_example', # String |
|
|
161
163
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
162
164
|
sha256: 'sha256_example', # String |
|
|
165
|
+
signing_key: 'signing_key_example', # String |
|
|
163
166
|
version: 'version_example', # String | Filter results where version matches value
|
|
164
167
|
version__in: ['inner_example'], # Array<String> | Filter results where version is in a comma-separated list of values
|
|
165
168
|
version__ne: 'version__ne_example', # String | Filter results where version not equal to value
|
|
@@ -218,7 +221,7 @@ end
|
|
|
218
221
|
| **name__ne** | **String** | Filter results where name not equal to value | [optional] |
|
|
219
222
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
220
223
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
221
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
224
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
222
225
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
223
226
|
| **pkg_id** | **String** | Filter results where pkgId matches value | [optional] |
|
|
224
227
|
| **pkg_id__in** | [**Array<String>**](String.md) | Filter results where pkgId is in a comma-separated list of values | [optional] |
|
|
@@ -236,6 +239,7 @@ end
|
|
|
236
239
|
| **repository_version_added** | **String** | | [optional] |
|
|
237
240
|
| **repository_version_removed** | **String** | | [optional] |
|
|
238
241
|
| **sha256** | **String** | | [optional] |
|
|
242
|
+
| **signing_key** | **String** | | [optional] |
|
|
239
243
|
| **version** | **String** | Filter results where version matches value | [optional] |
|
|
240
244
|
| **version__in** | [**Array<String>**](String.md) | Filter results where version is in a comma-separated list of values | [optional] |
|
|
241
245
|
| **version__ne** | **String** | Filter results where version not equal to value | [optional] |
|
|
@@ -509,6 +513,7 @@ end
|
|
|
509
513
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
|
510
514
|
opts = {
|
|
511
515
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
516
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
512
517
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
513
518
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
514
519
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
@@ -549,6 +554,7 @@ end
|
|
|
549
554
|
| Name | Type | Description | Notes |
|
|
550
555
|
| ---- | ---- | ----------- | ----- |
|
|
551
556
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
557
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
552
558
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
553
559
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
554
560
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
data/docs/Copy.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **config** | **Object** | Content to be copied into the given destinations from the given sources. Its a list of dictionaries with the following available fields: ```json [ { \"source_repo_version\": <RepositoryVersion [pulp_href|prn]>, \"dest_repo\": <RpmRepository [pulp_href|prn]>, \"dest_base_version\": <int>, \"content\": [<Content [pulp_href|prn]>, ...] }, ... ] ``` If domains are enabled, the refered pulp objects must be part of the current domain. For usage examples, refer to the advanced copy guide: <https://pulpproject.org/pulp_rpm/docs/user/guides/modify/#advanced-copy-workflow> | |
|
|
8
8
|
| **dependency_solving** | **Boolean** | Also copy dependencies of the content being copied. | [optional][default to true] |
|
|
9
|
+
| **dependency_upgrade** | **Boolean** | Resolve dependencies to their latest compatible versions instead of preferring versions already in the destination. | [optional][default to false] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,7 +15,8 @@ require 'pulp_rpm_client'
|
|
|
14
15
|
|
|
15
16
|
instance = PulpRpmClient::Copy.new(
|
|
16
17
|
config: null,
|
|
17
|
-
dependency_solving: null
|
|
18
|
+
dependency_solving: null,
|
|
19
|
+
dependency_upgrade: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
22
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
|
15
16
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
@@ -26,6 +27,7 @@ instance = PulpRpmClient::PatchedrpmRpmDistribution.new(
|
|
|
26
27
|
pulp_labels: null,
|
|
27
28
|
name: null,
|
|
28
29
|
repository: null,
|
|
30
|
+
repository_version: null,
|
|
29
31
|
publication: null,
|
|
30
32
|
generate_repo_config: null,
|
|
31
33
|
checkpoint: null
|
|
@@ -8,16 +8,17 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
13
14
|
| **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
14
15
|
| **package_signing_service** | **String** | A reference to an associated package signing service. | [optional] |
|
|
15
|
-
| **package_signing_fingerprint** | **String** | The pubkey
|
|
16
|
+
| **package_signing_fingerprint** | **String** | The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. | [optional] |
|
|
16
17
|
| **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional] |
|
|
17
18
|
| **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
|
18
19
|
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
|
19
20
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none | [optional] |
|
|
20
|
-
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
|
|
21
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest | [optional] |
|
|
21
22
|
|
|
22
23
|
## Example
|
|
23
24
|
|
|
@@ -29,6 +30,7 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(
|
|
|
29
30
|
name: null,
|
|
30
31
|
description: null,
|
|
31
32
|
retain_repo_versions: null,
|
|
33
|
+
retain_checkpoints: null,
|
|
32
34
|
remote: null,
|
|
33
35
|
autopublish: null,
|
|
34
36
|
metadata_signing_service: null,
|
data/docs/RepositoriesRpmApi.md
CHANGED
|
@@ -279,13 +279,21 @@ opts = {
|
|
|
279
279
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
280
280
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
281
281
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
282
|
-
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
282
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
283
283
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
284
284
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
285
285
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
286
286
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
287
287
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
288
288
|
remote: 'remote_example', # String |
|
|
289
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
290
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
291
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
292
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
293
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
294
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
295
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
296
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
289
297
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
290
298
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
291
299
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -343,13 +351,21 @@ end
|
|
|
343
351
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
344
352
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
345
353
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
346
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
354
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
347
355
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
348
356
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
357
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
350
358
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
351
359
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
352
360
|
| **remote** | **String** | | [optional] |
|
|
361
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
362
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
363
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
364
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
365
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
366
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
367
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
368
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
353
369
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
354
370
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
355
371
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'pulp_rpm_client'
|
|
|
16
17
|
instance = PulpRpmClient::RepositoryAddRemoveContent.new(
|
|
17
18
|
add_content_units: null,
|
|
18
19
|
remove_content_units: null,
|
|
19
|
-
base_version: null
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
data/docs/RpmModulemd.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **name** | **String** | Modulemd name. | |
|
|
10
11
|
| **stream** | **String** | Stream name. | |
|
|
@@ -26,6 +27,7 @@ require 'pulp_rpm_client'
|
|
|
26
27
|
|
|
27
28
|
instance = PulpRpmClient::RpmModulemd.new(
|
|
28
29
|
repository: null,
|
|
30
|
+
overwrite: null,
|
|
29
31
|
pulp_labels: null,
|
|
30
32
|
name: null,
|
|
31
33
|
stream: null,
|
data/docs/RpmModulemdDefaults.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **_module** | **String** | Modulemd name. | |
|
|
10
11
|
| **stream** | **String** | Modulemd default stream. | |
|
|
@@ -18,6 +19,7 @@ require 'pulp_rpm_client'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpRpmClient::RpmModulemdDefaults.new(
|
|
20
21
|
repository: null,
|
|
22
|
+
overwrite: null,
|
|
21
23
|
pulp_labels: null,
|
|
22
24
|
_module: null,
|
|
23
25
|
stream: null,
|
data/docs/RpmModulemdObsolete.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **modified** | **String** | Obsolete modified time. | |
|
|
10
11
|
| **module_name** | **String** | Modulemd name. | |
|
|
@@ -24,6 +25,7 @@ require 'pulp_rpm_client'
|
|
|
24
25
|
|
|
25
26
|
instance = PulpRpmClient::RpmModulemdObsolete.new(
|
|
26
27
|
repository: null,
|
|
28
|
+
overwrite: null,
|
|
27
29
|
pulp_labels: null,
|
|
28
30
|
modified: null,
|
|
29
31
|
module_name: null,
|
data/docs/RpmPackageResponse.md
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
| **size_package** | **Integer** | Size, in bytes, of the package | [optional][readonly] |
|
|
54
54
|
| **time_build** | **Integer** | Time the package was built in seconds since the epoch | [optional][readonly] |
|
|
55
55
|
| **time_file** | **Integer** | The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. | [optional][readonly] |
|
|
56
|
+
| **signing_keys** | **Array<String>** | List of signing key fingerprints used to sign this package. | [optional][readonly] |
|
|
56
57
|
|
|
57
58
|
## Example
|
|
58
59
|
|
|
@@ -108,7 +109,8 @@ instance = PulpRpmClient::RpmPackageResponse.new(
|
|
|
108
109
|
size_installed: null,
|
|
109
110
|
size_package: null,
|
|
110
111
|
time_build: null,
|
|
111
|
-
time_file: null
|
|
112
|
+
time_file: null,
|
|
113
|
+
signing_keys: null
|
|
112
114
|
)
|
|
113
115
|
```
|
|
114
116
|
|
data/docs/RpmRpmDistribution.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
|
15
16
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
@@ -26,6 +27,7 @@ instance = PulpRpmClient::RpmRpmDistribution.new(
|
|
|
26
27
|
pulp_labels: null,
|
|
27
28
|
name: null,
|
|
28
29
|
repository: null,
|
|
30
|
+
repository_version: null,
|
|
29
31
|
publication: null,
|
|
30
32
|
generate_repo_config: null,
|
|
31
33
|
checkpoint: null
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
18
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
19
21
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
20
22
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
|
21
23
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
@@ -33,11 +35,13 @@ instance = PulpRpmClient::RpmRpmDistributionResponse.new(
|
|
|
33
35
|
base_path: null,
|
|
34
36
|
base_url: null,
|
|
35
37
|
content_guard: null,
|
|
38
|
+
content_guard_prn: null,
|
|
36
39
|
no_content_change_since: null,
|
|
37
40
|
hidden: null,
|
|
38
41
|
pulp_labels: null,
|
|
39
42
|
name: null,
|
|
40
43
|
repository: null,
|
|
44
|
+
repository_version: null,
|
|
41
45
|
publication: null,
|
|
42
46
|
generate_repo_config: null,
|
|
43
47
|
checkpoint: null
|
data/docs/RpmRpmPublication.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
|
11
11
|
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
|
12
12
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none | [optional] |
|
|
13
|
-
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
|
|
13
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest | [optional] |
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
| **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operational since pulp_rpm 3.25.0 release | [optional][readonly][default to false] |
|
|
20
20
|
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
|
21
21
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none | [optional] |
|
|
22
|
-
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
|
|
22
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest | [optional] |
|
|
23
23
|
|
|
24
24
|
## Example
|
|
25
25
|
|
data/docs/RpmRpmRepository.md
CHANGED
|
@@ -8,16 +8,17 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
13
14
|
| **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
14
15
|
| **package_signing_service** | **String** | A reference to an associated package signing service. | [optional] |
|
|
15
|
-
| **package_signing_fingerprint** | **String** | The pubkey
|
|
16
|
+
| **package_signing_fingerprint** | **String** | The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. | [optional] |
|
|
16
17
|
| **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional] |
|
|
17
18
|
| **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
|
18
19
|
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
|
19
20
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none | [optional] |
|
|
20
|
-
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
|
|
21
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest | [optional] |
|
|
21
22
|
|
|
22
23
|
## Example
|
|
23
24
|
|
|
@@ -29,6 +30,7 @@ instance = PulpRpmClient::RpmRpmRepository.new(
|
|
|
29
30
|
name: null,
|
|
30
31
|
description: null,
|
|
31
32
|
retain_repo_versions: null,
|
|
33
|
+
retain_checkpoints: null,
|
|
32
34
|
remote: null,
|
|
33
35
|
autopublish: null,
|
|
34
36
|
metadata_signing_service: null,
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
19
20
|
| **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
|
20
21
|
| **package_signing_service** | **String** | A reference to an associated package signing service. | [optional] |
|
|
21
|
-
| **package_signing_fingerprint** | **String** | The pubkey
|
|
22
|
+
| **package_signing_fingerprint** | **String** | The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. | [optional] |
|
|
22
23
|
| **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional] |
|
|
23
24
|
| **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
|
24
25
|
| **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | REMOVED: The checksum type to use for metadata. Not operational since pulp_rpm 3.30.0 release. Use 'checksum_type' instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional][readonly] |
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
| **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional][readonly][default to false] |
|
|
29
30
|
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
|
30
31
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none | [optional] |
|
|
31
|
-
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
|
|
32
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest | [optional] |
|
|
32
33
|
|
|
33
34
|
## Example
|
|
34
35
|
|
|
@@ -46,6 +47,7 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(
|
|
|
46
47
|
name: null,
|
|
47
48
|
description: null,
|
|
48
49
|
retain_repo_versions: null,
|
|
50
|
+
retain_checkpoints: null,
|
|
49
51
|
remote: null,
|
|
50
52
|
autopublish: null,
|
|
51
53
|
metadata_signing_service: null,
|
|
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -40,6 +41,7 @@ module PulpRpmClient
|
|
|
40
41
|
# @param [Hash] opts the optional parameters
|
|
41
42
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
44
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
43
45
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
44
46
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
45
47
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -74,6 +76,7 @@ module PulpRpmClient
|
|
|
74
76
|
# form parameters
|
|
75
77
|
form_params = opts[:form_params] || {}
|
|
76
78
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
79
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
77
80
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
78
81
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
79
82
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|