pulp_rpm_client 3.22.6 → 3.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentAdvisoriesApi.md +4 -2
- data/docs/ContentModulemdsApi.md +2 -2
- data/docs/ContentPackagesApi.md +6 -4
- data/docs/PatchedrpmRpmDistribution.md +3 -1
- data/docs/PatchedrpmRpmRepository.md +5 -3
- data/docs/RpmPackage.md +2 -2
- data/docs/RpmRpmDistribution.md +3 -1
- data/docs/RpmRpmDistributionResponse.md +3 -1
- data/docs/RpmRpmPublication.md +5 -3
- data/docs/RpmRpmPublicationResponse.md +5 -3
- data/docs/RpmRpmRepository.md +5 -3
- data/docs/RpmRpmRepositoryResponse.md +5 -3
- 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_modulemds_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packages_api.rb +7 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +17 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_package.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +17 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +17 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +15 -5
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +2 -1
- data/spec/api/content_modulemds_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -2
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- 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 +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +83 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72962681e7b3a28ac9dce5d592bca967344f556dc9e52b7197fd89778f0d3434
|
4
|
+
data.tar.gz: e0c3b3ba221b6950f770f4cef75db1add2e00757dc4552baab87b2de82d657a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053a36c9542e5cea7d379b1c266d51cdb7ffd9bf5419b0334f2629cdabb605ef8ef71329bfd97751f6087b29aba6dc35e4c7ed00283b0a3251b7af34cb6139db
|
7
|
+
data.tar.gz: f8740e3684c451ededa532081ecd692d2f1f135be9b2bb0d872766c299c6516917850f1eb3aea46c478bf9bf94eb960147577aee548a7bc76a4d9f63c9100bcc
|
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.24.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.24.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.24.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.24.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -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/ContentModulemdsApi.md
CHANGED
@@ -93,7 +93,7 @@ opts = {
|
|
93
93
|
name: 'name_example', # String | Filter results where name matches value
|
94
94
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
95
95
|
offset: 56, # Integer | The initial index from which to return the results.
|
96
|
-
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
97
97
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
98
98
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
99
99
|
q: 'q_example', # String |
|
@@ -131,7 +131,7 @@ Name | Type | Description | Notes
|
|
131
131
|
**name** | **String**| Filter results where name matches value | [optional]
|
132
132
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
133
133
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
134
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
134
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
135
135
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
136
136
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
137
137
|
**q** | **String**| | [optional]
|
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
|
|
@@ -106,6 +106,7 @@ opts = {
|
|
106
106
|
epoch: 'epoch_example', # String | Filter results where epoch matches value
|
107
107
|
epoch__in: ['epoch__in_example'], # Array<String> | Filter results where epoch is in a comma-separated list of values
|
108
108
|
epoch__ne: 'epoch__ne_example', # String | Filter results where epoch not equal to value
|
109
|
+
filename: 'filename_example', # String |
|
109
110
|
limit: 56, # Integer | Number of results to return per page.
|
110
111
|
name: 'name_example', # String | Filter results where name matches value
|
111
112
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -160,6 +161,7 @@ Name | Type | Description | Notes
|
|
160
161
|
**epoch** | **String**| Filter results where epoch matches value | [optional]
|
161
162
|
**epoch__in** | [**Array<String>**](String.md)| Filter results where epoch is in a comma-separated list of values | [optional]
|
162
163
|
**epoch__ne** | **String**| Filter results where epoch not equal to value | [optional]
|
164
|
+
**filename** | **String**| | [optional]
|
163
165
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
164
166
|
**name** | **String**| Filter results where name matches value | [optional]
|
165
167
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**publication** | **String** | Publication to be served | [optional]
|
14
|
+
**generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional] [default to false]
|
14
15
|
|
15
16
|
## Code Sample
|
16
17
|
|
@@ -23,7 +24,8 @@ instance = PulpRpmClient::PatchedrpmRpmDistribution.new(base_path: null,
|
|
23
24
|
pulp_labels: null,
|
24
25
|
name: null,
|
25
26
|
repository: null,
|
26
|
-
publication: null
|
27
|
+
publication: null,
|
28
|
+
generate_repo_config: null)
|
27
29
|
```
|
28
30
|
|
29
31
|
|
@@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|
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
15
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
22
23
|
|
@@ -35,7 +36,8 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
|
|
35
36
|
package_checksum_type: null,
|
36
37
|
gpgcheck: null,
|
37
38
|
repo_gpgcheck: null,
|
38
|
-
sqlite_metadata: null
|
39
|
+
sqlite_metadata: null,
|
40
|
+
repo_config: null)
|
39
41
|
```
|
40
42
|
|
41
43
|
|
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/RpmRpmDistribution.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**publication** | **String** | Publication to be served | [optional]
|
14
|
+
**generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional] [default to false]
|
14
15
|
|
15
16
|
## Code Sample
|
16
17
|
|
@@ -23,7 +24,8 @@ instance = PulpRpmClient::RpmRpmDistribution.new(base_path: null,
|
|
23
24
|
pulp_labels: null,
|
24
25
|
name: null,
|
25
26
|
repository: null,
|
26
|
-
publication: null
|
27
|
+
publication: null,
|
28
|
+
generate_repo_config: null)
|
27
29
|
```
|
28
30
|
|
29
31
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
15
15
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
16
16
|
**publication** | **String** | Publication to be served | [optional]
|
17
|
+
**generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional] [default to false]
|
17
18
|
|
18
19
|
## Code Sample
|
19
20
|
|
@@ -29,7 +30,8 @@ instance = PulpRpmClient::RpmRpmDistributionResponse.new(pulp_href: null,
|
|
29
30
|
pulp_labels: null,
|
30
31
|
name: null,
|
31
32
|
repository: null,
|
32
|
-
publication: null
|
33
|
+
publication: null,
|
34
|
+
generate_repo_config: null)
|
33
35
|
```
|
34
36
|
|
35
37
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -8,9 +8,10 @@ Name | Type | Description | Notes
|
|
8
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
9
9
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
10
10
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
11
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
11
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
13
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
14
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
14
15
|
|
15
16
|
## Code Sample
|
16
17
|
|
@@ -23,7 +24,8 @@ instance = PulpRpmClient::RpmRpmPublication.new(repository_version: null,
|
|
23
24
|
package_checksum_type: null,
|
24
25
|
gpgcheck: null,
|
25
26
|
repo_gpgcheck: null,
|
26
|
-
sqlite_metadata: null
|
27
|
+
sqlite_metadata: null,
|
28
|
+
repo_config: null)
|
27
29
|
```
|
28
30
|
|
29
31
|
|
@@ -10,9 +10,10 @@ Name | Type | Description | Notes
|
|
10
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
11
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
12
12
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
13
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
15
15
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
16
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
16
17
|
|
17
18
|
## Code Sample
|
18
19
|
|
@@ -27,7 +28,8 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(pulp_href: null,
|
|
27
28
|
package_checksum_type: null,
|
28
29
|
gpgcheck: null,
|
29
30
|
repo_gpgcheck: null,
|
30
|
-
sqlite_metadata: null
|
31
|
+
sqlite_metadata: null,
|
32
|
+
repo_config: null)
|
31
33
|
```
|
32
34
|
|
33
35
|
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|
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
15
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
22
23
|
|
@@ -35,7 +36,8 @@ instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
|
|
35
36
|
package_checksum_type: null,
|
36
37
|
gpgcheck: null,
|
37
38
|
repo_gpgcheck: null,
|
38
|
-
sqlite_metadata: null
|
39
|
+
sqlite_metadata: null,
|
40
|
+
repo_config: null)
|
39
41
|
```
|
40
42
|
|
41
43
|
|
@@ -18,9 +18,10 @@ Name | Type | Description | Notes
|
|
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
19
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
20
20
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
21
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
22
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
21
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
22
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
23
23
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
24
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
24
25
|
|
25
26
|
## Code Sample
|
26
27
|
|
@@ -43,7 +44,8 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
|
|
43
44
|
package_checksum_type: null,
|
44
45
|
gpgcheck: null,
|
45
46
|
repo_gpgcheck: null,
|
46
|
-
sqlite_metadata: null
|
47
|
+
sqlite_metadata: null,
|
48
|
+
repo_config: null)
|
47
49
|
```
|
48
50
|
|
49
51
|
|
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]
|
@@ -94,7 +94,7 @@ module PulpRpmClient
|
|
94
94
|
# @option opts [String] :name Filter results where name matches value
|
95
95
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
97
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
98
98
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
99
99
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
100
100
|
# @option opts [String] :q
|
@@ -125,7 +125,7 @@ module PulpRpmClient
|
|
125
125
|
# @option opts [String] :name Filter results where name matches value
|
126
126
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
127
127
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
128
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
129
129
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
130
130
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
131
131
|
# @option opts [String] :q
|
@@ -144,7 +144,7 @@ module PulpRpmClient
|
|
144
144
|
if @api_client.config.debugging
|
145
145
|
@api_client.config.logger.debug 'Calling API: ContentModulemdsApi.list ...'
|
146
146
|
end
|
147
|
-
allowable_values = ["-arch", "-artifacts", "-context", "-dependencies", "-description", "-name", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-version", "arch", "artifacts", "context", "dependencies", "description", "name", "pk", "profiles", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "version"]
|
147
|
+
allowable_values = ["-arch", "-artifacts", "-context", "-dependencies", "-description", "-digest", "-name", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-version", "arch", "artifacts", "context", "dependencies", "description", "digest", "name", "pk", "profiles", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "version"]
|
148
148
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
149
149
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
150
150
|
end
|
@@ -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
|
@@ -110,6 +110,7 @@ module PulpRpmClient
|
|
110
110
|
# @option opts [String] :epoch Filter results where epoch matches value
|
111
111
|
# @option opts [Array<String>] :epoch__in Filter results where epoch is in a comma-separated list of values
|
112
112
|
# @option opts [String] :epoch__ne Filter results where epoch not equal to value
|
113
|
+
# @option opts [String] :filename
|
113
114
|
# @option opts [Integer] :limit Number of results to return per page.
|
114
115
|
# @option opts [String] :name Filter results where name matches value
|
115
116
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -157,6 +158,7 @@ module PulpRpmClient
|
|
157
158
|
# @option opts [String] :epoch Filter results where epoch matches value
|
158
159
|
# @option opts [Array<String>] :epoch__in Filter results where epoch is in a comma-separated list of values
|
159
160
|
# @option opts [String] :epoch__ne Filter results where epoch not equal to value
|
161
|
+
# @option opts [String] :filename
|
160
162
|
# @option opts [Integer] :limit Number of results to return per page.
|
161
163
|
# @option opts [String] :name Filter results where name matches value
|
162
164
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -213,6 +215,7 @@ module PulpRpmClient
|
|
213
215
|
query_params[:'epoch'] = opts[:'epoch'] if !opts[:'epoch'].nil?
|
214
216
|
query_params[:'epoch__in'] = @api_client.build_collection_param(opts[:'epoch__in'], :csv) if !opts[:'epoch__in'].nil?
|
215
217
|
query_params[:'epoch__ne'] = opts[:'epoch__ne'] if !opts[:'epoch__ne'].nil?
|
218
|
+
query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
|
216
219
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
217
220
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
218
221
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -35,6 +35,9 @@ module PulpRpmClient
|
|
35
35
|
# Publication to be served
|
36
36
|
attr_accessor :publication
|
37
37
|
|
38
|
+
# An option specifying whether Pulp should generate *.repo files.
|
39
|
+
attr_accessor :generate_repo_config
|
40
|
+
|
38
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
@@ -44,7 +47,8 @@ module PulpRpmClient
|
|
44
47
|
:'pulp_labels' => :'pulp_labels',
|
45
48
|
:'name' => :'name',
|
46
49
|
:'repository' => :'repository',
|
47
|
-
:'publication' => :'publication'
|
50
|
+
:'publication' => :'publication',
|
51
|
+
:'generate_repo_config' => :'generate_repo_config'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -57,7 +61,8 @@ module PulpRpmClient
|
|
57
61
|
:'pulp_labels' => :'Hash<String, String>',
|
58
62
|
:'name' => :'String',
|
59
63
|
:'repository' => :'String',
|
60
|
-
:'publication' => :'String'
|
64
|
+
:'publication' => :'String',
|
65
|
+
:'generate_repo_config' => :'Boolean'
|
61
66
|
}
|
62
67
|
end
|
63
68
|
|
@@ -66,7 +71,7 @@ module PulpRpmClient
|
|
66
71
|
Set.new([
|
67
72
|
:'content_guard',
|
68
73
|
:'repository',
|
69
|
-
:'publication'
|
74
|
+
:'publication',
|
70
75
|
])
|
71
76
|
end
|
72
77
|
|
@@ -116,6 +121,12 @@ module PulpRpmClient
|
|
116
121
|
if attributes.key?(:'publication')
|
117
122
|
self.publication = attributes[:'publication']
|
118
123
|
end
|
124
|
+
|
125
|
+
if attributes.key?(:'generate_repo_config')
|
126
|
+
self.generate_repo_config = attributes[:'generate_repo_config']
|
127
|
+
else
|
128
|
+
self.generate_repo_config = false
|
129
|
+
end
|
119
130
|
end
|
120
131
|
|
121
132
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -172,7 +183,8 @@ module PulpRpmClient
|
|
172
183
|
pulp_labels == o.pulp_labels &&
|
173
184
|
name == o.name &&
|
174
185
|
repository == o.repository &&
|
175
|
-
publication == o.publication
|
186
|
+
publication == o.publication &&
|
187
|
+
generate_repo_config == o.generate_repo_config
|
176
188
|
end
|
177
189
|
|
178
190
|
# @see the `==` method
|
@@ -184,7 +196,7 @@ module PulpRpmClient
|
|
184
196
|
# Calculates hash code according to all attributes.
|
185
197
|
# @return [Integer] Hash code
|
186
198
|
def hash
|
187
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
199
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
188
200
|
end
|
189
201
|
|
190
202
|
# Builds the object from hash
|
@@ -44,15 +44,18 @@ module PulpRpmClient
|
|
44
44
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
47
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
48
48
|
attr_accessor :gpgcheck
|
49
49
|
|
50
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
50
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
51
51
|
attr_accessor :repo_gpgcheck
|
52
52
|
|
53
53
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
54
54
|
attr_accessor :sqlite_metadata
|
55
55
|
|
56
|
+
# A JSON document describing config.repo file
|
57
|
+
attr_accessor :repo_config
|
58
|
+
|
56
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
60
|
def self.attribute_map
|
58
61
|
{
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'package_checksum_type' => :'package_checksum_type',
|
69
72
|
:'gpgcheck' => :'gpgcheck',
|
70
73
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
71
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
74
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
75
|
+
:'repo_config' => :'repo_config'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -87,7 +91,8 @@ module PulpRpmClient
|
|
87
91
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
88
92
|
:'gpgcheck' => :'Integer',
|
89
93
|
:'repo_gpgcheck' => :'Integer',
|
90
|
-
:'sqlite_metadata' => :'Boolean'
|
94
|
+
:'sqlite_metadata' => :'Boolean',
|
95
|
+
:'repo_config' => :'Object'
|
91
96
|
}
|
92
97
|
end
|
93
98
|
|
@@ -100,6 +105,8 @@ module PulpRpmClient
|
|
100
105
|
:'metadata_signing_service',
|
101
106
|
:'metadata_checksum_type',
|
102
107
|
:'package_checksum_type',
|
108
|
+
:'gpgcheck',
|
109
|
+
:'repo_gpgcheck',
|
103
110
|
])
|
104
111
|
end
|
105
112
|
|
@@ -164,14 +171,10 @@ module PulpRpmClient
|
|
164
171
|
|
165
172
|
if attributes.key?(:'gpgcheck')
|
166
173
|
self.gpgcheck = attributes[:'gpgcheck']
|
167
|
-
else
|
168
|
-
self.gpgcheck = 0
|
169
174
|
end
|
170
175
|
|
171
176
|
if attributes.key?(:'repo_gpgcheck')
|
172
177
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
173
|
-
else
|
174
|
-
self.repo_gpgcheck = 0
|
175
178
|
end
|
176
179
|
|
177
180
|
if attributes.key?(:'sqlite_metadata')
|
@@ -179,6 +182,10 @@ module PulpRpmClient
|
|
179
182
|
else
|
180
183
|
self.sqlite_metadata = false
|
181
184
|
end
|
185
|
+
|
186
|
+
if attributes.key?(:'repo_config')
|
187
|
+
self.repo_config = attributes[:'repo_config']
|
188
|
+
end
|
182
189
|
end
|
183
190
|
|
184
191
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -319,7 +326,8 @@ module PulpRpmClient
|
|
319
326
|
package_checksum_type == o.package_checksum_type &&
|
320
327
|
gpgcheck == o.gpgcheck &&
|
321
328
|
repo_gpgcheck == o.repo_gpgcheck &&
|
322
|
-
sqlite_metadata == o.sqlite_metadata
|
329
|
+
sqlite_metadata == o.sqlite_metadata &&
|
330
|
+
repo_config == o.repo_config
|
323
331
|
end
|
324
332
|
|
325
333
|
# @see the `==` method
|
@@ -331,7 +339,7 @@ module PulpRpmClient
|
|
331
339
|
# Calculates hash code according to all attributes.
|
332
340
|
# @return [Integer] Hash code
|
333
341
|
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, sqlite_metadata].hash
|
342
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
335
343
|
end
|
336
344
|
|
337
345
|
# Builds the object from hash
|