pulp_rpm_client 3.29.2 → 3.30.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/PatchedrpmRpmDistribution.md +3 -1
- data/docs/PatchedrpmRpmRepository.md +1 -9
- data/docs/RpmPackageResponse.md +2 -2
- data/docs/RpmRpmDistribution.md +3 -1
- data/docs/RpmRpmDistributionResponse.md +3 -1
- data/docs/RpmRpmPublication.md +3 -9
- data/docs/RpmRpmPublicationResponse.md +8 -6
- data/docs/RpmRpmRepository.md +1 -9
- data/docs/RpmRpmRepositoryResponse.md +5 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +13 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -94
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +11 -92
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -13
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -94
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +17 -12
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +0 -24
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +2 -20
- data/spec/models/rpm_rpm_repository_spec.rb +0 -24
- 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: 3f722a4ac538f4c08a56c1781b1f1f35c2d0d21d4b140cda3e8ace141ea7f981
|
4
|
+
data.tar.gz: c1da2073f26b66dad483588a1c0c413a66fc4d0a097cd08484764776cedcdf74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7de7a391aac83bc8340a4e2f863e8d83b97c6432dac754d3664d18f59f5263347c4c7fa5f7c406aaf701a0743f9d06a521d70359de82203783c2facc144374bc
|
7
|
+
data.tar.gz: 1334c7569e514623d02ab131418af203cbf63ebbfbb3891df146d231ace14283bb6498f3a70119da057aabc012a12ea4641d9267625edd72de239676dda429e7
|
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.30.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.30.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.30.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.30.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
14
14
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
15
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = PulpRpmClient::PatchedrpmRpmDistribution.new(
|
|
26
27
|
name: null,
|
27
28
|
repository: null,
|
28
29
|
publication: null,
|
29
|
-
generate_repo_config: null
|
30
|
+
generate_repo_config: null,
|
31
|
+
checkpoint: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -15,11 +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
|
-
| **
|
19
|
-
| **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] |
|
20
|
-
| **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] |
|
21
|
-
| **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] |
|
22
|
-
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
18
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
23
19
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
24
20
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
25
21
|
|
@@ -40,10 +36,6 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(
|
|
40
36
|
package_signing_fingerprint: null,
|
41
37
|
retain_package_versions: null,
|
42
38
|
checksum_type: null,
|
43
|
-
metadata_checksum_type: null,
|
44
|
-
package_checksum_type: null,
|
45
|
-
gpgcheck: null,
|
46
|
-
repo_gpgcheck: null,
|
47
39
|
repo_config: null,
|
48
40
|
compression_type: null,
|
49
41
|
layout: null
|
data/docs/RpmPackageResponse.md
CHANGED
@@ -36,8 +36,8 @@
|
|
36
36
|
| **enhances** | **Object** | Capabilities the package enhances | [optional][readonly] |
|
37
37
|
| **recommends** | **Object** | Capabilities the package recommends | [optional][readonly] |
|
38
38
|
| **supplements** | **Object** | Capabilities the package supplements | [optional][readonly] |
|
39
|
-
| **location_base** | **String** | Base location of this package | [optional][readonly] |
|
40
|
-
| **location_href** | **String** | Relative location of package to the repodata | [optional][readonly] |
|
39
|
+
| **location_base** | **String** | DEPRECATED: Base location of this package. This field will be removed in a future release of pulp_rpm. | [optional][readonly] |
|
40
|
+
| **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] |
|
41
41
|
| **rpm_buildhost** | **String** | Hostname of the system that built the package | [optional][readonly] |
|
42
42
|
| **rpm_group** | **String** | RPM group (See: http://fedoraproject.org/wiki/RPMGroups) | [optional][readonly] |
|
43
43
|
| **rpm_license** | **String** | License term applicable to the package software (GPLv2, etc.) | [optional][readonly] |
|
data/docs/RpmRpmDistribution.md
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
14
14
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
15
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = PulpRpmClient::RpmRpmDistribution.new(
|
|
26
27
|
name: null,
|
27
28
|
repository: null,
|
28
29
|
publication: null,
|
29
|
-
generate_repo_config: null
|
30
|
+
generate_repo_config: null,
|
31
|
+
checkpoint: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
19
19
|
| **publication** | **String** | Publication to be served | [optional] |
|
20
20
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
21
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
21
22
|
|
22
23
|
## Example
|
23
24
|
|
@@ -38,7 +39,8 @@ instance = PulpRpmClient::RpmRpmDistributionResponse.new(
|
|
38
39
|
name: null,
|
39
40
|
repository: null,
|
40
41
|
publication: null,
|
41
|
-
generate_repo_config: null
|
42
|
+
generate_repo_config: null,
|
43
|
+
checkpoint: null
|
42
44
|
)
|
43
45
|
```
|
44
46
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -6,12 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository_version** | **String** | | [optional] |
|
8
8
|
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
9
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
9
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] |
|
10
|
-
| **
|
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** | A JSON document describing config.repo file | [optional] |
|
11
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
15
12
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
16
13
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
17
14
|
|
@@ -23,11 +20,8 @@ require 'pulp_rpm_client'
|
|
23
20
|
instance = PulpRpmClient::RpmRpmPublication.new(
|
24
21
|
repository_version: null,
|
25
22
|
repository: null,
|
23
|
+
checkpoint: null,
|
26
24
|
checksum_type: null,
|
27
|
-
metadata_checksum_type: null,
|
28
|
-
package_checksum_type: null,
|
29
|
-
gpgcheck: null,
|
30
|
-
repo_gpgcheck: null,
|
31
25
|
repo_config: null,
|
32
26
|
compression_type: null,
|
33
27
|
layout: null
|
@@ -10,13 +10,14 @@
|
|
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
|
| **repository_version** | **String** | | [optional] |
|
12
12
|
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
13
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
13
14
|
| **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] |
|
14
|
-
| **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) |
|
15
|
-
| **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) |
|
16
|
-
| **gpgcheck** | **Integer** |
|
17
|
-
| **repo_gpgcheck** | **Integer** |
|
18
|
-
| **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not
|
19
|
-
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
15
|
+
| **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | REMOVED: The checksum type 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] |
|
16
|
+
| **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | REMOVED: The checksum type for packages. 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] |
|
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
|
+
| **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
|
+
| **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** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
20
21
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
21
22
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
22
23
|
|
@@ -32,6 +33,7 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(
|
|
32
33
|
pulp_last_updated: null,
|
33
34
|
repository_version: null,
|
34
35
|
repository: null,
|
36
|
+
checkpoint: null,
|
35
37
|
checksum_type: null,
|
36
38
|
metadata_checksum_type: null,
|
37
39
|
package_checksum_type: null,
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -15,11 +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
|
-
| **
|
19
|
-
| **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] |
|
20
|
-
| **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] |
|
21
|
-
| **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] |
|
22
|
-
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
18
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
23
19
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
24
20
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
25
21
|
|
@@ -40,10 +36,6 @@ instance = PulpRpmClient::RpmRpmRepository.new(
|
|
40
36
|
package_signing_fingerprint: null,
|
41
37
|
retain_package_versions: null,
|
42
38
|
checksum_type: null,
|
43
|
-
metadata_checksum_type: null,
|
44
|
-
package_checksum_type: null,
|
45
|
-
gpgcheck: null,
|
46
|
-
repo_gpgcheck: null,
|
47
39
|
repo_config: null,
|
48
40
|
compression_type: null,
|
49
41
|
layout: null
|
@@ -21,12 +21,12 @@
|
|
21
21
|
| **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 ''] |
|
22
22
|
| **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
23
|
| **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
|
-
| **metadata_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) |
|
25
|
-
| **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) |
|
26
|
-
| **gpgcheck** | **Integer** |
|
27
|
-
| **repo_gpgcheck** | **Integer** |
|
24
|
+
| **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] |
|
25
|
+
| **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | REMOVED: The checksum type for packages. 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] |
|
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
|
+
| **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** | A JSON document describing config.repo file | [optional] |
|
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
|
|
@@ -39,6 +39,8 @@ module PulpRpmClient
|
|
39
39
|
# An option specifying whether Pulp should generate *.repo files.
|
40
40
|
attr_accessor :generate_repo_config
|
41
41
|
|
42
|
+
attr_accessor :checkpoint
|
43
|
+
|
42
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
45
|
def self.attribute_map
|
44
46
|
{
|
@@ -49,7 +51,8 @@ module PulpRpmClient
|
|
49
51
|
:'name' => :'name',
|
50
52
|
:'repository' => :'repository',
|
51
53
|
:'publication' => :'publication',
|
52
|
-
:'generate_repo_config' => :'generate_repo_config'
|
54
|
+
:'generate_repo_config' => :'generate_repo_config',
|
55
|
+
:'checkpoint' => :'checkpoint'
|
53
56
|
}
|
54
57
|
end
|
55
58
|
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'name' => :'String',
|
69
72
|
:'repository' => :'String',
|
70
73
|
:'publication' => :'String',
|
71
|
-
:'generate_repo_config' => :'Boolean'
|
74
|
+
:'generate_repo_config' => :'Boolean',
|
75
|
+
:'checkpoint' => :'Boolean'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -133,6 +137,10 @@ module PulpRpmClient
|
|
133
137
|
else
|
134
138
|
self.generate_repo_config = false
|
135
139
|
end
|
140
|
+
|
141
|
+
if attributes.key?(:'checkpoint')
|
142
|
+
self.checkpoint = attributes[:'checkpoint']
|
143
|
+
end
|
136
144
|
end
|
137
145
|
|
138
146
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -200,7 +208,8 @@ module PulpRpmClient
|
|
200
208
|
name == o.name &&
|
201
209
|
repository == o.repository &&
|
202
210
|
publication == o.publication &&
|
203
|
-
generate_repo_config == o.generate_repo_config
|
211
|
+
generate_repo_config == o.generate_repo_config &&
|
212
|
+
checkpoint == o.checkpoint
|
204
213
|
end
|
205
214
|
|
206
215
|
# @see the `==` method
|
@@ -212,7 +221,7 @@ module PulpRpmClient
|
|
212
221
|
# Calculates hash code according to all attributes.
|
213
222
|
# @return [Integer] Hash code
|
214
223
|
def hash
|
215
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
224
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config, checkpoint].hash
|
216
225
|
end
|
217
226
|
|
218
227
|
# Builds the object from hash
|
@@ -48,19 +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
|
-
#
|
52
|
-
attr_accessor :metadata_checksum_type
|
53
|
-
|
54
|
-
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
55
|
-
attr_accessor :package_checksum_type
|
56
|
-
|
57
|
-
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
58
|
-
attr_accessor :gpgcheck
|
59
|
-
|
60
|
-
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
61
|
-
attr_accessor :repo_gpgcheck
|
62
|
-
|
63
|
-
# A JSON document describing config.repo file
|
51
|
+
# A JSON document describing the config.repo file Pulp should generate for this repo
|
64
52
|
attr_accessor :repo_config
|
65
53
|
|
66
54
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -105,10 +93,6 @@ module PulpRpmClient
|
|
105
93
|
:'package_signing_fingerprint' => :'package_signing_fingerprint',
|
106
94
|
:'retain_package_versions' => :'retain_package_versions',
|
107
95
|
:'checksum_type' => :'checksum_type',
|
108
|
-
:'metadata_checksum_type' => :'metadata_checksum_type',
|
109
|
-
:'package_checksum_type' => :'package_checksum_type',
|
110
|
-
:'gpgcheck' => :'gpgcheck',
|
111
|
-
:'repo_gpgcheck' => :'repo_gpgcheck',
|
112
96
|
:'repo_config' => :'repo_config',
|
113
97
|
:'compression_type' => :'compression_type',
|
114
98
|
:'layout' => :'layout'
|
@@ -134,10 +118,6 @@ module PulpRpmClient
|
|
134
118
|
:'package_signing_fingerprint' => :'String',
|
135
119
|
:'retain_package_versions' => :'Integer',
|
136
120
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
137
|
-
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
138
|
-
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
139
|
-
:'gpgcheck' => :'Integer',
|
140
|
-
:'repo_gpgcheck' => :'Integer',
|
141
121
|
:'repo_config' => :'Object',
|
142
122
|
:'compression_type' => :'CompressionTypeEnum',
|
143
123
|
:'layout' => :'LayoutEnum'
|
@@ -153,10 +133,6 @@ module PulpRpmClient
|
|
153
133
|
:'metadata_signing_service',
|
154
134
|
:'package_signing_service',
|
155
135
|
:'checksum_type',
|
156
|
-
:'metadata_checksum_type',
|
157
|
-
:'package_checksum_type',
|
158
|
-
:'gpgcheck',
|
159
|
-
:'repo_gpgcheck',
|
160
136
|
:'repo_config',
|
161
137
|
:'compression_type',
|
162
138
|
:'layout'
|
@@ -228,22 +204,6 @@ module PulpRpmClient
|
|
228
204
|
self.checksum_type = attributes[:'checksum_type']
|
229
205
|
end
|
230
206
|
|
231
|
-
if attributes.key?(:'metadata_checksum_type')
|
232
|
-
self.metadata_checksum_type = attributes[:'metadata_checksum_type']
|
233
|
-
end
|
234
|
-
|
235
|
-
if attributes.key?(:'package_checksum_type')
|
236
|
-
self.package_checksum_type = attributes[:'package_checksum_type']
|
237
|
-
end
|
238
|
-
|
239
|
-
if attributes.key?(:'gpgcheck')
|
240
|
-
self.gpgcheck = attributes[:'gpgcheck']
|
241
|
-
end
|
242
|
-
|
243
|
-
if attributes.key?(:'repo_gpgcheck')
|
244
|
-
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
245
|
-
end
|
246
|
-
|
247
207
|
if attributes.key?(:'repo_config')
|
248
208
|
self.repo_config = attributes[:'repo_config']
|
249
209
|
end
|
@@ -282,22 +242,6 @@ module PulpRpmClient
|
|
282
242
|
invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
|
283
243
|
end
|
284
244
|
|
285
|
-
if !@gpgcheck.nil? && @gpgcheck > 1
|
286
|
-
invalid_properties.push('invalid value for "gpgcheck", must be smaller than or equal to 1.')
|
287
|
-
end
|
288
|
-
|
289
|
-
if !@gpgcheck.nil? && @gpgcheck < 0
|
290
|
-
invalid_properties.push('invalid value for "gpgcheck", must be greater than or equal to 0.')
|
291
|
-
end
|
292
|
-
|
293
|
-
if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
|
294
|
-
invalid_properties.push('invalid value for "repo_gpgcheck", must be smaller than or equal to 1.')
|
295
|
-
end
|
296
|
-
|
297
|
-
if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
|
298
|
-
invalid_properties.push('invalid value for "repo_gpgcheck", must be greater than or equal to 0.')
|
299
|
-
end
|
300
|
-
|
301
245
|
invalid_properties
|
302
246
|
end
|
303
247
|
|
@@ -310,10 +254,6 @@ module PulpRpmClient
|
|
310
254
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
311
255
|
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
312
256
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
313
|
-
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
314
|
-
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
315
|
-
return false if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
|
316
|
-
return false if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
|
317
257
|
true
|
318
258
|
end
|
319
259
|
|
@@ -379,34 +319,6 @@ module PulpRpmClient
|
|
379
319
|
@retain_package_versions = retain_package_versions
|
380
320
|
end
|
381
321
|
|
382
|
-
# Custom attribute writer method with validation
|
383
|
-
# @param [Object] gpgcheck Value to be assigned
|
384
|
-
def gpgcheck=(gpgcheck)
|
385
|
-
if !gpgcheck.nil? && gpgcheck > 1
|
386
|
-
fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
|
387
|
-
end
|
388
|
-
|
389
|
-
if !gpgcheck.nil? && gpgcheck < 0
|
390
|
-
fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
|
391
|
-
end
|
392
|
-
|
393
|
-
@gpgcheck = gpgcheck
|
394
|
-
end
|
395
|
-
|
396
|
-
# Custom attribute writer method with validation
|
397
|
-
# @param [Object] repo_gpgcheck Value to be assigned
|
398
|
-
def repo_gpgcheck=(repo_gpgcheck)
|
399
|
-
if !repo_gpgcheck.nil? && repo_gpgcheck > 1
|
400
|
-
fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
|
401
|
-
end
|
402
|
-
|
403
|
-
if !repo_gpgcheck.nil? && repo_gpgcheck < 0
|
404
|
-
fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
|
405
|
-
end
|
406
|
-
|
407
|
-
@repo_gpgcheck = repo_gpgcheck
|
408
|
-
end
|
409
|
-
|
410
322
|
# Checks equality by comparing each attribute.
|
411
323
|
# @param [Object] Object to be compared
|
412
324
|
def ==(o)
|
@@ -423,10 +335,6 @@ module PulpRpmClient
|
|
423
335
|
package_signing_fingerprint == o.package_signing_fingerprint &&
|
424
336
|
retain_package_versions == o.retain_package_versions &&
|
425
337
|
checksum_type == o.checksum_type &&
|
426
|
-
metadata_checksum_type == o.metadata_checksum_type &&
|
427
|
-
package_checksum_type == o.package_checksum_type &&
|
428
|
-
gpgcheck == o.gpgcheck &&
|
429
|
-
repo_gpgcheck == o.repo_gpgcheck &&
|
430
338
|
repo_config == o.repo_config &&
|
431
339
|
compression_type == o.compression_type &&
|
432
340
|
layout == o.layout
|
@@ -441,7 +349,7 @@ module PulpRpmClient
|
|
441
349
|
# Calculates hash code according to all attributes.
|
442
350
|
# @return [Integer] Hash code
|
443
351
|
def hash
|
444
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type,
|
352
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout].hash
|
445
353
|
end
|
446
354
|
|
447
355
|
# Builds the object from hash
|
@@ -111,10 +111,10 @@ module PulpRpmClient
|
|
111
111
|
# Capabilities the package supplements
|
112
112
|
attr_accessor :supplements
|
113
113
|
|
114
|
-
# Base location of this package
|
114
|
+
# DEPRECATED: Base location of this package. This field will be removed in a future release of pulp_rpm.
|
115
115
|
attr_accessor :location_base
|
116
116
|
|
117
|
-
# Relative location of package to the repodata
|
117
|
+
# DEPRECATED: Relative location of package to the repodata. This field will be removed in a future release of pulp_rpm.
|
118
118
|
attr_accessor :location_href
|
119
119
|
|
120
120
|
# Hostname of the system that built the package
|
@@ -39,6 +39,8 @@ module PulpRpmClient
|
|
39
39
|
# An option specifying whether Pulp should generate *.repo files.
|
40
40
|
attr_accessor :generate_repo_config
|
41
41
|
|
42
|
+
attr_accessor :checkpoint
|
43
|
+
|
42
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
45
|
def self.attribute_map
|
44
46
|
{
|
@@ -49,7 +51,8 @@ module PulpRpmClient
|
|
49
51
|
:'name' => :'name',
|
50
52
|
:'repository' => :'repository',
|
51
53
|
:'publication' => :'publication',
|
52
|
-
:'generate_repo_config' => :'generate_repo_config'
|
54
|
+
:'generate_repo_config' => :'generate_repo_config',
|
55
|
+
:'checkpoint' => :'checkpoint'
|
53
56
|
}
|
54
57
|
end
|
55
58
|
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'name' => :'String',
|
69
72
|
:'repository' => :'String',
|
70
73
|
:'publication' => :'String',
|
71
|
-
:'generate_repo_config' => :'Boolean'
|
74
|
+
:'generate_repo_config' => :'Boolean',
|
75
|
+
:'checkpoint' => :'Boolean'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -137,6 +141,10 @@ module PulpRpmClient
|
|
137
141
|
else
|
138
142
|
self.generate_repo_config = false
|
139
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'checkpoint')
|
146
|
+
self.checkpoint = attributes[:'checkpoint']
|
147
|
+
end
|
140
148
|
end
|
141
149
|
|
142
150
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -214,7 +222,8 @@ module PulpRpmClient
|
|
214
222
|
name == o.name &&
|
215
223
|
repository == o.repository &&
|
216
224
|
publication == o.publication &&
|
217
|
-
generate_repo_config == o.generate_repo_config
|
225
|
+
generate_repo_config == o.generate_repo_config &&
|
226
|
+
checkpoint == o.checkpoint
|
218
227
|
end
|
219
228
|
|
220
229
|
# @see the `==` method
|
@@ -226,7 +235,7 @@ module PulpRpmClient
|
|
226
235
|
# Calculates hash code according to all attributes.
|
227
236
|
# @return [Integer] Hash code
|
228
237
|
def hash
|
229
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
238
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config, checkpoint].hash
|
230
239
|
end
|
231
240
|
|
232
241
|
# Builds the object from hash
|
@@ -56,6 +56,8 @@ module PulpRpmClient
|
|
56
56
|
# An option specifying whether Pulp should generate *.repo files.
|
57
57
|
attr_accessor :generate_repo_config
|
58
58
|
|
59
|
+
attr_accessor :checkpoint
|
60
|
+
|
59
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
60
62
|
def self.attribute_map
|
61
63
|
{
|
@@ -72,7 +74,8 @@ module PulpRpmClient
|
|
72
74
|
:'name' => :'name',
|
73
75
|
:'repository' => :'repository',
|
74
76
|
:'publication' => :'publication',
|
75
|
-
:'generate_repo_config' => :'generate_repo_config'
|
77
|
+
:'generate_repo_config' => :'generate_repo_config',
|
78
|
+
:'checkpoint' => :'checkpoint'
|
76
79
|
}
|
77
80
|
end
|
78
81
|
|
@@ -97,7 +100,8 @@ module PulpRpmClient
|
|
97
100
|
:'name' => :'String',
|
98
101
|
:'repository' => :'String',
|
99
102
|
:'publication' => :'String',
|
100
|
-
:'generate_repo_config' => :'Boolean'
|
103
|
+
:'generate_repo_config' => :'Boolean',
|
104
|
+
:'checkpoint' => :'Boolean'
|
101
105
|
}
|
102
106
|
end
|
103
107
|
|
@@ -190,6 +194,10 @@ module PulpRpmClient
|
|
190
194
|
else
|
191
195
|
self.generate_repo_config = false
|
192
196
|
end
|
197
|
+
|
198
|
+
if attributes.key?(:'checkpoint')
|
199
|
+
self.checkpoint = attributes[:'checkpoint']
|
200
|
+
end
|
193
201
|
end
|
194
202
|
|
195
203
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -235,7 +243,8 @@ module PulpRpmClient
|
|
235
243
|
name == o.name &&
|
236
244
|
repository == o.repository &&
|
237
245
|
publication == o.publication &&
|
238
|
-
generate_repo_config == o.generate_repo_config
|
246
|
+
generate_repo_config == o.generate_repo_config &&
|
247
|
+
checkpoint == o.checkpoint
|
239
248
|
end
|
240
249
|
|
241
250
|
# @see the `==` method
|
@@ -247,7 +256,7 @@ module PulpRpmClient
|
|
247
256
|
# Calculates hash code according to all attributes.
|
248
257
|
# @return [Integer] Hash code
|
249
258
|
def hash
|
250
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
259
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, generate_repo_config, checkpoint].hash
|
251
260
|
end
|
252
261
|
|
253
262
|
# Builds the object from hash
|