pulp_rpm_client 3.23.0 → 3.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/{MetadataChecksumTypeEnum.md → CompressionTypeEnum.md} +2 -2
- data/docs/ContentAdvisoriesApi.md +4 -2
- data/docs/ContentPackagesApi.md +4 -4
- data/docs/PatchedrpmRpmRepository.md +10 -6
- data/docs/RpmPackage.md +2 -2
- data/docs/RpmRpmPublication.md +10 -6
- data/docs/RpmRpmPublicationResponse.md +12 -6
- data/docs/RpmRpmRepository.md +10 -6
- data/docs/RpmRpmRepositoryResponse.md +12 -6
- data/docs/RpmUpdateRecord.md +4 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -4
- data/lib/pulp_rpm_client/models/{metadata_checksum_type_enum.rb → compression_type_enum.rb} +5 -10
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +37 -19
- data/lib/pulp_rpm_client/models/rpm_package.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +35 -15
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +42 -10
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +37 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +44 -14
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +15 -5
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +2 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/models/{metadata_checksum_type_enum_spec.rb → compression_type_enum_spec.rb} +6 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +13 -1
- data/spec/models/rpm_rpm_publication_response_spec.rb +18 -0
- data/spec/models/rpm_rpm_publication_spec.rb +13 -1
- data/spec/models/rpm_rpm_repository_response_spec.rb +18 -0
- data/spec/models/rpm_rpm_repository_spec.rb +13 -1
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +86 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b54f6bef275d15e1ef554c6c50a130661047124ee2f9c5959c4977101ef4673
|
4
|
+
data.tar.gz: 14977bb58d43567565f9541729302938802c518bf31594e2b9103adb7eca0bd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93b6a2ad0395104e62e6efb0971c33db9cb1752a1d7aef34fb8de251a85194a390b9e246a2e6c597b1f00caa479c5f2314ce01f7b0d56e909e69e37d84440ab7
|
7
|
+
data.tar.gz: 940e3bd0e68b9cc8be62f0635e6573d6fd9db1b666d51001f2ffaa8d4f88cc4f07e2d9bb0a9ad0ff67b884d3995d973f17fabe776c5968e4a21559f455bdc117
|
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.25.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.
|
27
|
+
gem install ./pulp_rpm_client-3.25.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.25.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_rpm_client', '~> 3.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.25.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -194,11 +194,11 @@ Class | Method | HTTP request | Description
|
|
194
194
|
- [PulpRpmClient::ArtifactResponse](docs/ArtifactResponse.md)
|
195
195
|
- [PulpRpmClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
196
196
|
- [PulpRpmClient::ChecksumResponse](docs/ChecksumResponse.md)
|
197
|
+
- [PulpRpmClient::CompressionTypeEnum](docs/CompressionTypeEnum.md)
|
197
198
|
- [PulpRpmClient::CompsXml](docs/CompsXml.md)
|
198
199
|
- [PulpRpmClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
199
200
|
- [PulpRpmClient::Copy](docs/Copy.md)
|
200
201
|
- [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
|
201
|
-
- [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
|
202
202
|
- [PulpRpmClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
203
203
|
- [PulpRpmClient::NestedRole](docs/NestedRole.md)
|
204
204
|
- [PulpRpmClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::CompressionTypeEnum
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
```ruby
|
11
11
|
require 'PulpRpmClient'
|
12
12
|
|
13
|
-
instance = PulpRpmClient::
|
13
|
+
instance = PulpRpmClient::CompressionTypeEnum.new()
|
14
14
|
```
|
15
15
|
|
16
16
|
|
@@ -33,7 +33,8 @@ end
|
|
33
33
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
34
34
|
opts = {
|
35
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
file: File.new('/path/to/file') # File | An uploaded file that may be turned into the
|
36
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
37
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
37
38
|
}
|
38
39
|
|
39
40
|
begin
|
@@ -51,7 +52,8 @@ end
|
|
51
52
|
Name | Type | Description | Notes
|
52
53
|
------------- | ------------- | ------------- | -------------
|
53
54
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
54
|
-
**file** | **File**| An uploaded file that may be turned into the
|
55
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
56
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
55
57
|
|
56
58
|
### Return type
|
57
59
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -35,8 +35,8 @@ opts = {
|
|
35
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
37
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the
|
39
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the
|
38
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
|
|
56
56
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
57
57
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
58
58
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
59
|
-
**file** | **File**| An uploaded file that may be turned into the
|
60
|
-
**upload** | **String**| An uncommitted upload that may be turned into the
|
59
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
63
63
|
|
@@ -12,11 +12,13 @@ Name | Type | Description | Notes
|
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
13
13
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
14
14
|
**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]
|
15
|
-
**
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**
|
19
|
-
**
|
15
|
+
**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]
|
16
|
+
**metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
18
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
19
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
21
|
+
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
20
22
|
|
21
23
|
## Code Sample
|
22
24
|
|
@@ -31,11 +33,13 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
|
|
31
33
|
autopublish: null,
|
32
34
|
metadata_signing_service: null,
|
33
35
|
retain_package_versions: null,
|
36
|
+
checksum_type: null,
|
34
37
|
metadata_checksum_type: null,
|
35
38
|
package_checksum_type: null,
|
36
39
|
gpgcheck: null,
|
37
40
|
repo_gpgcheck: null,
|
38
|
-
|
41
|
+
repo_config: null,
|
42
|
+
compression_type: null)
|
39
43
|
```
|
40
44
|
|
41
45
|
|
data/docs/RpmPackage.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
10
|
-
**file** | **File** | An uploaded file that may be turned into the
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the
|
10
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -6,11 +6,13 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository_version** | **String** | | [optional]
|
8
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**
|
12
|
-
**
|
13
|
-
**
|
9
|
+
**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]
|
10
|
+
**metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
11
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
12
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
13
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
14
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
15
|
+
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
14
16
|
|
15
17
|
## Code Sample
|
16
18
|
|
@@ -19,11 +21,13 @@ require 'PulpRpmClient'
|
|
19
21
|
|
20
22
|
instance = PulpRpmClient::RpmRpmPublication.new(repository_version: null,
|
21
23
|
repository: null,
|
24
|
+
checksum_type: null,
|
22
25
|
metadata_checksum_type: null,
|
23
26
|
package_checksum_type: null,
|
24
27
|
gpgcheck: null,
|
25
28
|
repo_gpgcheck: null,
|
26
|
-
|
29
|
+
repo_config: null,
|
30
|
+
compression_type: null)
|
27
31
|
```
|
28
32
|
|
29
33
|
|
@@ -8,11 +8,14 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**repository_version** | **String** | | [optional]
|
10
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
|
-
**
|
12
|
-
**
|
13
|
-
**
|
14
|
-
**
|
15
|
-
**
|
11
|
+
**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]
|
12
|
+
**metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
13
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
14
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
15
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
16
|
+
**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]
|
17
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
18
|
+
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
16
19
|
|
17
20
|
## Code Sample
|
18
21
|
|
@@ -23,11 +26,14 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(pulp_href: null,
|
|
23
26
|
pulp_created: null,
|
24
27
|
repository_version: null,
|
25
28
|
repository: null,
|
29
|
+
checksum_type: null,
|
26
30
|
metadata_checksum_type: null,
|
27
31
|
package_checksum_type: null,
|
28
32
|
gpgcheck: null,
|
29
33
|
repo_gpgcheck: null,
|
30
|
-
sqlite_metadata: null
|
34
|
+
sqlite_metadata: null,
|
35
|
+
repo_config: null,
|
36
|
+
compression_type: null)
|
31
37
|
```
|
32
38
|
|
33
39
|
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -12,11 +12,13 @@ Name | Type | Description | Notes
|
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
13
13
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
14
14
|
**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]
|
15
|
-
**
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**
|
19
|
-
**
|
15
|
+
**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]
|
16
|
+
**metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
18
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
19
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
21
|
+
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
20
22
|
|
21
23
|
## Code Sample
|
22
24
|
|
@@ -31,11 +33,13 @@ instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
|
|
31
33
|
autopublish: null,
|
32
34
|
metadata_signing_service: null,
|
33
35
|
retain_package_versions: null,
|
36
|
+
checksum_type: null,
|
34
37
|
metadata_checksum_type: null,
|
35
38
|
package_checksum_type: null,
|
36
39
|
gpgcheck: null,
|
37
40
|
repo_gpgcheck: null,
|
38
|
-
|
41
|
+
repo_config: null,
|
42
|
+
compression_type: null)
|
39
43
|
```
|
40
44
|
|
41
45
|
|
@@ -16,11 +16,14 @@ Name | Type | Description | Notes
|
|
16
16
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
17
17
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
18
18
|
**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]
|
19
|
-
**
|
20
|
-
**
|
21
|
-
**
|
22
|
-
**
|
23
|
-
**
|
19
|
+
**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]
|
20
|
+
**metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
21
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
22
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
23
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
24
|
+
**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]
|
25
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
26
|
+
**compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional]
|
24
27
|
|
25
28
|
## Code Sample
|
26
29
|
|
@@ -39,11 +42,14 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
|
|
39
42
|
autopublish: null,
|
40
43
|
metadata_signing_service: null,
|
41
44
|
retain_package_versions: null,
|
45
|
+
checksum_type: null,
|
42
46
|
metadata_checksum_type: null,
|
43
47
|
package_checksum_type: null,
|
44
48
|
gpgcheck: null,
|
45
49
|
repo_gpgcheck: null,
|
46
|
-
sqlite_metadata: null
|
50
|
+
sqlite_metadata: null,
|
51
|
+
repo_config: null,
|
52
|
+
compression_type: null)
|
47
53
|
```
|
48
54
|
|
49
55
|
|
data/docs/RpmUpdateRecord.md
CHANGED
@@ -5,7 +5,8 @@
|
|
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
|
-
**file** | **File** | An uploaded file that may be turned into the
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
9
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpRpmClient'
|
14
15
|
|
15
16
|
instance = PulpRpmClient::RpmUpdateRecord.new(repository: null,
|
16
|
-
file: null
|
17
|
+
file: null,
|
18
|
+
upload: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
@@ -23,7 +23,8 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
26
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
27
28
|
# @return [AsyncOperationResponse]
|
28
29
|
def create(opts = {})
|
29
30
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -34,7 +35,8 @@ module PulpRpmClient
|
|
34
35
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
35
36
|
# @param [Hash] opts the optional parameters
|
36
37
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
37
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
38
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
39
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
38
40
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
41
|
def create_with_http_info(opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpRpmClient
|
|
57
59
|
form_params = opts[:form_params] || {}
|
58
60
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
59
61
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
62
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
60
63
|
|
61
64
|
# http body (model)
|
62
65
|
post_body = opts[:body]
|
@@ -25,8 +25,8 @@ module PulpRpmClient
|
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
29
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(opts = {})
|
32
32
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -39,8 +39,8 @@ module PulpRpmClient
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -13,14 +13,9 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
17
|
-
|
18
|
-
|
19
|
-
SHA1 = "sha1".freeze
|
20
|
-
SHA224 = "sha224".freeze
|
21
|
-
SHA256 = "sha256".freeze
|
22
|
-
SHA384 = "sha384".freeze
|
23
|
-
SHA512 = "sha512".freeze
|
16
|
+
class CompressionTypeEnum
|
17
|
+
ZSTD = "zstd".freeze
|
18
|
+
GZ = "gz".freeze
|
24
19
|
|
25
20
|
# Builds the enum from string
|
26
21
|
# @param [String] The enum value in the form of the string
|
@@ -33,8 +28,8 @@ module PulpRpmClient
|
|
33
28
|
# @param [String] The enum value in the form of the string
|
34
29
|
# @return [String] The enum value
|
35
30
|
def build_from_hash(value)
|
36
|
-
constantValues =
|
37
|
-
raise "Invalid ENUM value #{value} for class #
|
31
|
+
constantValues = CompressionTypeEnum.constants.select { |c| CompressionTypeEnum::const_get(c) == value }
|
32
|
+
raise "Invalid ENUM value #{value} for class #CompressionTypeEnum" if constantValues.empty?
|
38
33
|
value
|
39
34
|
end
|
40
35
|
end
|
@@ -38,20 +38,26 @@ module PulpRpmClient
|
|
38
38
|
# 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.
|
39
39
|
attr_accessor :retain_package_versions
|
40
40
|
|
41
|
-
# The checksum type
|
41
|
+
# The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
42
|
+
attr_accessor :checksum_type
|
43
|
+
|
44
|
+
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
42
45
|
attr_accessor :metadata_checksum_type
|
43
46
|
|
44
|
-
#
|
47
|
+
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
45
48
|
attr_accessor :package_checksum_type
|
46
49
|
|
47
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
50
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
48
51
|
attr_accessor :gpgcheck
|
49
52
|
|
50
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
53
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
51
54
|
attr_accessor :repo_gpgcheck
|
52
55
|
|
53
|
-
#
|
54
|
-
attr_accessor :
|
56
|
+
# A JSON document describing config.repo file
|
57
|
+
attr_accessor :repo_config
|
58
|
+
|
59
|
+
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
60
|
+
attr_accessor :compression_type
|
55
61
|
|
56
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
63
|
def self.attribute_map
|
@@ -64,11 +70,13 @@ module PulpRpmClient
|
|
64
70
|
:'autopublish' => :'autopublish',
|
65
71
|
:'metadata_signing_service' => :'metadata_signing_service',
|
66
72
|
:'retain_package_versions' => :'retain_package_versions',
|
73
|
+
:'checksum_type' => :'checksum_type',
|
67
74
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
68
75
|
:'package_checksum_type' => :'package_checksum_type',
|
69
76
|
:'gpgcheck' => :'gpgcheck',
|
70
77
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
71
|
-
:'
|
78
|
+
:'repo_config' => :'repo_config',
|
79
|
+
:'compression_type' => :'compression_type'
|
72
80
|
}
|
73
81
|
end
|
74
82
|
|
@@ -83,11 +91,13 @@ module PulpRpmClient
|
|
83
91
|
:'autopublish' => :'Boolean',
|
84
92
|
:'metadata_signing_service' => :'String',
|
85
93
|
:'retain_package_versions' => :'Integer',
|
86
|
-
:'
|
94
|
+
:'checksum_type' => :'PackageChecksumTypeEnum',
|
95
|
+
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
87
96
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
88
97
|
:'gpgcheck' => :'Integer',
|
89
98
|
:'repo_gpgcheck' => :'Integer',
|
90
|
-
:'
|
99
|
+
:'repo_config' => :'Object',
|
100
|
+
:'compression_type' => :'CompressionTypeEnum'
|
91
101
|
}
|
92
102
|
end
|
93
103
|
|
@@ -98,8 +108,12 @@ module PulpRpmClient
|
|
98
108
|
:'retain_repo_versions',
|
99
109
|
:'remote',
|
100
110
|
:'metadata_signing_service',
|
111
|
+
:'checksum_type',
|
101
112
|
:'metadata_checksum_type',
|
102
113
|
:'package_checksum_type',
|
114
|
+
:'gpgcheck',
|
115
|
+
:'repo_gpgcheck',
|
116
|
+
:'compression_type'
|
103
117
|
])
|
104
118
|
end
|
105
119
|
|
@@ -154,6 +168,10 @@ module PulpRpmClient
|
|
154
168
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
155
169
|
end
|
156
170
|
|
171
|
+
if attributes.key?(:'checksum_type')
|
172
|
+
self.checksum_type = attributes[:'checksum_type']
|
173
|
+
end
|
174
|
+
|
157
175
|
if attributes.key?(:'metadata_checksum_type')
|
158
176
|
self.metadata_checksum_type = attributes[:'metadata_checksum_type']
|
159
177
|
end
|
@@ -164,20 +182,18 @@ module PulpRpmClient
|
|
164
182
|
|
165
183
|
if attributes.key?(:'gpgcheck')
|
166
184
|
self.gpgcheck = attributes[:'gpgcheck']
|
167
|
-
else
|
168
|
-
self.gpgcheck = 0
|
169
185
|
end
|
170
186
|
|
171
187
|
if attributes.key?(:'repo_gpgcheck')
|
172
188
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
173
|
-
else
|
174
|
-
self.repo_gpgcheck = 0
|
175
189
|
end
|
176
190
|
|
177
|
-
if attributes.key?(:'
|
178
|
-
self.
|
179
|
-
|
180
|
-
|
191
|
+
if attributes.key?(:'repo_config')
|
192
|
+
self.repo_config = attributes[:'repo_config']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.key?(:'compression_type')
|
196
|
+
self.compression_type = attributes[:'compression_type']
|
181
197
|
end
|
182
198
|
end
|
183
199
|
|
@@ -315,11 +331,13 @@ module PulpRpmClient
|
|
315
331
|
autopublish == o.autopublish &&
|
316
332
|
metadata_signing_service == o.metadata_signing_service &&
|
317
333
|
retain_package_versions == o.retain_package_versions &&
|
334
|
+
checksum_type == o.checksum_type &&
|
318
335
|
metadata_checksum_type == o.metadata_checksum_type &&
|
319
336
|
package_checksum_type == o.package_checksum_type &&
|
320
337
|
gpgcheck == o.gpgcheck &&
|
321
338
|
repo_gpgcheck == o.repo_gpgcheck &&
|
322
|
-
|
339
|
+
repo_config == o.repo_config &&
|
340
|
+
compression_type == o.compression_type
|
323
341
|
end
|
324
342
|
|
325
343
|
# @see the `==` method
|
@@ -331,7 +349,7 @@ module PulpRpmClient
|
|
331
349
|
# Calculates hash code according to all attributes.
|
332
350
|
# @return [Integer] Hash code
|
333
351
|
def hash
|
334
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck,
|
352
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
335
353
|
end
|
336
354
|
|
337
355
|
# Builds the object from hash
|
@@ -24,10 +24,10 @@ module PulpRpmClient
|
|
24
24
|
# Path where the artifact is located relative to distributions base_path
|
25
25
|
attr_accessor :relative_path
|
26
26
|
|
27
|
-
# An uploaded file that may be turned into the
|
27
|
+
# An uploaded file that may be turned into the content unit.
|
28
28
|
attr_accessor :file
|
29
29
|
|
30
|
-
# An uncommitted upload that may be turned into the
|
30
|
+
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|