pulp_rpm_client 3.32.1 → 3.32.2
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/ContentModulemdsApi.md +1 -1
- data/docs/Copy.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +1 -1
- data/docs/RpmModulemdResponse.md +3 -3
- data/docs/RpmPackageCategoryResponse.md +3 -3
- data/docs/RpmPackageEnvironmentResponse.md +4 -4
- data/docs/RpmPackageGroupResponse.md +3 -3
- data/docs/RpmPackageLangpacksResponse.md +1 -1
- data/docs/RpmPackageResponse.md +10 -10
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +2 -2
- data/docs/RpmUpdateRecordResponse.md +2 -2
- data/lib/pulp_rpm_client/models/copy.rb +1 -0
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +2 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +15 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +19 -0
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +15 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +4 -4
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +15 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +15 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +19 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +20 -0
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +15 -0
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +15 -0
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f59102001fb0db2fd96d8ba6597fce4325160595cc347b11d715d7486c3aef
|
4
|
+
data.tar.gz: 8d012c524a57854b1d635a5e7f8bf9809fa4408a57e26f46b6d0d3a6132dd9a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b8563fdd41613daefe36bb9a96919d3f4ae3d1ee6016181491f995bcc3a58780c52ac5b4bf8d679d61cc0cdf68c5d25b762e2c10f3e61a0d74d7c03cf870ae
|
7
|
+
data.tar.gz: 19754dacc34db0e02d5fddc3d4df7849a6f4673461f41523c7d0b1d5bcd9224c5f9e8e1c27e7def2411c8f5fa0d68479887e79ec748aced3563c52e3050d2967
|
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.32.
|
10
|
+
- Package version: 3.32.2
|
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.32.
|
28
|
+
gem install ./pulp_rpm_client-3.32.2.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.32.
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.32.2.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.32.
|
37
|
+
gem 'pulp_rpm_client', '~> 3.32.2'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
data/docs/ContentModulemdsApi.md
CHANGED
@@ -32,7 +32,7 @@ PulpRpmClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
35
|
-
rpm_modulemd = PulpRpmClient::RpmModulemd.new({name: 'name_example', stream: 'stream_example', version: 'version_example', context: 'context_example', arch: 'arch_example', artifacts:
|
35
|
+
rpm_modulemd = PulpRpmClient::RpmModulemd.new({name: 'name_example', stream: 'stream_example', version: 'version_example', context: 'context_example', arch: 'arch_example', artifacts: 3.56, dependencies: 3.56, snippet: 'snippet_example', profiles: 3.56, description: 'description_example'}) # RpmModulemd |
|
36
36
|
opts = {
|
37
37
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
38
|
}
|
data/docs/Copy.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **config** | **Object** | | |
|
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
9
|
|
10
10
|
## Example
|
@@ -15,7 +15,7 @@
|
|
15
15
|
| **package_signing_fingerprint** | **String** | The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository. | [optional][default to ''] |
|
16
16
|
| **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
17
|
| **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
|
-
| **repo_config** | **Object** |
|
18
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
19
19
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
20
20
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
21
21
|
|
data/docs/RpmModulemd.md
CHANGED
@@ -12,11 +12,11 @@
|
|
12
12
|
| **static_context** | **Boolean** | Modulemd static-context flag. | [optional] |
|
13
13
|
| **context** | **String** | Modulemd context. | |
|
14
14
|
| **arch** | **String** | Modulemd architecture. | |
|
15
|
-
| **artifacts** |
|
16
|
-
| **dependencies** |
|
15
|
+
| **artifacts** | **Object** | Modulemd artifacts. | |
|
16
|
+
| **dependencies** | **Object** | Modulemd dependencies. | |
|
17
17
|
| **packages** | **Array<String>** | Modulemd artifacts' packages. | [optional] |
|
18
18
|
| **snippet** | **String** | Modulemd snippet | |
|
19
|
-
| **profiles** |
|
19
|
+
| **profiles** | **Object** | Modulemd profiles. | |
|
20
20
|
| **description** | **String** | Description of module. | |
|
21
21
|
|
22
22
|
## Example
|
data/docs/RpmModulemdDefaults.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
9
9
|
| **_module** | **String** | Modulemd name. | |
|
10
10
|
| **stream** | **String** | Modulemd default stream. | |
|
11
|
-
| **profiles** | **Object** |
|
11
|
+
| **profiles** | **Object** | Default profiles for modulemd streams. | |
|
12
12
|
| **snippet** | **String** | Modulemd default snippet | |
|
13
13
|
|
14
14
|
## Example
|
@@ -12,7 +12,7 @@
|
|
12
12
|
| **vuln_report** | **String** | | [optional][readonly] |
|
13
13
|
| **_module** | **String** | Modulemd name. | |
|
14
14
|
| **stream** | **String** | Modulemd default stream. | |
|
15
|
-
| **profiles** | **Object** |
|
15
|
+
| **profiles** | **Object** | Default profiles for modulemd streams. | |
|
16
16
|
|
17
17
|
## Example
|
18
18
|
|
data/docs/RpmModulemdResponse.md
CHANGED
@@ -16,10 +16,10 @@
|
|
16
16
|
| **static_context** | **Boolean** | Modulemd static-context flag. | [optional] |
|
17
17
|
| **context** | **String** | Modulemd context. | |
|
18
18
|
| **arch** | **String** | Modulemd architecture. | |
|
19
|
-
| **artifacts** |
|
20
|
-
| **dependencies** |
|
19
|
+
| **artifacts** | **Object** | Modulemd artifacts. | |
|
20
|
+
| **dependencies** | **Object** | Modulemd dependencies. | |
|
21
21
|
| **packages** | **Array<String>** | Modulemd artifacts' packages. | [optional] |
|
22
|
-
| **profiles** |
|
22
|
+
| **profiles** | **Object** | Modulemd profiles. | |
|
23
23
|
| **description** | **String** | Description of module. | |
|
24
24
|
|
25
25
|
## Example
|
@@ -14,9 +14,9 @@
|
|
14
14
|
| **name** | **String** | Category name. | |
|
15
15
|
| **description** | **String** | Category description. | |
|
16
16
|
| **display_order** | **Integer** | Category display order. | |
|
17
|
-
| **group_ids** |
|
18
|
-
| **desc_by_lang** |
|
19
|
-
| **name_by_lang** |
|
17
|
+
| **group_ids** | **Object** | Category group list. | |
|
18
|
+
| **desc_by_lang** | **Object** | Category description by language. | |
|
19
|
+
| **name_by_lang** | **Object** | Category name by language. | |
|
20
20
|
| **digest** | **String** | Category digest. | |
|
21
21
|
|
22
22
|
## Example
|
@@ -14,10 +14,10 @@
|
|
14
14
|
| **name** | **String** | Environment name. | |
|
15
15
|
| **description** | **String** | Environment description. | |
|
16
16
|
| **display_order** | **Integer** | Environment display order. | |
|
17
|
-
| **group_ids** |
|
18
|
-
| **option_ids** |
|
19
|
-
| **desc_by_lang** |
|
20
|
-
| **name_by_lang** |
|
17
|
+
| **group_ids** | **Object** | Environment group list. | |
|
18
|
+
| **option_ids** | **Object** | Environment option ids | |
|
19
|
+
| **desc_by_lang** | **Object** | Environment description by language. | |
|
20
|
+
| **name_by_lang** | **Object** | Environment name by language. | |
|
21
21
|
| **digest** | **String** | Environment digest. | |
|
22
22
|
|
23
23
|
## Example
|
@@ -16,10 +16,10 @@
|
|
16
16
|
| **display_order** | **Integer** | PackageGroup display order. | |
|
17
17
|
| **name** | **String** | PackageGroup name. | |
|
18
18
|
| **description** | **String** | PackageGroup description. | |
|
19
|
-
| **packages** |
|
19
|
+
| **packages** | **Object** | PackageGroup package list. | |
|
20
20
|
| **biarch_only** | **Boolean** | PackageGroup biarch only. | [optional] |
|
21
|
-
| **desc_by_lang** |
|
22
|
-
| **name_by_lang** |
|
21
|
+
| **desc_by_lang** | **Object** | PackageGroup description by language. | |
|
22
|
+
| **name_by_lang** | **Object** | PackageGroup name by language. | |
|
23
23
|
| **digest** | **String** | PackageGroup digest. | |
|
24
24
|
|
25
25
|
## Example
|
@@ -10,7 +10,7 @@
|
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
12
|
| **vuln_report** | **String** | | [optional][readonly] |
|
13
|
-
| **matches** |
|
13
|
+
| **matches** | **Object** | Langpacks matches. | |
|
14
14
|
| **digest** | **String** | Langpacks digest. | |
|
15
15
|
|
16
16
|
## Example
|
data/docs/RpmPackageResponse.md
CHANGED
@@ -27,16 +27,16 @@
|
|
27
27
|
| **summary** | **String** | Short description of the packaged software | [optional][readonly] |
|
28
28
|
| **description** | **String** | In-depth description of the packaged software | [optional][readonly] |
|
29
29
|
| **url** | **String** | URL with more information about the packaged software | [optional][readonly] |
|
30
|
-
| **changelogs** | **Object** |
|
31
|
-
| **files** | **Object** |
|
32
|
-
| **requires** | **Object** |
|
33
|
-
| **provides** | **Object** |
|
34
|
-
| **conflicts** | **Object** |
|
35
|
-
| **obsoletes** | **Object** |
|
36
|
-
| **suggests** | **Object** |
|
37
|
-
| **enhances** | **Object** |
|
38
|
-
| **recommends** | **Object** |
|
39
|
-
| **supplements** | **Object** |
|
30
|
+
| **changelogs** | **Object** | Changelogs that package contains | [optional][readonly] |
|
31
|
+
| **files** | **Object** | Files that package contains | [optional][readonly] |
|
32
|
+
| **requires** | **Object** | Capabilities the package requires | [optional][readonly] |
|
33
|
+
| **provides** | **Object** | Capabilities the package provides | [optional][readonly] |
|
34
|
+
| **conflicts** | **Object** | Capabilities the package conflicts | [optional][readonly] |
|
35
|
+
| **obsoletes** | **Object** | Capabilities the package obsoletes | [optional][readonly] |
|
36
|
+
| **suggests** | **Object** | Capabilities the package suggests | [optional][readonly] |
|
37
|
+
| **enhances** | **Object** | Capabilities the package enhances | [optional][readonly] |
|
38
|
+
| **recommends** | **Object** | Capabilities the package recommends | [optional][readonly] |
|
39
|
+
| **supplements** | **Object** | Capabilities the package supplements | [optional][readonly] |
|
40
40
|
| **location_base** | **String** | DEPRECATED: Base location of this package. This field will be removed in a future release of pulp_rpm. | [optional][readonly] |
|
41
41
|
| **location_href** | **String** | DEPRECATED: Relative location of package to the repodata. This field will be removed in a future release of pulp_rpm. | [optional][readonly] |
|
42
42
|
| **rpm_buildhost** | **String** | Hostname of the system that built the package | [optional][readonly] |
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
9
9
|
| **checkpoint** | **Boolean** | | [optional] |
|
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
|
-
| **repo_config** | **Object** |
|
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 | [optional] |
|
13
13
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
14
14
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
| **gpgcheck** | **Integer** | REMOVED: An option specifying whether a client should perform a GPG signature check on packages. Not operational since pulp_rpm 3.30.0 release. Set these values using 'repo_config' instead. | [optional][readonly] |
|
18
18
|
| **repo_gpgcheck** | **Integer** | REMOVED: An option specifying whether a client should perform a GPG signature check on the repodata. Not operational since pulp_rpm 3.30.0 release. Set these values using 'repo_config' instead. | [optional][readonly] |
|
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
|
-
| **repo_config** | **Object** |
|
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 | [optional] |
|
22
22
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
23
23
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
25
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
26
26
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
27
|
-
| **hidden_fields** | [**Array<RpmRpmRemoteResponseHiddenFieldsInner>**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
27
|
+
| **hidden_fields** | [**Array<RpmRpmRemoteResponseHiddenFieldsInner>**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
28
28
|
| **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional] |
|
29
29
|
|
30
30
|
## Example
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
| **package_signing_fingerprint** | **String** | The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository. | [optional][default to ''] |
|
16
16
|
| **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
17
|
| **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
|
-
| **repo_config** | **Object** |
|
18
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
19
19
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
20
20
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
21
21
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
| **gpgcheck** | **Integer** | REMOVED: An option specifying whether a client should perform a GPG signature check on packages. Not operational since pulp_rpm 3.30.0 release. Set these values using 'repo_config' instead. | [optional][readonly] |
|
27
27
|
| **repo_gpgcheck** | **Integer** | REMOVED: An option specifying whether a client should perform a GPG signature check on the repodata. Not operational since pulp_rpm 3.30.0 release. Set these values using 'repo_config' instead. | [optional][readonly] |
|
28
28
|
| **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
|
-
| **repo_config** | **Object** |
|
29
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
30
30
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
31
31
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
32
32
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
25
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
26
26
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
27
|
-
| **hidden_fields** | [**Array<RpmRpmRemoteResponseHiddenFieldsInner>**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
27
|
+
| **hidden_fields** | [**Array<RpmRpmRemoteResponseHiddenFieldsInner>**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
28
28
|
| **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional] |
|
29
29
|
|
30
30
|
## Example
|
data/docs/RpmUpdateCollection.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | Collection name. | |
|
8
8
|
| **shortname** | **String** | Collection short name. | |
|
9
|
-
| **_module** |
|
9
|
+
| **_module** | **Object** | Collection modular NSVCA. | |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -6,8 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | Collection name. | |
|
8
8
|
| **shortname** | **String** | Collection short name. | |
|
9
|
-
| **_module** |
|
10
|
-
| **packages** | **Array<Object>** | List of packages | [optional] |
|
9
|
+
| **_module** | **Object** | Collection modular NSVCA. | |
|
10
|
+
| **packages** | **Array<Object>** | List of packages | [optional][readonly] |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -25,8 +25,8 @@
|
|
25
25
|
| **release** | **String** | Update release | [optional][readonly] |
|
26
26
|
| **rights** | **String** | Copyrights | [optional][readonly] |
|
27
27
|
| **pushcount** | **String** | Push count | [optional][readonly] |
|
28
|
-
| **pkglist** | [**Array<RpmUpdateCollectionResponse>**](RpmUpdateCollectionResponse.md) | List of packages | [optional] |
|
29
|
-
| **references** | **Array<Object>** | List of references | [optional] |
|
28
|
+
| **pkglist** | [**Array<RpmUpdateCollectionResponse>**](RpmUpdateCollectionResponse.md) | List of packages | [optional][readonly] |
|
29
|
+
| **references** | **Array<Object>** | List of references | [optional][readonly] |
|
30
30
|
| **reboot_suggested** | **Boolean** | Reboot suggested | [optional][readonly] |
|
31
31
|
|
32
32
|
## Example
|
@@ -16,6 +16,7 @@ require 'time'
|
|
16
16
|
module PulpRpmClient
|
17
17
|
# A serializer for Content Copy API.
|
18
18
|
class Copy
|
19
|
+
# 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>
|
19
20
|
attr_accessor :config
|
20
21
|
|
21
22
|
# Also copy dependencies of the content being copied.
|
@@ -339,6 +339,10 @@ module PulpRpmClient
|
|
339
339
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
340
340
|
end
|
341
341
|
|
342
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
343
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
344
|
+
end
|
345
|
+
|
342
346
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
343
347
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
344
348
|
end
|
@@ -376,6 +380,7 @@ module PulpRpmClient
|
|
376
380
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
377
381
|
return false if !@username.nil? && @username.to_s.length < 1
|
378
382
|
return false if !@password.nil? && @password.to_s.length < 1
|
383
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
379
384
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
380
385
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
381
386
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -492,6 +497,16 @@ module PulpRpmClient
|
|
492
497
|
@password = password
|
493
498
|
end
|
494
499
|
|
500
|
+
# Custom attribute writer method with validation
|
501
|
+
# @param [Object] download_concurrency Value to be assigned
|
502
|
+
def download_concurrency=(download_concurrency)
|
503
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
504
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
505
|
+
end
|
506
|
+
|
507
|
+
@download_concurrency = download_concurrency
|
508
|
+
end
|
509
|
+
|
495
510
|
# Custom attribute writer method with validation
|
496
511
|
# @param [Object] total_timeout Value to be assigned
|
497
512
|
def total_timeout=(total_timeout)
|
@@ -48,6 +48,7 @@ module PulpRpmClient
|
|
48
48
|
# The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
49
49
|
attr_accessor :checksum_type
|
50
50
|
|
51
|
+
# A JSON document describing the config.repo file Pulp should generate for this repo
|
51
52
|
attr_accessor :repo_config
|
52
53
|
|
53
54
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -131,7 +132,10 @@ module PulpRpmClient
|
|
131
132
|
:'remote',
|
132
133
|
:'metadata_signing_service',
|
133
134
|
:'package_signing_service',
|
135
|
+
:'checksum_type',
|
134
136
|
:'repo_config',
|
137
|
+
:'compression_type',
|
138
|
+
:'layout'
|
135
139
|
])
|
136
140
|
end
|
137
141
|
|
@@ -226,6 +230,10 @@ module PulpRpmClient
|
|
226
230
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
227
231
|
end
|
228
232
|
|
233
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
234
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
235
|
+
end
|
236
|
+
|
229
237
|
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
230
238
|
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
231
239
|
end
|
@@ -243,6 +251,7 @@ module PulpRpmClient
|
|
243
251
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
244
252
|
return false if !@name.nil? && @name.to_s.length < 1
|
245
253
|
return false if !@description.nil? && @description.to_s.length < 1
|
254
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
246
255
|
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
247
256
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
248
257
|
true
|
@@ -272,6 +281,16 @@ module PulpRpmClient
|
|
272
281
|
@description = description
|
273
282
|
end
|
274
283
|
|
284
|
+
# Custom attribute writer method with validation
|
285
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
286
|
+
def retain_repo_versions=(retain_repo_versions)
|
287
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
288
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
289
|
+
end
|
290
|
+
|
291
|
+
@retain_repo_versions = retain_repo_versions
|
292
|
+
end
|
293
|
+
|
275
294
|
# Custom attribute writer method with validation
|
276
295
|
# @param [Object] package_signing_fingerprint Value to be assigned
|
277
296
|
def package_signing_fingerprint=(package_signing_fingerprint)
|
@@ -337,6 +337,10 @@ module PulpRpmClient
|
|
337
337
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
338
338
|
end
|
339
339
|
|
340
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
341
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
342
|
+
end
|
343
|
+
|
340
344
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
341
345
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
342
346
|
end
|
@@ -374,6 +378,7 @@ module PulpRpmClient
|
|
374
378
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
375
379
|
return false if !@username.nil? && @username.to_s.length < 1
|
376
380
|
return false if !@password.nil? && @password.to_s.length < 1
|
381
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
377
382
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
378
383
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
379
384
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -498,6 +503,16 @@ module PulpRpmClient
|
|
498
503
|
@password = password
|
499
504
|
end
|
500
505
|
|
506
|
+
# Custom attribute writer method with validation
|
507
|
+
# @param [Object] download_concurrency Value to be assigned
|
508
|
+
def download_concurrency=(download_concurrency)
|
509
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
510
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
511
|
+
end
|
512
|
+
|
513
|
+
@download_concurrency = download_concurrency
|
514
|
+
end
|
515
|
+
|
501
516
|
# Custom attribute writer method with validation
|
502
517
|
# @param [Object] total_timeout Value to be assigned
|
503
518
|
def total_timeout=(total_timeout)
|
@@ -94,11 +94,11 @@ module PulpRpmClient
|
|
94
94
|
:'static_context' => :'Boolean',
|
95
95
|
:'context' => :'String',
|
96
96
|
:'arch' => :'String',
|
97
|
-
:'artifacts' => :'
|
98
|
-
:'dependencies' => :'
|
97
|
+
:'artifacts' => :'Object',
|
98
|
+
:'dependencies' => :'Object',
|
99
99
|
:'packages' => :'Array<String>',
|
100
100
|
:'snippet' => :'String',
|
101
|
-
:'profiles' => :'
|
101
|
+
:'profiles' => :'Object',
|
102
102
|
:'description' => :'String'
|
103
103
|
}
|
104
104
|
end
|
@@ -108,10 +108,10 @@ module PulpRpmClient
|
|
108
108
|
:'static_context' => :'Boolean',
|
109
109
|
:'context' => :'String',
|
110
110
|
:'arch' => :'String',
|
111
|
-
:'artifacts' => :'
|
112
|
-
:'dependencies' => :'
|
111
|
+
:'artifacts' => :'Object',
|
112
|
+
:'dependencies' => :'Object',
|
113
113
|
:'packages' => :'Array<String>',
|
114
|
-
:'profiles' => :'
|
114
|
+
:'profiles' => :'Object',
|
115
115
|
:'description' => :'String'
|
116
116
|
}
|
117
117
|
end
|
@@ -94,9 +94,9 @@ module PulpRpmClient
|
|
94
94
|
:'name' => :'String',
|
95
95
|
:'description' => :'String',
|
96
96
|
:'display_order' => :'Integer',
|
97
|
-
:'group_ids' => :'
|
98
|
-
:'desc_by_lang' => :'
|
99
|
-
:'name_by_lang' => :'
|
97
|
+
:'group_ids' => :'Object',
|
98
|
+
:'desc_by_lang' => :'Object',
|
99
|
+
:'name_by_lang' => :'Object',
|
100
100
|
:'digest' => :'String'
|
101
101
|
}
|
102
102
|
end
|
@@ -98,10 +98,10 @@ module PulpRpmClient
|
|
98
98
|
:'name' => :'String',
|
99
99
|
:'description' => :'String',
|
100
100
|
:'display_order' => :'Integer',
|
101
|
-
:'group_ids' => :'
|
102
|
-
:'option_ids' => :'
|
103
|
-
:'desc_by_lang' => :'
|
104
|
-
:'name_by_lang' => :'
|
101
|
+
:'group_ids' => :'Object',
|
102
|
+
:'option_ids' => :'Object',
|
103
|
+
:'desc_by_lang' => :'Object',
|
104
|
+
:'name_by_lang' => :'Object',
|
105
105
|
:'digest' => :'String'
|
106
106
|
}
|
107
107
|
end
|
@@ -108,10 +108,10 @@ module PulpRpmClient
|
|
108
108
|
:'display_order' => :'Integer',
|
109
109
|
:'name' => :'String',
|
110
110
|
:'description' => :'String',
|
111
|
-
:'packages' => :'
|
111
|
+
:'packages' => :'Object',
|
112
112
|
:'biarch_only' => :'Boolean',
|
113
|
-
:'desc_by_lang' => :'
|
114
|
-
:'name_by_lang' => :'
|
113
|
+
:'desc_by_lang' => :'Object',
|
114
|
+
:'name_by_lang' => :'Object',
|
115
115
|
:'digest' => :'String'
|
116
116
|
}
|
117
117
|
end
|
@@ -83,24 +83,34 @@ module PulpRpmClient
|
|
83
83
|
# URL with more information about the packaged software
|
84
84
|
attr_accessor :url
|
85
85
|
|
86
|
+
# Changelogs that package contains
|
86
87
|
attr_accessor :changelogs
|
87
88
|
|
89
|
+
# Files that package contains
|
88
90
|
attr_accessor :files
|
89
91
|
|
92
|
+
# Capabilities the package requires
|
90
93
|
attr_accessor :requires
|
91
94
|
|
95
|
+
# Capabilities the package provides
|
92
96
|
attr_accessor :provides
|
93
97
|
|
98
|
+
# Capabilities the package conflicts
|
94
99
|
attr_accessor :conflicts
|
95
100
|
|
101
|
+
# Capabilities the package obsoletes
|
96
102
|
attr_accessor :obsoletes
|
97
103
|
|
104
|
+
# Capabilities the package suggests
|
98
105
|
attr_accessor :suggests
|
99
106
|
|
107
|
+
# Capabilities the package enhances
|
100
108
|
attr_accessor :enhances
|
101
109
|
|
110
|
+
# Capabilities the package recommends
|
102
111
|
attr_accessor :recommends
|
103
112
|
|
113
|
+
# Capabilities the package supplements
|
104
114
|
attr_accessor :supplements
|
105
115
|
|
106
116
|
# DEPRECATED: Base location of this package. This field will be removed in a future release of pulp_rpm.
|
@@ -26,6 +26,7 @@ module PulpRpmClient
|
|
26
26
|
# The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
27
27
|
attr_accessor :checksum_type
|
28
28
|
|
29
|
+
# A JSON document describing the config.repo file Pulp should generate for this repo
|
29
30
|
attr_accessor :repo_config
|
30
31
|
|
31
32
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -91,6 +92,7 @@ module PulpRpmClient
|
|
91
92
|
def self.openapi_nullable
|
92
93
|
Set.new([
|
93
94
|
:'repo_config',
|
95
|
+
:'layout'
|
94
96
|
])
|
95
97
|
end
|
96
98
|
|
@@ -52,6 +52,7 @@ module PulpRpmClient
|
|
52
52
|
# REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operational since pulp_rpm 3.25.0 release
|
53
53
|
attr_accessor :sqlite_metadata
|
54
54
|
|
55
|
+
# A JSON document describing the config.repo file Pulp should generate for this repo
|
55
56
|
attr_accessor :repo_config
|
56
57
|
|
57
58
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -135,6 +136,7 @@ module PulpRpmClient
|
|
135
136
|
def self.openapi_nullable
|
136
137
|
Set.new([
|
137
138
|
:'repo_config',
|
139
|
+
:'layout'
|
138
140
|
])
|
139
141
|
end
|
140
142
|
|
@@ -351,6 +351,10 @@ module PulpRpmClient
|
|
351
351
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
352
352
|
end
|
353
353
|
|
354
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
355
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
356
|
+
end
|
357
|
+
|
354
358
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
355
359
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
356
360
|
end
|
@@ -390,6 +394,7 @@ module PulpRpmClient
|
|
390
394
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
391
395
|
return false if !@username.nil? && @username.to_s.length < 1
|
392
396
|
return false if !@password.nil? && @password.to_s.length < 1
|
397
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
393
398
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
394
399
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
395
400
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -506,6 +511,16 @@ module PulpRpmClient
|
|
506
511
|
@password = password
|
507
512
|
end
|
508
513
|
|
514
|
+
# Custom attribute writer method with validation
|
515
|
+
# @param [Object] download_concurrency Value to be assigned
|
516
|
+
def download_concurrency=(download_concurrency)
|
517
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
518
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
519
|
+
end
|
520
|
+
|
521
|
+
@download_concurrency = download_concurrency
|
522
|
+
end
|
523
|
+
|
509
524
|
# Custom attribute writer method with validation
|
510
525
|
# @param [Object] total_timeout Value to be assigned
|
511
526
|
def total_timeout=(total_timeout)
|
@@ -307,6 +307,10 @@ module PulpRpmClient
|
|
307
307
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
308
308
|
end
|
309
309
|
|
310
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
311
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
312
|
+
end
|
313
|
+
|
310
314
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
311
315
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
312
316
|
end
|
@@ -332,6 +336,7 @@ module PulpRpmClient
|
|
332
336
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
333
337
|
return false if @name.nil?
|
334
338
|
return false if @url.nil?
|
339
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
335
340
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
336
341
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
337
342
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -339,6 +344,16 @@ module PulpRpmClient
|
|
339
344
|
true
|
340
345
|
end
|
341
346
|
|
347
|
+
# Custom attribute writer method with validation
|
348
|
+
# @param [Object] download_concurrency Value to be assigned
|
349
|
+
def download_concurrency=(download_concurrency)
|
350
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
351
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
352
|
+
end
|
353
|
+
|
354
|
+
@download_concurrency = download_concurrency
|
355
|
+
end
|
356
|
+
|
342
357
|
# Custom attribute writer method with validation
|
343
358
|
# @param [Object] total_timeout Value to be assigned
|
344
359
|
def total_timeout=(total_timeout)
|
@@ -48,6 +48,7 @@ module PulpRpmClient
|
|
48
48
|
# The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
49
49
|
attr_accessor :checksum_type
|
50
50
|
|
51
|
+
# A JSON document describing the config.repo file Pulp should generate for this repo
|
51
52
|
attr_accessor :repo_config
|
52
53
|
|
53
54
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -131,7 +132,10 @@ module PulpRpmClient
|
|
131
132
|
:'remote',
|
132
133
|
:'metadata_signing_service',
|
133
134
|
:'package_signing_service',
|
135
|
+
:'checksum_type',
|
134
136
|
:'repo_config',
|
137
|
+
:'compression_type',
|
138
|
+
:'layout'
|
135
139
|
])
|
136
140
|
end
|
137
141
|
|
@@ -232,6 +236,10 @@ module PulpRpmClient
|
|
232
236
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
233
237
|
end
|
234
238
|
|
239
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
240
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
241
|
+
end
|
242
|
+
|
235
243
|
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
236
244
|
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
237
245
|
end
|
@@ -250,6 +258,7 @@ module PulpRpmClient
|
|
250
258
|
return false if @name.nil?
|
251
259
|
return false if @name.to_s.length < 1
|
252
260
|
return false if !@description.nil? && @description.to_s.length < 1
|
261
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
253
262
|
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
254
263
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
255
264
|
true
|
@@ -279,6 +288,16 @@ module PulpRpmClient
|
|
279
288
|
@description = description
|
280
289
|
end
|
281
290
|
|
291
|
+
# Custom attribute writer method with validation
|
292
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
293
|
+
def retain_repo_versions=(retain_repo_versions)
|
294
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
295
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
296
|
+
end
|
297
|
+
|
298
|
+
@retain_repo_versions = retain_repo_versions
|
299
|
+
end
|
300
|
+
|
282
301
|
# Custom attribute writer method with validation
|
283
302
|
# @param [Object] package_signing_fingerprint Value to be assigned
|
284
303
|
def package_signing_fingerprint=(package_signing_fingerprint)
|
@@ -78,6 +78,7 @@ module PulpRpmClient
|
|
78
78
|
# REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
|
79
79
|
attr_accessor :sqlite_metadata
|
80
80
|
|
81
|
+
# A JSON document describing the config.repo file Pulp should generate for this repo
|
81
82
|
attr_accessor :repo_config
|
82
83
|
|
83
84
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -183,7 +184,11 @@ module PulpRpmClient
|
|
183
184
|
:'remote',
|
184
185
|
:'metadata_signing_service',
|
185
186
|
:'package_signing_service',
|
187
|
+
:'checksum_type',
|
188
|
+
:'package_checksum_type',
|
186
189
|
:'repo_config',
|
190
|
+
:'compression_type',
|
191
|
+
:'layout'
|
187
192
|
])
|
188
193
|
end
|
189
194
|
|
@@ -322,6 +327,10 @@ module PulpRpmClient
|
|
322
327
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
323
328
|
end
|
324
329
|
|
330
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
331
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
332
|
+
end
|
333
|
+
|
325
334
|
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
326
335
|
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
327
336
|
end
|
@@ -354,6 +363,7 @@ module PulpRpmClient
|
|
354
363
|
def valid?
|
355
364
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
356
365
|
return false if @name.nil?
|
366
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
357
367
|
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
358
368
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
359
369
|
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
@@ -363,6 +373,16 @@ module PulpRpmClient
|
|
363
373
|
true
|
364
374
|
end
|
365
375
|
|
376
|
+
# Custom attribute writer method with validation
|
377
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
378
|
+
def retain_repo_versions=(retain_repo_versions)
|
379
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
380
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
381
|
+
end
|
382
|
+
|
383
|
+
@retain_repo_versions = retain_repo_versions
|
384
|
+
end
|
385
|
+
|
366
386
|
# Custom attribute writer method with validation
|
367
387
|
# @param [Object] package_signing_fingerprint Value to be assigned
|
368
388
|
def package_signing_fingerprint=(package_signing_fingerprint)
|
@@ -361,6 +361,10 @@ module PulpRpmClient
|
|
361
361
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
362
362
|
end
|
363
363
|
|
364
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
365
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
366
|
+
end
|
367
|
+
|
364
368
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
365
369
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
366
370
|
end
|
@@ -402,6 +406,7 @@ module PulpRpmClient
|
|
402
406
|
return false if @username.to_s.length < 1
|
403
407
|
return false if @password.nil?
|
404
408
|
return false if @password.to_s.length < 1
|
409
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
405
410
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
406
411
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
407
412
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -526,6 +531,16 @@ module PulpRpmClient
|
|
526
531
|
@password = password
|
527
532
|
end
|
528
533
|
|
534
|
+
# Custom attribute writer method with validation
|
535
|
+
# @param [Object] download_concurrency Value to be assigned
|
536
|
+
def download_concurrency=(download_concurrency)
|
537
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
538
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
539
|
+
end
|
540
|
+
|
541
|
+
@download_concurrency = download_concurrency
|
542
|
+
end
|
543
|
+
|
529
544
|
# Custom attribute writer method with validation
|
530
545
|
# @param [Object] total_timeout Value to be assigned
|
531
546
|
def total_timeout=(total_timeout)
|
@@ -307,6 +307,10 @@ module PulpRpmClient
|
|
307
307
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
308
308
|
end
|
309
309
|
|
310
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
311
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
312
|
+
end
|
313
|
+
|
310
314
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
311
315
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
312
316
|
end
|
@@ -332,6 +336,7 @@ module PulpRpmClient
|
|
332
336
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
333
337
|
return false if @name.nil?
|
334
338
|
return false if @url.nil?
|
339
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
335
340
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
336
341
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
337
342
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -339,6 +344,16 @@ module PulpRpmClient
|
|
339
344
|
true
|
340
345
|
end
|
341
346
|
|
347
|
+
# Custom attribute writer method with validation
|
348
|
+
# @param [Object] download_concurrency Value to be assigned
|
349
|
+
def download_concurrency=(download_concurrency)
|
350
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
351
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
352
|
+
end
|
353
|
+
|
354
|
+
@download_concurrency = download_concurrency
|
355
|
+
end
|
356
|
+
|
342
357
|
# Custom attribute writer method with validation
|
343
358
|
# @param [Object] total_timeout Value to be assigned
|
344
359
|
def total_timeout=(total_timeout)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.32.
|
4
|
+
version: 3.32.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|