pulp_python_client 3.36.2 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +4 -0
- data/docs/ContentProvenanceApi.md +4 -0
- data/docs/ContentYanksApi.md +4 -0
- data/docs/PackageMetadataResponse.md +3 -1
- data/docs/PatchedpythonPythonRemote.md +3 -1
- data/docs/PythonPythonRemote.md +3 -1
- data/docs/PythonPythonRemoteResponse.md +3 -1
- data/lib/pulp_python_client/api/content_packages_api.rb +6 -0
- data/lib/pulp_python_client/api/content_provenance_api.rb +6 -0
- data/lib/pulp_python_client/api/content_yanks_api.rb +6 -0
- data/lib/pulp_python_client/models/package_metadata_response.rb +17 -5
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +16 -4
- data/lib/pulp_python_client/models/python_python_remote.rb +16 -4
- data/lib/pulp_python_client/models/python_python_remote_response.rb +16 -4
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -0
- data/spec/api/content_provenance_api_spec.rb +2 -0
- data/spec/api/content_yanks_api_spec.rb +2 -0
- data/spec/models/package_metadata_response_spec.rb +6 -0
- data/spec/models/patchedpython_python_remote_spec.rb +6 -0
- data/spec/models/python_python_remote_response_spec.rb +6 -0
- data/spec/models/python_python_remote_spec.rb +6 -0
- metadata +55 -55
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5cf660528f7817118361b6f67cb9a32a6da553c87b7f3411c3d20793a97eae7
|
|
4
|
+
data.tar.gz: 3fdaa77bdbdc3ef97a8f6fa8733563cd3eeb5400c921431d07875ebfaa87f62b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e286e4085454f4786e6cbcefb3479cb3ff136dfe9c413100babf4ca020c1ca0b8c9ac047c41bc8fcba8a069c60f3c1d6b4b7faa7e3a6c62dacb9afd6e6d8ff35
|
|
7
|
+
data.tar.gz: f244798c4a2d3d5c75efa23e650e415087d30b2c516568e8726dacca4322b9356103698b5bf499e71b6f74797ec9559cfe57caa6bec36ec0964c2578a4f01934
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.37.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_python_client-3.
|
|
28
|
+
gem install ./pulp_python_client-3.37.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.37.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_python_client', '~> 3.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.37.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -181,6 +181,7 @@ end
|
|
|
181
181
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
182
182
|
opts = {
|
|
183
183
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
184
|
+
added_between: ['inner_example'], # Array<String> |
|
|
184
185
|
author: 'author_example', # String | Filter results where author matches value
|
|
185
186
|
author__contains: 'author__contains_example', # String | Filter results where author contains value
|
|
186
187
|
author__in: ['inner_example'], # Array<String> | Filter results where author is in a comma-separated list of values
|
|
@@ -203,6 +204,7 @@ opts = {
|
|
|
203
204
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
204
205
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
205
206
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
207
|
+
removed_between: ['inner_example'], # Array<String> |
|
|
206
208
|
repository_version: 'repository_version_example', # String |
|
|
207
209
|
repository_version_added: 'repository_version_added_example', # String |
|
|
208
210
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -253,6 +255,7 @@ end
|
|
|
253
255
|
| Name | Type | Description | Notes |
|
|
254
256
|
| ---- | ---- | ----------- | ----- |
|
|
255
257
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
258
|
+
| **added_between** | [**Array<String>**](String.md) | | [optional] |
|
|
256
259
|
| **author** | **String** | Filter results where author matches value | [optional] |
|
|
257
260
|
| **author__contains** | **String** | Filter results where author contains value | [optional] |
|
|
258
261
|
| **author__in** | [**Array<String>**](String.md) | Filter results where author is in a comma-separated list of values | [optional] |
|
|
@@ -275,6 +278,7 @@ end
|
|
|
275
278
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
276
279
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
277
280
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
281
|
+
| **removed_between** | [**Array<String>**](String.md) | | [optional] |
|
|
278
282
|
| **repository_version** | **String** | | [optional] |
|
|
279
283
|
| **repository_version_added** | **String** | | [optional] |
|
|
280
284
|
| **repository_version_removed** | **String** | | [optional] |
|
|
@@ -124,6 +124,7 @@ end
|
|
|
124
124
|
api_instance = PulpPythonClient::ContentProvenanceApi.new
|
|
125
125
|
opts = {
|
|
126
126
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
127
|
+
added_between: ['inner_example'], # Array<String> |
|
|
127
128
|
limit: 56, # Integer | Number of results to return per page.
|
|
128
129
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
129
130
|
ordering: ['-pk'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -135,6 +136,7 @@ opts = {
|
|
|
135
136
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
136
137
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
137
138
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
139
|
+
removed_between: ['inner_example'], # Array<String> |
|
|
138
140
|
repository_version: 'repository_version_example', # String |
|
|
139
141
|
repository_version_added: 'repository_version_added_example', # String |
|
|
140
142
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -176,6 +178,7 @@ end
|
|
|
176
178
|
| Name | Type | Description | Notes |
|
|
177
179
|
| ---- | ---- | ----------- | ----- |
|
|
178
180
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
181
|
+
| **added_between** | [**Array<String>**](String.md) | | [optional] |
|
|
179
182
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
180
183
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
181
184
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
@@ -187,6 +190,7 @@ end
|
|
|
187
190
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
188
191
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
189
192
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
193
|
+
| **removed_between** | [**Array<String>**](String.md) | | [optional] |
|
|
190
194
|
| **repository_version** | **String** | | [optional] |
|
|
191
195
|
| **repository_version_added** | **String** | | [optional] |
|
|
192
196
|
| **repository_version_removed** | **String** | | [optional] |
|
data/docs/ContentYanksApi.md
CHANGED
|
@@ -33,6 +33,7 @@ end
|
|
|
33
33
|
api_instance = PulpPythonClient::ContentYanksApi.new
|
|
34
34
|
opts = {
|
|
35
35
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
36
|
+
added_between: ['inner_example'], # Array<String> |
|
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
38
39
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -42,6 +43,7 @@ opts = {
|
|
|
42
43
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
43
44
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
44
45
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
46
|
+
removed_between: ['inner_example'], # Array<String> |
|
|
45
47
|
repository_version: 'repository_version_example', # String |
|
|
46
48
|
repository_version_added: 'repository_version_added_example', # String |
|
|
47
49
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -81,6 +83,7 @@ end
|
|
|
81
83
|
| Name | Type | Description | Notes |
|
|
82
84
|
| ---- | ---- | ----------- | ----- |
|
|
83
85
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
86
|
+
| **added_between** | [**Array<String>**](String.md) | | [optional] |
|
|
84
87
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
85
88
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
86
89
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
@@ -90,6 +93,7 @@ end
|
|
|
90
93
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
91
94
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
92
95
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
96
|
+
| **removed_between** | [**Array<String>**](String.md) | | [optional] |
|
|
93
97
|
| **repository_version** | **String** | | [optional] |
|
|
94
98
|
| **repository_version_added** | **String** | | [optional] |
|
|
95
99
|
| **repository_version_removed** | **String** | | [optional] |
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **info** | **Object** | | |
|
|
9
9
|
| **releases** | **Object** | | |
|
|
10
10
|
| **urls** | **Object** | | |
|
|
11
|
+
| **vulnerabilities** | **Object** | | |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,7 +19,8 @@ instance = PulpPythonClient::PackageMetadataResponse.new(
|
|
|
18
19
|
last_serial: null,
|
|
19
20
|
info: null,
|
|
20
21
|
releases: null,
|
|
21
|
-
urls: null
|
|
22
|
+
urls: null,
|
|
23
|
+
vulnerabilities: null
|
|
22
24
|
)
|
|
23
25
|
```
|
|
24
26
|
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
| **keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional][default to 0] |
|
|
33
33
|
| **exclude_platforms** | [**Array<ExcludePlatformsEnum>**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional] |
|
|
34
34
|
| **provenance** | **Boolean** | Whether to sync available provenances for Python packages. | [optional][default to false] |
|
|
35
|
+
| **vulnerabilities** | **Boolean** | Whether to scan the new repository version for vulnerabilities after a sync. | [optional][default to false] |
|
|
35
36
|
|
|
36
37
|
## Example
|
|
37
38
|
|
|
@@ -66,7 +67,8 @@ instance = PulpPythonClient::PatchedpythonPythonRemote.new(
|
|
|
66
67
|
package_types: null,
|
|
67
68
|
keep_latest_packages: null,
|
|
68
69
|
exclude_platforms: null,
|
|
69
|
-
provenance: null
|
|
70
|
+
provenance: null,
|
|
71
|
+
vulnerabilities: null
|
|
70
72
|
)
|
|
71
73
|
```
|
|
72
74
|
|
data/docs/PythonPythonRemote.md
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
| **keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional][default to 0] |
|
|
33
33
|
| **exclude_platforms** | [**Array<ExcludePlatformsEnum>**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional] |
|
|
34
34
|
| **provenance** | **Boolean** | Whether to sync available provenances for Python packages. | [optional][default to false] |
|
|
35
|
+
| **vulnerabilities** | **Boolean** | Whether to scan the new repository version for vulnerabilities after a sync. | [optional][default to false] |
|
|
35
36
|
|
|
36
37
|
## Example
|
|
37
38
|
|
|
@@ -66,7 +67,8 @@ instance = PulpPythonClient::PythonPythonRemote.new(
|
|
|
66
67
|
package_types: null,
|
|
67
68
|
keep_latest_packages: null,
|
|
68
69
|
exclude_platforms: null,
|
|
69
|
-
provenance: null
|
|
70
|
+
provenance: null,
|
|
71
|
+
vulnerabilities: null
|
|
70
72
|
)
|
|
71
73
|
```
|
|
72
74
|
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
| **keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional][default to 0] |
|
|
33
33
|
| **exclude_platforms** | [**Array<ExcludePlatformsEnum>**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional] |
|
|
34
34
|
| **provenance** | **Boolean** | Whether to sync available provenances for Python packages. | [optional][default to false] |
|
|
35
|
+
| **vulnerabilities** | **Boolean** | Whether to scan the new repository version for vulnerabilities after a sync. | [optional][default to false] |
|
|
35
36
|
|
|
36
37
|
## Example
|
|
37
38
|
|
|
@@ -66,7 +67,8 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(
|
|
|
66
67
|
package_types: null,
|
|
67
68
|
keep_latest_packages: null,
|
|
68
69
|
exclude_platforms: null,
|
|
69
|
-
provenance: null
|
|
70
|
+
provenance: null,
|
|
71
|
+
vulnerabilities: null
|
|
70
72
|
)
|
|
71
73
|
```
|
|
72
74
|
|
|
@@ -219,6 +219,7 @@ module PulpPythonClient
|
|
|
219
219
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
220
220
|
# @param [Hash] opts the optional parameters
|
|
221
221
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
222
|
+
# @option opts [Array<String>] :added_between
|
|
222
223
|
# @option opts [String] :author Filter results where author matches value
|
|
223
224
|
# @option opts [String] :author__contains Filter results where author contains value
|
|
224
225
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
@@ -241,6 +242,7 @@ module PulpPythonClient
|
|
|
241
242
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
242
243
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
243
244
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
245
|
+
# @option opts [Array<String>] :removed_between
|
|
244
246
|
# @option opts [String] :repository_version
|
|
245
247
|
# @option opts [String] :repository_version_added
|
|
246
248
|
# @option opts [String] :repository_version_removed
|
|
@@ -267,6 +269,7 @@ module PulpPythonClient
|
|
|
267
269
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
268
270
|
# @param [Hash] opts the optional parameters
|
|
269
271
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
272
|
+
# @option opts [Array<String>] :added_between
|
|
270
273
|
# @option opts [String] :author Filter results where author matches value
|
|
271
274
|
# @option opts [String] :author__contains Filter results where author contains value
|
|
272
275
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
@@ -289,6 +292,7 @@ module PulpPythonClient
|
|
|
289
292
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
290
293
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
291
294
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
295
|
+
# @option opts [Array<String>] :removed_between
|
|
292
296
|
# @option opts [String] :repository_version
|
|
293
297
|
# @option opts [String] :repository_version_added
|
|
294
298
|
# @option opts [String] :repository_version_removed
|
|
@@ -323,6 +327,7 @@ module PulpPythonClient
|
|
|
323
327
|
|
|
324
328
|
# query parameters
|
|
325
329
|
query_params = opts[:query_params] || {}
|
|
330
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
326
331
|
query_params[:'author'] = opts[:'author'] if !opts[:'author'].nil?
|
|
327
332
|
query_params[:'author__contains'] = opts[:'author__contains'] if !opts[:'author__contains'].nil?
|
|
328
333
|
query_params[:'author__in'] = @api_client.build_collection_param(opts[:'author__in'], :csv) if !opts[:'author__in'].nil?
|
|
@@ -345,6 +350,7 @@ module PulpPythonClient
|
|
|
345
350
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
346
351
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
347
352
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
353
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
348
354
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
349
355
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
350
356
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -123,6 +123,7 @@ module PulpPythonClient
|
|
|
123
123
|
# PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
124
124
|
# @param [Hash] opts the optional parameters
|
|
125
125
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
126
|
+
# @option opts [Array<String>] :added_between
|
|
126
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
127
128
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
128
129
|
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -134,6 +135,7 @@ module PulpPythonClient
|
|
|
134
135
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
135
136
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
136
137
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
138
|
+
# @option opts [Array<String>] :removed_between
|
|
137
139
|
# @option opts [String] :repository_version
|
|
138
140
|
# @option opts [String] :repository_version_added
|
|
139
141
|
# @option opts [String] :repository_version_removed
|
|
@@ -151,6 +153,7 @@ module PulpPythonClient
|
|
|
151
153
|
# PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
152
154
|
# @param [Hash] opts the optional parameters
|
|
153
155
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
|
+
# @option opts [Array<String>] :added_between
|
|
154
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
155
158
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
156
159
|
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -162,6 +165,7 @@ module PulpPythonClient
|
|
|
162
165
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
163
166
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
164
167
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
168
|
+
# @option opts [Array<String>] :removed_between
|
|
165
169
|
# @option opts [String] :repository_version
|
|
166
170
|
# @option opts [String] :repository_version_added
|
|
167
171
|
# @option opts [String] :repository_version_removed
|
|
@@ -183,6 +187,7 @@ module PulpPythonClient
|
|
|
183
187
|
|
|
184
188
|
# query parameters
|
|
185
189
|
query_params = opts[:query_params] || {}
|
|
190
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
186
191
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
187
192
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
188
193
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
@@ -194,6 +199,7 @@ module PulpPythonClient
|
|
|
194
199
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
195
200
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
196
201
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
202
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
197
203
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
198
204
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
199
205
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -23,6 +23,7 @@ module PulpPythonClient
|
|
|
23
23
|
# Read-only viewset for PackageYank content units (PEP 592). PackageYank markers indicate that a package version has been yanked in a repository. Use the /yank/ and /unyank/ PyPI endpoints to create or remove these markers.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
+
# @option opts [Array<String>] :added_between
|
|
26
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
28
29
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -32,6 +33,7 @@ module PulpPythonClient
|
|
|
32
33
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
33
34
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
34
35
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
36
|
+
# @option opts [Array<String>] :removed_between
|
|
35
37
|
# @option opts [String] :repository_version
|
|
36
38
|
# @option opts [String] :repository_version_added
|
|
37
39
|
# @option opts [String] :repository_version_removed
|
|
@@ -47,6 +49,7 @@ module PulpPythonClient
|
|
|
47
49
|
# Read-only viewset for PackageYank content units (PEP 592). PackageYank markers indicate that a package version has been yanked in a repository. Use the /yank/ and /unyank/ PyPI endpoints to create or remove these markers.
|
|
48
50
|
# @param [Hash] opts the optional parameters
|
|
49
51
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
52
|
+
# @option opts [Array<String>] :added_between
|
|
50
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
51
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
55
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -56,6 +59,7 @@ module PulpPythonClient
|
|
|
56
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
57
60
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
58
61
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
62
|
+
# @option opts [Array<String>] :removed_between
|
|
59
63
|
# @option opts [String] :repository_version
|
|
60
64
|
# @option opts [String] :repository_version_added
|
|
61
65
|
# @option opts [String] :repository_version_removed
|
|
@@ -75,6 +79,7 @@ module PulpPythonClient
|
|
|
75
79
|
|
|
76
80
|
# query parameters
|
|
77
81
|
query_params = opts[:query_params] || {}
|
|
82
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
78
83
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
79
84
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
80
85
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
@@ -84,6 +89,7 @@ module PulpPythonClient
|
|
|
84
89
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
85
90
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
86
91
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
92
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
87
93
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
88
94
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
89
95
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -25,13 +25,16 @@ module PulpPythonClient
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :urls
|
|
27
27
|
|
|
28
|
+
attr_accessor :vulnerabilities
|
|
29
|
+
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
31
33
|
:'last_serial' => :'last_serial',
|
|
32
34
|
:'info' => :'info',
|
|
33
35
|
:'releases' => :'releases',
|
|
34
|
-
:'urls' => :'urls'
|
|
36
|
+
:'urls' => :'urls',
|
|
37
|
+
:'vulnerabilities' => :'vulnerabilities'
|
|
35
38
|
}
|
|
36
39
|
end
|
|
37
40
|
|
|
@@ -46,7 +49,8 @@ module PulpPythonClient
|
|
|
46
49
|
:'last_serial' => :'Integer',
|
|
47
50
|
:'info' => :'Object',
|
|
48
51
|
:'releases' => :'Object',
|
|
49
|
-
:'urls' => :'Object'
|
|
52
|
+
:'urls' => :'Object',
|
|
53
|
+
:'vulnerabilities' => :'Object'
|
|
50
54
|
}
|
|
51
55
|
end
|
|
52
56
|
|
|
@@ -55,7 +59,8 @@ module PulpPythonClient
|
|
|
55
59
|
Set.new([
|
|
56
60
|
:'info',
|
|
57
61
|
:'releases',
|
|
58
|
-
:'urls'
|
|
62
|
+
:'urls',
|
|
63
|
+
:'vulnerabilities'
|
|
59
64
|
])
|
|
60
65
|
end
|
|
61
66
|
|
|
@@ -97,6 +102,12 @@ module PulpPythonClient
|
|
|
97
102
|
else
|
|
98
103
|
self.urls = nil
|
|
99
104
|
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'vulnerabilities')
|
|
107
|
+
self.vulnerabilities = attributes[:'vulnerabilities']
|
|
108
|
+
else
|
|
109
|
+
self.vulnerabilities = nil
|
|
110
|
+
end
|
|
100
111
|
end
|
|
101
112
|
|
|
102
113
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -127,7 +138,8 @@ module PulpPythonClient
|
|
|
127
138
|
last_serial == o.last_serial &&
|
|
128
139
|
info == o.info &&
|
|
129
140
|
releases == o.releases &&
|
|
130
|
-
urls == o.urls
|
|
141
|
+
urls == o.urls &&
|
|
142
|
+
vulnerabilities == o.vulnerabilities
|
|
131
143
|
end
|
|
132
144
|
|
|
133
145
|
# @see the `==` method
|
|
@@ -139,7 +151,7 @@ module PulpPythonClient
|
|
|
139
151
|
# Calculates hash code according to all attributes.
|
|
140
152
|
# @return [Integer] Hash code
|
|
141
153
|
def hash
|
|
142
|
-
[last_serial, info, releases, urls].hash
|
|
154
|
+
[last_serial, info, releases, urls, vulnerabilities].hash
|
|
143
155
|
end
|
|
144
156
|
|
|
145
157
|
# Builds the object from hash
|
|
@@ -99,6 +99,9 @@ module PulpPythonClient
|
|
|
99
99
|
# Whether to sync available provenances for Python packages.
|
|
100
100
|
attr_accessor :provenance
|
|
101
101
|
|
|
102
|
+
# Whether to scan the new repository version for vulnerabilities after a sync.
|
|
103
|
+
attr_accessor :vulnerabilities
|
|
104
|
+
|
|
102
105
|
class EnumAttributeValidator
|
|
103
106
|
attr_reader :datatype
|
|
104
107
|
attr_reader :allowable_values
|
|
@@ -151,7 +154,8 @@ module PulpPythonClient
|
|
|
151
154
|
:'package_types' => :'package_types',
|
|
152
155
|
:'keep_latest_packages' => :'keep_latest_packages',
|
|
153
156
|
:'exclude_platforms' => :'exclude_platforms',
|
|
154
|
-
:'provenance' => :'provenance'
|
|
157
|
+
:'provenance' => :'provenance',
|
|
158
|
+
:'vulnerabilities' => :'vulnerabilities'
|
|
155
159
|
}
|
|
156
160
|
end
|
|
157
161
|
|
|
@@ -190,7 +194,8 @@ module PulpPythonClient
|
|
|
190
194
|
:'package_types' => :'Array<PackageTypesEnum>',
|
|
191
195
|
:'keep_latest_packages' => :'Integer',
|
|
192
196
|
:'exclude_platforms' => :'Array<ExcludePlatformsEnum>',
|
|
193
|
-
:'provenance' => :'Boolean'
|
|
197
|
+
:'provenance' => :'Boolean',
|
|
198
|
+
:'vulnerabilities' => :'Boolean'
|
|
194
199
|
}
|
|
195
200
|
end
|
|
196
201
|
|
|
@@ -357,6 +362,12 @@ module PulpPythonClient
|
|
|
357
362
|
else
|
|
358
363
|
self.provenance = false
|
|
359
364
|
end
|
|
365
|
+
|
|
366
|
+
if attributes.key?(:'vulnerabilities')
|
|
367
|
+
self.vulnerabilities = attributes[:'vulnerabilities']
|
|
368
|
+
else
|
|
369
|
+
self.vulnerabilities = false
|
|
370
|
+
end
|
|
360
371
|
end
|
|
361
372
|
|
|
362
373
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -639,7 +650,8 @@ module PulpPythonClient
|
|
|
639
650
|
package_types == o.package_types &&
|
|
640
651
|
keep_latest_packages == o.keep_latest_packages &&
|
|
641
652
|
exclude_platforms == o.exclude_platforms &&
|
|
642
|
-
provenance == o.provenance
|
|
653
|
+
provenance == o.provenance &&
|
|
654
|
+
vulnerabilities == o.vulnerabilities
|
|
643
655
|
end
|
|
644
656
|
|
|
645
657
|
# @see the `==` method
|
|
@@ -651,7 +663,7 @@ module PulpPythonClient
|
|
|
651
663
|
# Calculates hash code according to all attributes.
|
|
652
664
|
# @return [Integer] Hash code
|
|
653
665
|
def hash
|
|
654
|
-
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance].hash
|
|
666
|
+
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance, vulnerabilities].hash
|
|
655
667
|
end
|
|
656
668
|
|
|
657
669
|
# Builds the object from hash
|
|
@@ -99,6 +99,9 @@ module PulpPythonClient
|
|
|
99
99
|
# Whether to sync available provenances for Python packages.
|
|
100
100
|
attr_accessor :provenance
|
|
101
101
|
|
|
102
|
+
# Whether to scan the new repository version for vulnerabilities after a sync.
|
|
103
|
+
attr_accessor :vulnerabilities
|
|
104
|
+
|
|
102
105
|
class EnumAttributeValidator
|
|
103
106
|
attr_reader :datatype
|
|
104
107
|
attr_reader :allowable_values
|
|
@@ -151,7 +154,8 @@ module PulpPythonClient
|
|
|
151
154
|
:'package_types' => :'package_types',
|
|
152
155
|
:'keep_latest_packages' => :'keep_latest_packages',
|
|
153
156
|
:'exclude_platforms' => :'exclude_platforms',
|
|
154
|
-
:'provenance' => :'provenance'
|
|
157
|
+
:'provenance' => :'provenance',
|
|
158
|
+
:'vulnerabilities' => :'vulnerabilities'
|
|
155
159
|
}
|
|
156
160
|
end
|
|
157
161
|
|
|
@@ -190,7 +194,8 @@ module PulpPythonClient
|
|
|
190
194
|
:'package_types' => :'Array<PackageTypesEnum>',
|
|
191
195
|
:'keep_latest_packages' => :'Integer',
|
|
192
196
|
:'exclude_platforms' => :'Array<ExcludePlatformsEnum>',
|
|
193
|
-
:'provenance' => :'Boolean'
|
|
197
|
+
:'provenance' => :'Boolean',
|
|
198
|
+
:'vulnerabilities' => :'Boolean'
|
|
194
199
|
}
|
|
195
200
|
end
|
|
196
201
|
|
|
@@ -361,6 +366,12 @@ module PulpPythonClient
|
|
|
361
366
|
else
|
|
362
367
|
self.provenance = false
|
|
363
368
|
end
|
|
369
|
+
|
|
370
|
+
if attributes.key?(:'vulnerabilities')
|
|
371
|
+
self.vulnerabilities = attributes[:'vulnerabilities']
|
|
372
|
+
else
|
|
373
|
+
self.vulnerabilities = false
|
|
374
|
+
end
|
|
364
375
|
end
|
|
365
376
|
|
|
366
377
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -653,7 +664,8 @@ module PulpPythonClient
|
|
|
653
664
|
package_types == o.package_types &&
|
|
654
665
|
keep_latest_packages == o.keep_latest_packages &&
|
|
655
666
|
exclude_platforms == o.exclude_platforms &&
|
|
656
|
-
provenance == o.provenance
|
|
667
|
+
provenance == o.provenance &&
|
|
668
|
+
vulnerabilities == o.vulnerabilities
|
|
657
669
|
end
|
|
658
670
|
|
|
659
671
|
# @see the `==` method
|
|
@@ -665,7 +677,7 @@ module PulpPythonClient
|
|
|
665
677
|
# Calculates hash code according to all attributes.
|
|
666
678
|
# @return [Integer] Hash code
|
|
667
679
|
def hash
|
|
668
|
-
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance].hash
|
|
680
|
+
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance, vulnerabilities].hash
|
|
669
681
|
end
|
|
670
682
|
|
|
671
683
|
# Builds the object from hash
|
|
@@ -98,6 +98,9 @@ module PulpPythonClient
|
|
|
98
98
|
# Whether to sync available provenances for Python packages.
|
|
99
99
|
attr_accessor :provenance
|
|
100
100
|
|
|
101
|
+
# Whether to scan the new repository version for vulnerabilities after a sync.
|
|
102
|
+
attr_accessor :vulnerabilities
|
|
103
|
+
|
|
101
104
|
class EnumAttributeValidator
|
|
102
105
|
attr_reader :datatype
|
|
103
106
|
attr_reader :allowable_values
|
|
@@ -150,7 +153,8 @@ module PulpPythonClient
|
|
|
150
153
|
:'package_types' => :'package_types',
|
|
151
154
|
:'keep_latest_packages' => :'keep_latest_packages',
|
|
152
155
|
:'exclude_platforms' => :'exclude_platforms',
|
|
153
|
-
:'provenance' => :'provenance'
|
|
156
|
+
:'provenance' => :'provenance',
|
|
157
|
+
:'vulnerabilities' => :'vulnerabilities'
|
|
154
158
|
}
|
|
155
159
|
end
|
|
156
160
|
|
|
@@ -189,7 +193,8 @@ module PulpPythonClient
|
|
|
189
193
|
:'package_types' => :'Array<PackageTypesEnum>',
|
|
190
194
|
:'keep_latest_packages' => :'Integer',
|
|
191
195
|
:'exclude_platforms' => :'Array<ExcludePlatformsEnum>',
|
|
192
|
-
:'provenance' => :'Boolean'
|
|
196
|
+
:'provenance' => :'Boolean',
|
|
197
|
+
:'vulnerabilities' => :'Boolean'
|
|
193
198
|
}
|
|
194
199
|
end
|
|
195
200
|
|
|
@@ -357,6 +362,12 @@ module PulpPythonClient
|
|
|
357
362
|
else
|
|
358
363
|
self.provenance = false
|
|
359
364
|
end
|
|
365
|
+
|
|
366
|
+
if attributes.key?(:'vulnerabilities')
|
|
367
|
+
self.vulnerabilities = attributes[:'vulnerabilities']
|
|
368
|
+
else
|
|
369
|
+
self.vulnerabilities = false
|
|
370
|
+
end
|
|
360
371
|
end
|
|
361
372
|
|
|
362
373
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -491,7 +502,8 @@ module PulpPythonClient
|
|
|
491
502
|
package_types == o.package_types &&
|
|
492
503
|
keep_latest_packages == o.keep_latest_packages &&
|
|
493
504
|
exclude_platforms == o.exclude_platforms &&
|
|
494
|
-
provenance == o.provenance
|
|
505
|
+
provenance == o.provenance &&
|
|
506
|
+
vulnerabilities == o.vulnerabilities
|
|
495
507
|
end
|
|
496
508
|
|
|
497
509
|
# @see the `==` method
|
|
@@ -503,7 +515,7 @@ module PulpPythonClient
|
|
|
503
515
|
# Calculates hash code according to all attributes.
|
|
504
516
|
# @return [Integer] Hash code
|
|
505
517
|
def hash
|
|
506
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance].hash
|
|
518
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms, provenance, vulnerabilities].hash
|
|
507
519
|
end
|
|
508
520
|
|
|
509
521
|
# Builds the object from hash
|
|
@@ -86,6 +86,7 @@ describe 'ContentPackagesApi' do
|
|
|
86
86
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
89
|
+
# @option opts [Array<String>] :added_between
|
|
89
90
|
# @option opts [String] :author Filter results where author matches value
|
|
90
91
|
# @option opts [String] :author__contains Filter results where author contains value
|
|
91
92
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
@@ -108,6 +109,7 @@ describe 'ContentPackagesApi' do
|
|
|
108
109
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
109
110
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
110
111
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
112
|
+
# @option opts [Array<String>] :removed_between
|
|
111
113
|
# @option opts [String] :repository_version
|
|
112
114
|
# @option opts [String] :repository_version_added
|
|
113
115
|
# @option opts [String] :repository_version_removed
|
|
@@ -58,6 +58,7 @@ describe 'ContentProvenanceApi' do
|
|
|
58
58
|
# PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
59
59
|
# @param [Hash] opts the optional parameters
|
|
60
60
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
61
|
+
# @option opts [Array<String>] :added_between
|
|
61
62
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
62
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
63
64
|
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `provenance` - Provenance * `-provenance` - Provenance (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -69,6 +70,7 @@ describe 'ContentProvenanceApi' do
|
|
|
69
70
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
70
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
71
72
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
73
|
+
# @option opts [Array<String>] :removed_between
|
|
72
74
|
# @option opts [String] :repository_version
|
|
73
75
|
# @option opts [String] :repository_version_added
|
|
74
76
|
# @option opts [String] :repository_version_removed
|
|
@@ -37,6 +37,7 @@ describe 'ContentYanksApi' do
|
|
|
37
37
|
# Read-only viewset for PackageYank content units (PEP 592). PackageYank markers indicate that a package version has been yanked in a repository. Use the /yank/ and /unyank/ PyPI endpoints to create or remove these markers.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
|
+
# @option opts [Array<String>] :added_between
|
|
40
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
43
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -46,6 +47,7 @@ describe 'ContentYanksApi' do
|
|
|
46
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
47
48
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
48
49
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
50
|
+
# @option opts [Array<String>] :removed_between
|
|
49
51
|
# @option opts [String] :repository_version
|
|
50
52
|
# @option opts [String] :repository_version_added
|
|
51
53
|
# @option opts [String] :repository_version_removed
|
|
@@ -51,4 +51,10 @@ describe PulpPythonClient::PackageMetadataResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "vulnerabilities"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
end
|
|
@@ -195,4 +195,10 @@ describe PulpPythonClient::PatchedpythonPythonRemote do
|
|
|
195
195
|
end
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
+
describe 'test attribute "vulnerabilities"' do
|
|
199
|
+
it 'should work' do
|
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
198
204
|
end
|
|
@@ -195,4 +195,10 @@ describe PulpPythonClient::PythonPythonRemoteResponse do
|
|
|
195
195
|
end
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
+
describe 'test attribute "vulnerabilities"' do
|
|
199
|
+
it 'should work' do
|
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
198
204
|
end
|
|
@@ -195,4 +195,10 @@ describe PulpPythonClient::PythonPythonRemote do
|
|
|
195
195
|
end
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
+
describe 'test attribute "vulnerabilities"' do
|
|
199
|
+
it 'should work' do
|
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
198
204
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.37.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -332,75 +332,75 @@ signing_key:
|
|
|
332
332
|
specification_version: 4
|
|
333
333
|
summary: Pulp 3 API Ruby Gem
|
|
334
334
|
test_files:
|
|
335
|
-
- spec/api/
|
|
335
|
+
- spec/api/repositories_python_blocklist_entries_api_spec.rb
|
|
336
|
+
- spec/api/remotes_python_api_spec.rb
|
|
337
|
+
- spec/api/pypi_updates_xml_api_spec.rb
|
|
336
338
|
- spec/api/content_provenance_api_spec.rb
|
|
337
|
-
- spec/api/repositories_python_api_spec.rb
|
|
338
|
-
- spec/api/pypi_metadata_api_spec.rb
|
|
339
339
|
- spec/api/content_packages_api_spec.rb
|
|
340
|
-
- spec/api/
|
|
341
|
-
- spec/api/
|
|
340
|
+
- spec/api/repositories_python_api_spec.rb
|
|
341
|
+
- spec/api/content_yanks_api_spec.rb
|
|
342
342
|
- spec/api/repositories_python_versions_api_spec.rb
|
|
343
|
-
- spec/api/pypi_unyank_api_spec.rb
|
|
344
|
-
- spec/api/pypi_yank_api_spec.rb
|
|
345
343
|
- spec/api/pypi_provenance_api_spec.rb
|
|
346
|
-
- spec/api/
|
|
347
|
-
- spec/api/pypi_packages_xml_api_spec.rb
|
|
348
|
-
- spec/api/publications_pypi_api_spec.rb
|
|
349
|
-
- spec/api/content_yanks_api_spec.rb
|
|
350
|
-
- spec/api/pypi_updates_xml_api_spec.rb
|
|
344
|
+
- spec/api/distributions_pypi_api_spec.rb
|
|
351
345
|
- spec/api/pypi_api_spec.rb
|
|
352
|
-
- spec/api/
|
|
346
|
+
- spec/api/pypi_yank_api_spec.rb
|
|
347
|
+
- spec/api/pypi_unyank_api_spec.rb
|
|
348
|
+
- spec/api/publications_pypi_api_spec.rb
|
|
349
|
+
- spec/api/pypi_metadata_api_spec.rb
|
|
350
|
+
- spec/api/pypi_packages_xml_api_spec.rb
|
|
353
351
|
- spec/api/pypi_legacy_api_spec.rb
|
|
354
|
-
- spec/
|
|
355
|
-
- spec/
|
|
356
|
-
- spec/models/
|
|
352
|
+
- spec/api/pypi_project_releases_xml_api_spec.rb
|
|
353
|
+
- spec/api/pypi_simple_api_spec.rb
|
|
354
|
+
- spec/models/python_package_provenance_response_spec.rb
|
|
355
|
+
- spec/models/nested_role_spec.rb
|
|
357
356
|
- spec/models/protocol_version_enum_spec.rb
|
|
358
|
-
- spec/models/
|
|
359
|
-
- spec/models/
|
|
357
|
+
- spec/models/summary_response_spec.rb
|
|
358
|
+
- spec/models/metadata_version_enum_spec.rb
|
|
360
359
|
- spec/models/repository_add_remove_content_spec.rb
|
|
361
|
-
- spec/models/
|
|
362
|
-
- spec/models/
|
|
363
|
-
- spec/models/
|
|
364
|
-
- spec/models/
|
|
365
|
-
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
366
|
-
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
360
|
+
- spec/models/content_summary_response_spec.rb
|
|
361
|
+
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
362
|
+
- spec/models/python_python_publication_response_spec.rb
|
|
363
|
+
- spec/models/set_label_response_spec.rb
|
|
367
364
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
|
368
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
|
369
365
|
- spec/models/set_label_spec.rb
|
|
366
|
+
- spec/models/repository_sync_url_spec.rb
|
|
370
367
|
- spec/models/unset_label_response_spec.rb
|
|
371
|
-
- spec/models/
|
|
372
|
-
- spec/models/
|
|
368
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
369
|
+
- spec/models/remote_network_config_spec.rb
|
|
370
|
+
- spec/models/async_operation_response_spec.rb
|
|
371
|
+
- spec/models/python_python_repository_spec.rb
|
|
372
|
+
- spec/models/package_metadata_response_spec.rb
|
|
373
373
|
- spec/models/python_python_package_content_response_spec.rb
|
|
374
|
+
- spec/models/python_python_blocklist_entry_spec.rb
|
|
375
|
+
- spec/models/object_roles_response_spec.rb
|
|
376
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
377
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
|
378
|
+
- spec/models/package_types_enum_spec.rb
|
|
379
|
+
- spec/models/policy_enum_spec.rb
|
|
380
|
+
- spec/models/python_python_blocklist_entry_response_spec.rb
|
|
381
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
382
|
+
- spec/models/python_python_distribution_response_spec.rb
|
|
383
|
+
- spec/models/package_upload_task_response_spec.rb
|
|
384
|
+
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
374
385
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
375
|
-
- spec/models/
|
|
376
|
-
- spec/models/
|
|
377
|
-
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
378
|
-
- spec/models/metadata_version_enum_spec.rb
|
|
386
|
+
- spec/models/paginatedpython_python_blocklist_entry_response_list_spec.rb
|
|
387
|
+
- spec/models/yank_spec.rb
|
|
379
388
|
- spec/models/python_python_distribution_spec.rb
|
|
380
|
-
- spec/models/
|
|
381
|
-
- spec/models/
|
|
382
|
-
- spec/models/
|
|
383
|
-
- spec/models/
|
|
384
|
-
- spec/models/
|
|
385
|
-
- spec/models/
|
|
389
|
+
- spec/models/unset_label_spec.rb
|
|
390
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
|
391
|
+
- spec/models/python_package_yank_response_spec.rb
|
|
392
|
+
- spec/models/python_python_remote_response_spec.rb
|
|
393
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
394
|
+
- spec/models/my_permissions_response_spec.rb
|
|
395
|
+
- spec/models/remote_network_config_response_spec.rb
|
|
386
396
|
- spec/models/filetype_enum_spec.rb
|
|
397
|
+
- spec/models/nested_role_response_spec.rb
|
|
398
|
+
- spec/models/repair_spec.rb
|
|
399
|
+
- spec/models/python_python_publication_spec.rb
|
|
400
|
+
- spec/models/python_python_remote_spec.rb
|
|
401
|
+
- spec/models/repository_version_response_spec.rb
|
|
387
402
|
- spec/models/patchedpython_python_repository_spec.rb
|
|
388
|
-
- spec/models/package_metadata_response_spec.rb
|
|
389
|
-
- spec/models/yank_spec.rb
|
|
390
403
|
- spec/models/python_python_repository_response_spec.rb
|
|
391
|
-
- spec/models/content_summary_response_spec.rb
|
|
392
404
|
- spec/models/paginatedpython_package_yank_response_list_spec.rb
|
|
393
|
-
- spec/models/
|
|
394
|
-
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
395
|
-
- spec/models/python_python_publication_spec.rb
|
|
396
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
397
|
-
- spec/models/remote_network_config_response_spec.rb
|
|
398
|
-
- spec/models/policy_enum_spec.rb
|
|
399
|
-
- spec/models/async_operation_response_spec.rb
|
|
400
|
-
- spec/models/repository_version_response_spec.rb
|
|
401
|
-
- spec/models/nested_role_spec.rb
|
|
402
|
-
- spec/models/set_label_response_spec.rb
|
|
403
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
404
|
-
- spec/models/package_types_enum_spec.rb
|
|
405
|
-
- spec/models/python_python_distribution_response_spec.rb
|
|
405
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
|
406
406
|
- spec/spec_helper.rb
|