pulp_python_client 3.19.1 → 3.20.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 +6 -5
- data/docs/ContentPackagesApi.md +8 -4
- data/docs/DistributionsPypiApi.md +10 -10
- data/docs/PypiSimpleApi.md +5 -1
- data/docs/PythonPythonPackageContentResponse.md +3 -1
- data/docs/RemotesPythonApi.md +10 -10
- data/docs/RepositoriesPythonApi.md +10 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +17 -3
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +10 -10
- data/lib/pulp_python_client/api/pypi_simple_api.rb +16 -2
- data/lib/pulp_python_client/api/remotes_python_api.rb +10 -10
- data/lib/pulp_python_client/api/repositories_python_api.rb +10 -10
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +15 -4
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -1
- data/spec/api/distributions_pypi_api_spec.rb +4 -4
- data/spec/api/pypi_simple_api_spec.rb +3 -1
- data/spec/api/remotes_python_api_spec.rb +4 -4
- data/spec/api/repositories_python_api_spec.rb +4 -4
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- metadata +37 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c88915626fd8dcb4b1ba214db208e50b1365e9f89a58f82c2680e6f9df5e1bc2
|
|
4
|
+
data.tar.gz: 185e23cfbfde82f283d3df0e7c1786d29ccaa64b022b1bdb95216418d0f73795
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 04f210c1149379030e4ceae0c6d7d383b5211e910a58636d60eff9a389278e3e3e866201b81d7db7b9bb1bfde6aaa5722469fb487e3fc43b957270357fa9a153
|
|
7
|
+
data.tar.gz: fb9cb657b23150a60b72189381ea56ea8a345e51b3cbee73490a6de46dae1bd69bfcb80c844c3d2f018fad2b14fb12396b4a2cb4d5283c7611adf3c2c1f7c179
|
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.20.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.20.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.20.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.20.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -102,7 +102,8 @@ opts = {
|
|
|
102
102
|
dynamic: TODO, # Object |
|
|
103
103
|
license_expression: 'license_expression_example', # String | Text string that is a valid SPDX license expression.
|
|
104
104
|
license_file: TODO, # Object |
|
|
105
|
-
sha256: 'sha256_example' # String | The SHA256 digest of this package.
|
|
105
|
+
sha256: 'sha256_example', # String | The SHA256 digest of this package.
|
|
106
|
+
metadata_sha256: 'metadata_sha256_example' # String | The SHA256 digest of the package's METADATA file.
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
begin
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -67,7 +67,8 @@ opts = {
|
|
|
67
67
|
dynamic: TODO, # Object |
|
|
68
68
|
license_expression: 'license_expression_example', # String | Text string that is a valid SPDX license expression.
|
|
69
69
|
license_file: TODO, # Object |
|
|
70
|
-
sha256: 'sha256_example' # String | The SHA256 digest of this package.
|
|
70
|
+
sha256: 'sha256_example', # String | The SHA256 digest of this package.
|
|
71
|
+
metadata_sha256: 'metadata_sha256_example' # String | The SHA256 digest of the package's METADATA file.
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
begin
|
|
@@ -135,6 +136,7 @@ end
|
|
|
135
136
|
| **license_expression** | **String** | Text string that is a valid SPDX license expression. | [optional] |
|
|
136
137
|
| **license_file** | [**Object**](Object.md) | | [optional] |
|
|
137
138
|
| **sha256** | **String** | The SHA256 digest of this package. | [optional][default to ''] |
|
|
139
|
+
| **metadata_sha256** | **String** | The SHA256 digest of the package's METADATA file. | [optional] |
|
|
138
140
|
|
|
139
141
|
### Return type
|
|
140
142
|
|
|
@@ -184,7 +186,7 @@ opts = {
|
|
|
184
186
|
name: 'name_example', # String | Filter results where name matches value
|
|
185
187
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
186
188
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
187
|
-
ordering: ['-author'], # 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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
189
|
+
ordering: ['-author'], # 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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
188
190
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
189
191
|
packagetype: 'bdist_dmg', # String | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
190
192
|
packagetype__in: ['inner_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
|
@@ -253,7 +255,7 @@ end
|
|
|
253
255
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
254
256
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
255
257
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
256
|
-
| **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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
258
|
+
| **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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
257
259
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
258
260
|
| **packagetype** | **String** | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist | [optional] |
|
|
259
261
|
| **packagetype__in** | [**Array<String>**](String.md) | Filter results where packagetype is in a comma-separated list of values | [optional] |
|
|
@@ -575,7 +577,8 @@ opts = {
|
|
|
575
577
|
dynamic: TODO, # Object |
|
|
576
578
|
license_expression: 'license_expression_example', # String | Text string that is a valid SPDX license expression.
|
|
577
579
|
license_file: TODO, # Object |
|
|
578
|
-
sha256: 'sha256_example' # String | The SHA256 digest of this package.
|
|
580
|
+
sha256: 'sha256_example', # String | The SHA256 digest of this package.
|
|
581
|
+
metadata_sha256: 'metadata_sha256_example' # String | The SHA256 digest of the package's METADATA file.
|
|
579
582
|
}
|
|
580
583
|
|
|
581
584
|
begin
|
|
@@ -641,6 +644,7 @@ end
|
|
|
641
644
|
| **license_expression** | **String** | Text string that is a valid SPDX license expression. | [optional] |
|
|
642
645
|
| **license_file** | [**Object**](Object.md) | | [optional] |
|
|
643
646
|
| **sha256** | **String** | The SHA256 digest of this package. | [optional][default to ''] |
|
|
647
|
+
| **metadata_sha256** | **String** | The SHA256 digest of the package's METADATA file. | [optional] |
|
|
644
648
|
|
|
645
649
|
### Return type
|
|
646
650
|
|
|
@@ -526,11 +526,11 @@ end
|
|
|
526
526
|
|
|
527
527
|
## partial_update
|
|
528
528
|
|
|
529
|
-
> <
|
|
529
|
+
> <PythonPythonDistributionResponse> partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
530
530
|
|
|
531
531
|
Update a python distribution
|
|
532
532
|
|
|
533
|
-
|
|
533
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
534
534
|
|
|
535
535
|
### Examples
|
|
536
536
|
|
|
@@ -564,7 +564,7 @@ end
|
|
|
564
564
|
|
|
565
565
|
This returns an Array which contains the response data, status code and headers.
|
|
566
566
|
|
|
567
|
-
> <Array(<
|
|
567
|
+
> <Array(<PythonPythonDistributionResponse>, Integer, Hash)> partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
568
568
|
|
|
569
569
|
```ruby
|
|
570
570
|
begin
|
|
@@ -572,7 +572,7 @@ begin
|
|
|
572
572
|
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
573
573
|
p status_code # => 2xx
|
|
574
574
|
p headers # => { ... }
|
|
575
|
-
p data # => <
|
|
575
|
+
p data # => <PythonPythonDistributionResponse>
|
|
576
576
|
rescue PulpPythonClient::ApiError => e
|
|
577
577
|
puts "Error when calling DistributionsPypiApi->partial_update_with_http_info: #{e}"
|
|
578
578
|
end
|
|
@@ -588,7 +588,7 @@ end
|
|
|
588
588
|
|
|
589
589
|
### Return type
|
|
590
590
|
|
|
591
|
-
[**
|
|
591
|
+
[**PythonPythonDistributionResponse**](PythonPythonDistributionResponse.md)
|
|
592
592
|
|
|
593
593
|
### Authorization
|
|
594
594
|
|
|
@@ -908,11 +908,11 @@ end
|
|
|
908
908
|
|
|
909
909
|
## update
|
|
910
910
|
|
|
911
|
-
> <
|
|
911
|
+
> <PythonPythonDistributionResponse> update(python_python_distribution_href, python_python_distribution, opts)
|
|
912
912
|
|
|
913
913
|
Update a python distribution
|
|
914
914
|
|
|
915
|
-
|
|
915
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
|
|
917
917
|
### Examples
|
|
918
918
|
|
|
@@ -946,7 +946,7 @@ end
|
|
|
946
946
|
|
|
947
947
|
This returns an Array which contains the response data, status code and headers.
|
|
948
948
|
|
|
949
|
-
> <Array(<
|
|
949
|
+
> <Array(<PythonPythonDistributionResponse>, Integer, Hash)> update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
|
|
950
950
|
|
|
951
951
|
```ruby
|
|
952
952
|
begin
|
|
@@ -954,7 +954,7 @@ begin
|
|
|
954
954
|
data, status_code, headers = api_instance.update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
|
|
955
955
|
p status_code # => 2xx
|
|
956
956
|
p headers # => { ... }
|
|
957
|
-
p data # => <
|
|
957
|
+
p data # => <PythonPythonDistributionResponse>
|
|
958
958
|
rescue PulpPythonClient::ApiError => e
|
|
959
959
|
puts "Error when calling DistributionsPypiApi->update_with_http_info: #{e}"
|
|
960
960
|
end
|
|
@@ -970,7 +970,7 @@ end
|
|
|
970
970
|
|
|
971
971
|
### Return type
|
|
972
972
|
|
|
973
|
-
[**
|
|
973
|
+
[**PythonPythonDistributionResponse**](PythonPythonDistributionResponse.md)
|
|
974
974
|
|
|
975
975
|
### Authorization
|
|
976
976
|
|
data/docs/PypiSimpleApi.md
CHANGED
|
@@ -95,7 +95,7 @@ end
|
|
|
95
95
|
|
|
96
96
|
Get package simple page
|
|
97
97
|
|
|
98
|
-
Retrieves the simple api html page for a package.
|
|
98
|
+
Retrieves the simple api html/json page for a package.
|
|
99
99
|
|
|
100
100
|
### Examples
|
|
101
101
|
|
|
@@ -114,6 +114,7 @@ package = 'package_example' # String |
|
|
|
114
114
|
path = 'path_example' # String |
|
|
115
115
|
opts = {
|
|
116
116
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
117
|
+
format: 'html', # String |
|
|
117
118
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
118
119
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
119
120
|
}
|
|
@@ -151,6 +152,7 @@ end
|
|
|
151
152
|
| **package** | **String** | | |
|
|
152
153
|
| **path** | **String** | | |
|
|
153
154
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
155
|
+
| **format** | **String** | | [optional] |
|
|
154
156
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
155
157
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
156
158
|
|
|
@@ -192,6 +194,7 @@ api_instance = PulpPythonClient::PypiSimpleApi.new
|
|
|
192
194
|
path = 'path_example' # String |
|
|
193
195
|
opts = {
|
|
194
196
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
197
|
+
format: 'html', # String |
|
|
195
198
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
196
199
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
197
200
|
}
|
|
@@ -228,6 +231,7 @@ end
|
|
|
228
231
|
| ---- | ---- | ----------- | ----- |
|
|
229
232
|
| **path** | **String** | | |
|
|
230
233
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
234
|
+
| **format** | **String** | | [optional] |
|
|
231
235
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
232
236
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
233
237
|
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
| **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional][readonly] |
|
|
44
44
|
| **python_version** | **String** | The tag that indicates which Python implementation or version the package requires. | [optional][readonly] |
|
|
45
45
|
| **sha256** | **String** | The SHA256 digest of this package. | [optional][default to ''] |
|
|
46
|
+
| **metadata_sha256** | **String** | The SHA256 digest of the package's METADATA file. | [optional] |
|
|
46
47
|
|
|
47
48
|
## Example
|
|
48
49
|
|
|
@@ -88,7 +89,8 @@ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(
|
|
|
88
89
|
filename: null,
|
|
89
90
|
packagetype: null,
|
|
90
91
|
python_version: null,
|
|
91
|
-
sha256: null
|
|
92
|
+
sha256: null,
|
|
93
|
+
metadata_sha256: null
|
|
92
94
|
)
|
|
93
95
|
```
|
|
94
96
|
|
data/docs/RemotesPythonApi.md
CHANGED
|
@@ -603,11 +603,11 @@ end
|
|
|
603
603
|
|
|
604
604
|
## partial_update
|
|
605
605
|
|
|
606
|
-
> <
|
|
606
|
+
> <PythonPythonRemoteResponse> partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
|
607
607
|
|
|
608
608
|
Update a python remote
|
|
609
609
|
|
|
610
|
-
|
|
610
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
611
611
|
|
|
612
612
|
### Examples
|
|
613
613
|
|
|
@@ -641,7 +641,7 @@ end
|
|
|
641
641
|
|
|
642
642
|
This returns an Array which contains the response data, status code and headers.
|
|
643
643
|
|
|
644
|
-
> <Array(<
|
|
644
|
+
> <Array(<PythonPythonRemoteResponse>, Integer, Hash)> partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
|
645
645
|
|
|
646
646
|
```ruby
|
|
647
647
|
begin
|
|
@@ -649,7 +649,7 @@ begin
|
|
|
649
649
|
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
|
650
650
|
p status_code # => 2xx
|
|
651
651
|
p headers # => { ... }
|
|
652
|
-
p data # => <
|
|
652
|
+
p data # => <PythonPythonRemoteResponse>
|
|
653
653
|
rescue PulpPythonClient::ApiError => e
|
|
654
654
|
puts "Error when calling RemotesPythonApi->partial_update_with_http_info: #{e}"
|
|
655
655
|
end
|
|
@@ -665,7 +665,7 @@ end
|
|
|
665
665
|
|
|
666
666
|
### Return type
|
|
667
667
|
|
|
668
|
-
[**
|
|
668
|
+
[**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
|
|
669
669
|
|
|
670
670
|
### Authorization
|
|
671
671
|
|
|
@@ -985,11 +985,11 @@ end
|
|
|
985
985
|
|
|
986
986
|
## update
|
|
987
987
|
|
|
988
|
-
> <
|
|
988
|
+
> <PythonPythonRemoteResponse> update(python_python_remote_href, python_python_remote, opts)
|
|
989
989
|
|
|
990
990
|
Update a python remote
|
|
991
991
|
|
|
992
|
-
|
|
992
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
993
993
|
|
|
994
994
|
### Examples
|
|
995
995
|
|
|
@@ -1023,7 +1023,7 @@ end
|
|
|
1023
1023
|
|
|
1024
1024
|
This returns an Array which contains the response data, status code and headers.
|
|
1025
1025
|
|
|
1026
|
-
> <Array(<
|
|
1026
|
+
> <Array(<PythonPythonRemoteResponse>, Integer, Hash)> update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
|
1027
1027
|
|
|
1028
1028
|
```ruby
|
|
1029
1029
|
begin
|
|
@@ -1031,7 +1031,7 @@ begin
|
|
|
1031
1031
|
data, status_code, headers = api_instance.update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
|
1032
1032
|
p status_code # => 2xx
|
|
1033
1033
|
p headers # => { ... }
|
|
1034
|
-
p data # => <
|
|
1034
|
+
p data # => <PythonPythonRemoteResponse>
|
|
1035
1035
|
rescue PulpPythonClient::ApiError => e
|
|
1036
1036
|
puts "Error when calling RemotesPythonApi->update_with_http_info: #{e}"
|
|
1037
1037
|
end
|
|
@@ -1047,7 +1047,7 @@ end
|
|
|
1047
1047
|
|
|
1048
1048
|
### Return type
|
|
1049
1049
|
|
|
1050
|
-
[**
|
|
1050
|
+
[**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
|
|
1051
1051
|
|
|
1052
1052
|
### Authorization
|
|
1053
1053
|
|
|
@@ -611,11 +611,11 @@ end
|
|
|
611
611
|
|
|
612
612
|
## partial_update
|
|
613
613
|
|
|
614
|
-
> <
|
|
614
|
+
> <PythonPythonRepositoryResponse> partial_update(python_python_repository_href, patchedpython_python_repository, opts)
|
|
615
615
|
|
|
616
616
|
Update a python repository
|
|
617
617
|
|
|
618
|
-
|
|
618
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
619
619
|
|
|
620
620
|
### Examples
|
|
621
621
|
|
|
@@ -649,7 +649,7 @@ end
|
|
|
649
649
|
|
|
650
650
|
This returns an Array which contains the response data, status code and headers.
|
|
651
651
|
|
|
652
|
-
> <Array(<
|
|
652
|
+
> <Array(<PythonPythonRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
|
653
653
|
|
|
654
654
|
```ruby
|
|
655
655
|
begin
|
|
@@ -657,7 +657,7 @@ begin
|
|
|
657
657
|
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
|
658
658
|
p status_code # => 2xx
|
|
659
659
|
p headers # => { ... }
|
|
660
|
-
p data # => <
|
|
660
|
+
p data # => <PythonPythonRepositoryResponse>
|
|
661
661
|
rescue PulpPythonClient::ApiError => e
|
|
662
662
|
puts "Error when calling RepositoriesPythonApi->partial_update_with_http_info: #{e}"
|
|
663
663
|
end
|
|
@@ -673,7 +673,7 @@ end
|
|
|
673
673
|
|
|
674
674
|
### Return type
|
|
675
675
|
|
|
676
|
-
[**
|
|
676
|
+
[**PythonPythonRepositoryResponse**](PythonPythonRepositoryResponse.md)
|
|
677
677
|
|
|
678
678
|
### Authorization
|
|
679
679
|
|
|
@@ -1143,11 +1143,11 @@ end
|
|
|
1143
1143
|
|
|
1144
1144
|
## update
|
|
1145
1145
|
|
|
1146
|
-
> <
|
|
1146
|
+
> <PythonPythonRepositoryResponse> update(python_python_repository_href, python_python_repository, opts)
|
|
1147
1147
|
|
|
1148
1148
|
Update a python repository
|
|
1149
1149
|
|
|
1150
|
-
|
|
1150
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
1151
1151
|
|
|
1152
1152
|
### Examples
|
|
1153
1153
|
|
|
@@ -1181,7 +1181,7 @@ end
|
|
|
1181
1181
|
|
|
1182
1182
|
This returns an Array which contains the response data, status code and headers.
|
|
1183
1183
|
|
|
1184
|
-
> <Array(<
|
|
1184
|
+
> <Array(<PythonPythonRepositoryResponse>, Integer, Hash)> update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
|
1185
1185
|
|
|
1186
1186
|
```ruby
|
|
1187
1187
|
begin
|
|
@@ -1189,7 +1189,7 @@ begin
|
|
|
1189
1189
|
data, status_code, headers = api_instance.update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
|
1190
1190
|
p status_code # => 2xx
|
|
1191
1191
|
p headers # => { ... }
|
|
1192
|
-
p data # => <
|
|
1192
|
+
p data # => <PythonPythonRepositoryResponse>
|
|
1193
1193
|
rescue PulpPythonClient::ApiError => e
|
|
1194
1194
|
puts "Error when calling RepositoriesPythonApi->update_with_http_info: #{e}"
|
|
1195
1195
|
end
|
|
@@ -1205,7 +1205,7 @@ end
|
|
|
1205
1205
|
|
|
1206
1206
|
### Return type
|
|
1207
1207
|
|
|
1208
|
-
[**
|
|
1208
|
+
[**PythonPythonRepositoryResponse**](PythonPythonRepositoryResponse.md)
|
|
1209
1209
|
|
|
1210
1210
|
### Authorization
|
|
1211
1211
|
|
|
@@ -56,6 +56,7 @@ module PulpPythonClient
|
|
|
56
56
|
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
|
57
57
|
# @option opts [Object] :license_file
|
|
58
58
|
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
|
59
|
+
# @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
|
|
59
60
|
# @return [AsyncOperationResponse]
|
|
60
61
|
def create(relative_path, opts = {})
|
|
61
62
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
|
@@ -99,6 +100,7 @@ module PulpPythonClient
|
|
|
99
100
|
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
|
100
101
|
# @option opts [Object] :license_file
|
|
101
102
|
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
|
103
|
+
# @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
|
|
102
104
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
103
105
|
def create_with_http_info(relative_path, opts = {})
|
|
104
106
|
if @api_client.config.debugging
|
|
@@ -120,6 +122,10 @@ module PulpPythonClient
|
|
|
120
122
|
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
|
121
123
|
end
|
|
122
124
|
|
|
125
|
+
if @api_client.config.client_side_validation && !opts[:'metadata_sha256'].nil? && opts[:'metadata_sha256'].to_s.length < 1
|
|
126
|
+
fail ArgumentError, 'invalid value for "opts[:"metadata_sha256"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
|
127
|
+
end
|
|
128
|
+
|
|
123
129
|
# resource path
|
|
124
130
|
local_var_path = '/pulp/api/v3/content/python/packages/'
|
|
125
131
|
|
|
@@ -172,6 +178,7 @@ module PulpPythonClient
|
|
|
172
178
|
form_params['license_expression'] = opts[:'license_expression'] if !opts[:'license_expression'].nil?
|
|
173
179
|
form_params['license_file'] = opts[:'license_file'] if !opts[:'license_file'].nil?
|
|
174
180
|
form_params['sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
|
181
|
+
form_params['metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
|
175
182
|
|
|
176
183
|
# http body (model)
|
|
177
184
|
post_body = opts[:debug_body]
|
|
@@ -214,7 +221,7 @@ module PulpPythonClient
|
|
|
214
221
|
# @option opts [String] :name Filter results where name matches value
|
|
215
222
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
216
223
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
217
|
-
# @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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
224
|
+
# @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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
218
225
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
219
226
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
220
227
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -259,7 +266,7 @@ module PulpPythonClient
|
|
|
259
266
|
# @option opts [String] :name Filter results where name matches value
|
|
260
267
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
261
268
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
262
|
-
# @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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
269
|
+
# @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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
263
270
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
264
271
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
265
272
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -288,7 +295,7 @@ module PulpPythonClient
|
|
|
288
295
|
if @api_client.config.debugging
|
|
289
296
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
|
290
297
|
end
|
|
291
|
-
allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-dynamic", "-filename", "-home_page", "-keywords", "-license", "-license_expression", "-license_file", "-maintainer", "-maintainer_email", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-provides_extras", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "dynamic", "filename", "home_page", "keywords", "license", "license_expression", "license_file", "maintainer", "maintainer_email", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "provides_extras", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
|
298
|
+
allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-dynamic", "-filename", "-home_page", "-keywords", "-license", "-license_expression", "-license_file", "-maintainer", "-maintainer_email", "-metadata_sha256", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-provides_extras", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "dynamic", "filename", "home_page", "keywords", "license", "license_expression", "license_file", "maintainer", "maintainer_email", "metadata_sha256", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "provides_extras", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
|
292
299
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
293
300
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
294
301
|
end
|
|
@@ -633,6 +640,7 @@ module PulpPythonClient
|
|
|
633
640
|
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
|
634
641
|
# @option opts [Object] :license_file
|
|
635
642
|
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
|
643
|
+
# @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
|
|
636
644
|
# @return [PythonPythonPackageContentResponse]
|
|
637
645
|
def upload(opts = {})
|
|
638
646
|
data, _status_code, _headers = upload_with_http_info(opts)
|
|
@@ -674,6 +682,7 @@ module PulpPythonClient
|
|
|
674
682
|
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
|
675
683
|
# @option opts [Object] :license_file
|
|
676
684
|
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
|
685
|
+
# @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
|
|
677
686
|
# @return [Array<(PythonPythonPackageContentResponse, Integer, Hash)>] PythonPythonPackageContentResponse data, response status code and response headers
|
|
678
687
|
def upload_with_http_info(opts = {})
|
|
679
688
|
if @api_client.config.debugging
|
|
@@ -687,6 +696,10 @@ module PulpPythonClient
|
|
|
687
696
|
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ContentPackagesApi.upload, the character length must be great than or equal to 1.'
|
|
688
697
|
end
|
|
689
698
|
|
|
699
|
+
if @api_client.config.client_side_validation && !opts[:'metadata_sha256'].nil? && opts[:'metadata_sha256'].to_s.length < 1
|
|
700
|
+
fail ArgumentError, 'invalid value for "opts[:"metadata_sha256"]" when calling ContentPackagesApi.upload, the character length must be great than or equal to 1.'
|
|
701
|
+
end
|
|
702
|
+
|
|
690
703
|
# resource path
|
|
691
704
|
local_var_path = '/pulp/api/v3/content/python/packages/upload/'
|
|
692
705
|
|
|
@@ -737,6 +750,7 @@ module PulpPythonClient
|
|
|
737
750
|
form_params['license_expression'] = opts[:'license_expression'] if !opts[:'license_expression'].nil?
|
|
738
751
|
form_params['license_file'] = opts[:'license_file'] if !opts[:'license_file'].nil?
|
|
739
752
|
form_params['sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
|
753
|
+
form_params['metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
|
740
754
|
|
|
741
755
|
# http body (model)
|
|
742
756
|
post_body = opts[:debug_body]
|
|
@@ -523,24 +523,24 @@ module PulpPythonClient
|
|
|
523
523
|
end
|
|
524
524
|
|
|
525
525
|
# Update a python distribution
|
|
526
|
-
#
|
|
526
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
527
527
|
# @param python_python_distribution_href [String]
|
|
528
528
|
# @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
|
|
529
529
|
# @param [Hash] opts the optional parameters
|
|
530
530
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
531
|
-
# @return [
|
|
531
|
+
# @return [PythonPythonDistributionResponse]
|
|
532
532
|
def partial_update(python_python_distribution_href, patchedpython_python_distribution, opts = {})
|
|
533
533
|
data, _status_code, _headers = partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
534
534
|
data
|
|
535
535
|
end
|
|
536
536
|
|
|
537
537
|
# Update a python distribution
|
|
538
|
-
#
|
|
538
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
539
539
|
# @param python_python_distribution_href [String]
|
|
540
540
|
# @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
|
|
541
541
|
# @param [Hash] opts the optional parameters
|
|
542
542
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
543
|
-
# @return [Array<(
|
|
543
|
+
# @return [Array<(PythonPythonDistributionResponse, Integer, Hash)>] PythonPythonDistributionResponse data, response status code and response headers
|
|
544
544
|
def partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts = {})
|
|
545
545
|
if @api_client.config.debugging
|
|
546
546
|
@api_client.config.logger.debug 'Calling API: DistributionsPypiApi.partial_update ...'
|
|
@@ -577,7 +577,7 @@ module PulpPythonClient
|
|
|
577
577
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedpython_python_distribution)
|
|
578
578
|
|
|
579
579
|
# return_type
|
|
580
|
-
return_type = opts[:debug_return_type] || '
|
|
580
|
+
return_type = opts[:debug_return_type] || 'PythonPythonDistributionResponse'
|
|
581
581
|
|
|
582
582
|
# auth_names
|
|
583
583
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -903,24 +903,24 @@ module PulpPythonClient
|
|
|
903
903
|
end
|
|
904
904
|
|
|
905
905
|
# Update a python distribution
|
|
906
|
-
#
|
|
906
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
907
907
|
# @param python_python_distribution_href [String]
|
|
908
908
|
# @param python_python_distribution [PythonPythonDistribution]
|
|
909
909
|
# @param [Hash] opts the optional parameters
|
|
910
910
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
911
|
-
# @return [
|
|
911
|
+
# @return [PythonPythonDistributionResponse]
|
|
912
912
|
def update(python_python_distribution_href, python_python_distribution, opts = {})
|
|
913
913
|
data, _status_code, _headers = update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
|
|
914
914
|
data
|
|
915
915
|
end
|
|
916
916
|
|
|
917
917
|
# Update a python distribution
|
|
918
|
-
#
|
|
918
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
919
919
|
# @param python_python_distribution_href [String]
|
|
920
920
|
# @param python_python_distribution [PythonPythonDistribution]
|
|
921
921
|
# @param [Hash] opts the optional parameters
|
|
922
922
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
923
|
-
# @return [Array<(
|
|
923
|
+
# @return [Array<(PythonPythonDistributionResponse, Integer, Hash)>] PythonPythonDistributionResponse data, response status code and response headers
|
|
924
924
|
def update_with_http_info(python_python_distribution_href, python_python_distribution, opts = {})
|
|
925
925
|
if @api_client.config.debugging
|
|
926
926
|
@api_client.config.logger.debug 'Calling API: DistributionsPypiApi.update ...'
|
|
@@ -957,7 +957,7 @@ module PulpPythonClient
|
|
|
957
957
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(python_python_distribution)
|
|
958
958
|
|
|
959
959
|
# return_type
|
|
960
|
-
return_type = opts[:debug_return_type] || '
|
|
960
|
+
return_type = opts[:debug_return_type] || 'PythonPythonDistributionResponse'
|
|
961
961
|
|
|
962
962
|
# auth_names
|
|
963
963
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -120,11 +120,12 @@ module PulpPythonClient
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# Get package simple page
|
|
123
|
-
# Retrieves the simple api html page for a package.
|
|
123
|
+
# Retrieves the simple api html/json page for a package.
|
|
124
124
|
# @param package [String]
|
|
125
125
|
# @param path [String]
|
|
126
126
|
# @param [Hash] opts the optional parameters
|
|
127
127
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
128
|
+
# @option opts [String] :format
|
|
128
129
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
129
130
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
130
131
|
# @return [nil]
|
|
@@ -134,11 +135,12 @@ module PulpPythonClient
|
|
|
134
135
|
end
|
|
135
136
|
|
|
136
137
|
# Get package simple page
|
|
137
|
-
# Retrieves the simple api html page for a package.
|
|
138
|
+
# Retrieves the simple api html/json page for a package.
|
|
138
139
|
# @param package [String]
|
|
139
140
|
# @param path [String]
|
|
140
141
|
# @param [Hash] opts the optional parameters
|
|
141
142
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
143
|
+
# @option opts [String] :format
|
|
142
144
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
143
145
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
144
146
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -154,11 +156,16 @@ module PulpPythonClient
|
|
|
154
156
|
if @api_client.config.client_side_validation && path.nil?
|
|
155
157
|
fail ArgumentError, "Missing the required parameter 'path' when calling PypiSimpleApi.pypi_simple_package_read"
|
|
156
158
|
end
|
|
159
|
+
allowable_values = ["html", "json"]
|
|
160
|
+
if @api_client.config.client_side_validation && opts[:'format'] && !allowable_values.include?(opts[:'format'])
|
|
161
|
+
fail ArgumentError, "invalid value for \"format\", must be one of #{allowable_values}"
|
|
162
|
+
end
|
|
157
163
|
# resource path
|
|
158
164
|
local_var_path = '/pypi/{path}/simple/{package}/'.sub('{' + 'package' + '}', CGI.escape(package.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
|
159
165
|
|
|
160
166
|
# query parameters
|
|
161
167
|
query_params = opts[:query_params] || {}
|
|
168
|
+
query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
|
|
162
169
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
163
170
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
164
171
|
|
|
@@ -200,6 +207,7 @@ module PulpPythonClient
|
|
|
200
207
|
# @param path [String]
|
|
201
208
|
# @param [Hash] opts the optional parameters
|
|
202
209
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
210
|
+
# @option opts [String] :format
|
|
203
211
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
204
212
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
205
213
|
# @return [nil]
|
|
@@ -213,6 +221,7 @@ module PulpPythonClient
|
|
|
213
221
|
# @param path [String]
|
|
214
222
|
# @param [Hash] opts the optional parameters
|
|
215
223
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
224
|
+
# @option opts [String] :format
|
|
216
225
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
217
226
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
218
227
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -224,11 +233,16 @@ module PulpPythonClient
|
|
|
224
233
|
if @api_client.config.client_side_validation && path.nil?
|
|
225
234
|
fail ArgumentError, "Missing the required parameter 'path' when calling PypiSimpleApi.read"
|
|
226
235
|
end
|
|
236
|
+
allowable_values = ["html", "json"]
|
|
237
|
+
if @api_client.config.client_side_validation && opts[:'format'] && !allowable_values.include?(opts[:'format'])
|
|
238
|
+
fail ArgumentError, "invalid value for \"format\", must be one of #{allowable_values}"
|
|
239
|
+
end
|
|
227
240
|
# resource path
|
|
228
241
|
local_var_path = '/pypi/{path}/simple/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
|
229
242
|
|
|
230
243
|
# query parameters
|
|
231
244
|
query_params = opts[:query_params] || {}
|
|
245
|
+
query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
|
|
232
246
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
233
247
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
234
248
|
|
|
@@ -606,24 +606,24 @@ module PulpPythonClient
|
|
|
606
606
|
end
|
|
607
607
|
|
|
608
608
|
# Update a python remote
|
|
609
|
-
#
|
|
609
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
610
610
|
# @param python_python_remote_href [String]
|
|
611
611
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
|
612
612
|
# @param [Hash] opts the optional parameters
|
|
613
613
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
614
|
-
# @return [
|
|
614
|
+
# @return [PythonPythonRemoteResponse]
|
|
615
615
|
def partial_update(python_python_remote_href, patchedpython_python_remote, opts = {})
|
|
616
616
|
data, _status_code, _headers = partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
|
617
617
|
data
|
|
618
618
|
end
|
|
619
619
|
|
|
620
620
|
# Update a python remote
|
|
621
|
-
#
|
|
621
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
622
622
|
# @param python_python_remote_href [String]
|
|
623
623
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
|
624
624
|
# @param [Hash] opts the optional parameters
|
|
625
625
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
626
|
-
# @return [Array<(
|
|
626
|
+
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
|
627
627
|
def partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts = {})
|
|
628
628
|
if @api_client.config.debugging
|
|
629
629
|
@api_client.config.logger.debug 'Calling API: RemotesPythonApi.partial_update ...'
|
|
@@ -660,7 +660,7 @@ module PulpPythonClient
|
|
|
660
660
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedpython_python_remote)
|
|
661
661
|
|
|
662
662
|
# return_type
|
|
663
|
-
return_type = opts[:debug_return_type] || '
|
|
663
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRemoteResponse'
|
|
664
664
|
|
|
665
665
|
# auth_names
|
|
666
666
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -986,24 +986,24 @@ module PulpPythonClient
|
|
|
986
986
|
end
|
|
987
987
|
|
|
988
988
|
# Update a python remote
|
|
989
|
-
#
|
|
989
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
990
990
|
# @param python_python_remote_href [String]
|
|
991
991
|
# @param python_python_remote [PythonPythonRemote]
|
|
992
992
|
# @param [Hash] opts the optional parameters
|
|
993
993
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
994
|
-
# @return [
|
|
994
|
+
# @return [PythonPythonRemoteResponse]
|
|
995
995
|
def update(python_python_remote_href, python_python_remote, opts = {})
|
|
996
996
|
data, _status_code, _headers = update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
|
997
997
|
data
|
|
998
998
|
end
|
|
999
999
|
|
|
1000
1000
|
# Update a python remote
|
|
1001
|
-
#
|
|
1001
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1002
1002
|
# @param python_python_remote_href [String]
|
|
1003
1003
|
# @param python_python_remote [PythonPythonRemote]
|
|
1004
1004
|
# @param [Hash] opts the optional parameters
|
|
1005
1005
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1006
|
-
# @return [Array<(
|
|
1006
|
+
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
|
1007
1007
|
def update_with_http_info(python_python_remote_href, python_python_remote, opts = {})
|
|
1008
1008
|
if @api_client.config.debugging
|
|
1009
1009
|
@api_client.config.logger.debug 'Calling API: RemotesPythonApi.update ...'
|
|
@@ -1040,7 +1040,7 @@ module PulpPythonClient
|
|
|
1040
1040
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(python_python_remote)
|
|
1041
1041
|
|
|
1042
1042
|
# return_type
|
|
1043
|
-
return_type = opts[:debug_return_type] || '
|
|
1043
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRemoteResponse'
|
|
1044
1044
|
|
|
1045
1045
|
# auth_names
|
|
1046
1046
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -609,24 +609,24 @@ module PulpPythonClient
|
|
|
609
609
|
end
|
|
610
610
|
|
|
611
611
|
# Update a python repository
|
|
612
|
-
#
|
|
612
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
613
613
|
# @param python_python_repository_href [String]
|
|
614
614
|
# @param patchedpython_python_repository [PatchedpythonPythonRepository]
|
|
615
615
|
# @param [Hash] opts the optional parameters
|
|
616
616
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
617
|
-
# @return [
|
|
617
|
+
# @return [PythonPythonRepositoryResponse]
|
|
618
618
|
def partial_update(python_python_repository_href, patchedpython_python_repository, opts = {})
|
|
619
619
|
data, _status_code, _headers = partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
|
620
620
|
data
|
|
621
621
|
end
|
|
622
622
|
|
|
623
623
|
# Update a python repository
|
|
624
|
-
#
|
|
624
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
625
625
|
# @param python_python_repository_href [String]
|
|
626
626
|
# @param patchedpython_python_repository [PatchedpythonPythonRepository]
|
|
627
627
|
# @param [Hash] opts the optional parameters
|
|
628
628
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
629
|
-
# @return [Array<(
|
|
629
|
+
# @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
|
|
630
630
|
def partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts = {})
|
|
631
631
|
if @api_client.config.debugging
|
|
632
632
|
@api_client.config.logger.debug 'Calling API: RepositoriesPythonApi.partial_update ...'
|
|
@@ -663,7 +663,7 @@ module PulpPythonClient
|
|
|
663
663
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedpython_python_repository)
|
|
664
664
|
|
|
665
665
|
# return_type
|
|
666
|
-
return_type = opts[:debug_return_type] || '
|
|
666
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRepositoryResponse'
|
|
667
667
|
|
|
668
668
|
# auth_names
|
|
669
669
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -1132,24 +1132,24 @@ module PulpPythonClient
|
|
|
1132
1132
|
end
|
|
1133
1133
|
|
|
1134
1134
|
# Update a python repository
|
|
1135
|
-
#
|
|
1135
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1136
1136
|
# @param python_python_repository_href [String]
|
|
1137
1137
|
# @param python_python_repository [PythonPythonRepository]
|
|
1138
1138
|
# @param [Hash] opts the optional parameters
|
|
1139
1139
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1140
|
-
# @return [
|
|
1140
|
+
# @return [PythonPythonRepositoryResponse]
|
|
1141
1141
|
def update(python_python_repository_href, python_python_repository, opts = {})
|
|
1142
1142
|
data, _status_code, _headers = update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
|
1143
1143
|
data
|
|
1144
1144
|
end
|
|
1145
1145
|
|
|
1146
1146
|
# Update a python repository
|
|
1147
|
-
#
|
|
1147
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1148
1148
|
# @param python_python_repository_href [String]
|
|
1149
1149
|
# @param python_python_repository [PythonPythonRepository]
|
|
1150
1150
|
# @param [Hash] opts the optional parameters
|
|
1151
1151
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1152
|
-
# @return [Array<(
|
|
1152
|
+
# @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
|
|
1153
1153
|
def update_with_http_info(python_python_repository_href, python_python_repository, opts = {})
|
|
1154
1154
|
if @api_client.config.debugging
|
|
1155
1155
|
@api_client.config.logger.debug 'Calling API: RepositoriesPythonApi.update ...'
|
|
@@ -1186,7 +1186,7 @@ module PulpPythonClient
|
|
|
1186
1186
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(python_python_repository)
|
|
1187
1187
|
|
|
1188
1188
|
# return_type
|
|
1189
|
-
return_type = opts[:debug_return_type] || '
|
|
1189
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRepositoryResponse'
|
|
1190
1190
|
|
|
1191
1191
|
# auth_names
|
|
1192
1192
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -122,6 +122,9 @@ module PulpPythonClient
|
|
|
122
122
|
# The SHA256 digest of this package.
|
|
123
123
|
attr_accessor :sha256
|
|
124
124
|
|
|
125
|
+
# The SHA256 digest of the package's METADATA file.
|
|
126
|
+
attr_accessor :metadata_sha256
|
|
127
|
+
|
|
125
128
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
126
129
|
def self.attribute_map
|
|
127
130
|
{
|
|
@@ -163,7 +166,8 @@ module PulpPythonClient
|
|
|
163
166
|
:'filename' => :'filename',
|
|
164
167
|
:'packagetype' => :'packagetype',
|
|
165
168
|
:'python_version' => :'python_version',
|
|
166
|
-
:'sha256' => :'sha256'
|
|
169
|
+
:'sha256' => :'sha256',
|
|
170
|
+
:'metadata_sha256' => :'metadata_sha256'
|
|
167
171
|
}
|
|
168
172
|
end
|
|
169
173
|
|
|
@@ -213,7 +217,8 @@ module PulpPythonClient
|
|
|
213
217
|
:'filename' => :'String',
|
|
214
218
|
:'packagetype' => :'String',
|
|
215
219
|
:'python_version' => :'String',
|
|
216
|
-
:'sha256' => :'String'
|
|
220
|
+
:'sha256' => :'String',
|
|
221
|
+
:'metadata_sha256' => :'String'
|
|
217
222
|
}
|
|
218
223
|
end
|
|
219
224
|
|
|
@@ -229,6 +234,7 @@ module PulpPythonClient
|
|
|
229
234
|
:'provides_extras',
|
|
230
235
|
:'dynamic',
|
|
231
236
|
:'license_file',
|
|
237
|
+
:'metadata_sha256'
|
|
232
238
|
])
|
|
233
239
|
end
|
|
234
240
|
|
|
@@ -406,6 +412,10 @@ module PulpPythonClient
|
|
|
406
412
|
else
|
|
407
413
|
self.sha256 = ''
|
|
408
414
|
end
|
|
415
|
+
|
|
416
|
+
if attributes.key?(:'metadata_sha256')
|
|
417
|
+
self.metadata_sha256 = attributes[:'metadata_sha256']
|
|
418
|
+
end
|
|
409
419
|
end
|
|
410
420
|
|
|
411
421
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -466,7 +476,8 @@ module PulpPythonClient
|
|
|
466
476
|
filename == o.filename &&
|
|
467
477
|
packagetype == o.packagetype &&
|
|
468
478
|
python_version == o.python_version &&
|
|
469
|
-
sha256 == o.sha256
|
|
479
|
+
sha256 == o.sha256 &&
|
|
480
|
+
metadata_sha256 == o.metadata_sha256
|
|
470
481
|
end
|
|
471
482
|
|
|
472
483
|
# @see the `==` method
|
|
@@ -478,7 +489,7 @@ module PulpPythonClient
|
|
|
478
489
|
# Calculates hash code according to all attributes.
|
|
479
490
|
# @return [Integer] Hash code
|
|
480
491
|
def hash
|
|
481
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, author, author_email, description, home_page, keywords, license, metadata_version, name, platform, summary, version, classifiers, download_url, supported_platform, maintainer, maintainer_email, obsoletes_dist, project_url, project_urls, provides_dist, requires_external, requires_dist, requires_python, description_content_type, provides_extras, dynamic, license_expression, license_file, filename, packagetype, python_version, sha256].hash
|
|
492
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, author, author_email, description, home_page, keywords, license, metadata_version, name, platform, summary, version, classifiers, download_url, supported_platform, maintainer, maintainer_email, obsoletes_dist, project_url, project_urls, provides_dist, requires_external, requires_dist, requires_python, description_content_type, provides_extras, dynamic, license_expression, license_file, filename, packagetype, python_version, sha256, metadata_sha256].hash
|
|
482
493
|
end
|
|
483
494
|
|
|
484
495
|
# Builds the object from hash
|
|
@@ -70,6 +70,7 @@ describe 'ContentPackagesApi' do
|
|
|
70
70
|
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
|
71
71
|
# @option opts [Object] :license_file
|
|
72
72
|
# @option opts [String] :sha256 The SHA256 digest of this package.
|
|
73
|
+
# @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
|
|
73
74
|
# @return [AsyncOperationResponse]
|
|
74
75
|
describe 'create test' do
|
|
75
76
|
it 'should work' do
|
|
@@ -93,7 +94,7 @@ describe 'ContentPackagesApi' do
|
|
|
93
94
|
# @option opts [String] :name Filter results where name matches value
|
|
94
95
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
95
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
96
|
-
# @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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
97
98
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
98
99
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
99
100
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -203,6 +204,7 @@ describe 'ContentPackagesApi' do
|
|
|
203
204
|
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
|
204
205
|
# @option opts [Object] :license_file
|
|
205
206
|
# @option opts [String] :sha256 The SHA256 digest of this package.
|
|
207
|
+
# @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
|
|
206
208
|
# @return [PythonPythonPackageContentResponse]
|
|
207
209
|
describe 'upload test' do
|
|
208
210
|
it 'should work' do
|
|
@@ -143,12 +143,12 @@ describe 'DistributionsPypiApi' do
|
|
|
143
143
|
|
|
144
144
|
# unit tests for partial_update
|
|
145
145
|
# Update a python distribution
|
|
146
|
-
#
|
|
146
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
147
147
|
# @param python_python_distribution_href
|
|
148
148
|
# @param patchedpython_python_distribution
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
151
|
-
# @return [
|
|
151
|
+
# @return [PythonPythonDistributionResponse]
|
|
152
152
|
describe 'partial_update test' do
|
|
153
153
|
it 'should work' do
|
|
154
154
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -214,12 +214,12 @@ describe 'DistributionsPypiApi' do
|
|
|
214
214
|
|
|
215
215
|
# unit tests for update
|
|
216
216
|
# Update a python distribution
|
|
217
|
-
#
|
|
217
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
218
218
|
# @param python_python_distribution_href
|
|
219
219
|
# @param python_python_distribution
|
|
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
|
-
# @return [
|
|
222
|
+
# @return [PythonPythonDistributionResponse]
|
|
223
223
|
describe 'update test' do
|
|
224
224
|
it 'should work' do
|
|
225
225
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -50,11 +50,12 @@ describe 'PypiSimpleApi' do
|
|
|
50
50
|
|
|
51
51
|
# unit tests for pypi_simple_package_read
|
|
52
52
|
# Get package simple page
|
|
53
|
-
# Retrieves the simple api html page for a package.
|
|
53
|
+
# Retrieves the simple api html/json page for a package.
|
|
54
54
|
# @param package
|
|
55
55
|
# @param path
|
|
56
56
|
# @param [Hash] opts the optional parameters
|
|
57
57
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
58
|
+
# @option opts [String] :format
|
|
58
59
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
59
60
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
60
61
|
# @return [nil]
|
|
@@ -70,6 +71,7 @@ describe 'PypiSimpleApi' do
|
|
|
70
71
|
# @param path
|
|
71
72
|
# @param [Hash] opts the optional parameters
|
|
72
73
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
74
|
+
# @option opts [String] :format
|
|
73
75
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
74
76
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
75
77
|
# @return [nil]
|
|
@@ -157,12 +157,12 @@ describe 'RemotesPythonApi' do
|
|
|
157
157
|
|
|
158
158
|
# unit tests for partial_update
|
|
159
159
|
# Update a python remote
|
|
160
|
-
#
|
|
160
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
161
161
|
# @param python_python_remote_href
|
|
162
162
|
# @param patchedpython_python_remote
|
|
163
163
|
# @param [Hash] opts the optional parameters
|
|
164
164
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
165
|
-
# @return [
|
|
165
|
+
# @return [PythonPythonRemoteResponse]
|
|
166
166
|
describe 'partial_update test' do
|
|
167
167
|
it 'should work' do
|
|
168
168
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -228,12 +228,12 @@ describe 'RemotesPythonApi' do
|
|
|
228
228
|
|
|
229
229
|
# unit tests for update
|
|
230
230
|
# Update a python remote
|
|
231
|
-
#
|
|
231
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
232
232
|
# @param python_python_remote_href
|
|
233
233
|
# @param python_python_remote
|
|
234
234
|
# @param [Hash] opts the optional parameters
|
|
235
235
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
236
|
-
# @return [
|
|
236
|
+
# @return [PythonPythonRemoteResponse]
|
|
237
237
|
describe 'update test' do
|
|
238
238
|
it 'should work' do
|
|
239
239
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -160,12 +160,12 @@ describe 'RepositoriesPythonApi' do
|
|
|
160
160
|
|
|
161
161
|
# unit tests for partial_update
|
|
162
162
|
# Update a python repository
|
|
163
|
-
#
|
|
163
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
164
164
|
# @param python_python_repository_href
|
|
165
165
|
# @param patchedpython_python_repository
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
|
-
# @return [
|
|
168
|
+
# @return [PythonPythonRepositoryResponse]
|
|
169
169
|
describe 'partial_update test' do
|
|
170
170
|
it 'should work' do
|
|
171
171
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -258,12 +258,12 @@ describe 'RepositoriesPythonApi' do
|
|
|
258
258
|
|
|
259
259
|
# unit tests for update
|
|
260
260
|
# Update a python repository
|
|
261
|
-
#
|
|
261
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
262
262
|
# @param python_python_repository_href
|
|
263
263
|
# @param python_python_repository
|
|
264
264
|
# @param [Hash] opts the optional parameters
|
|
265
265
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
266
|
-
# @return [
|
|
266
|
+
# @return [PythonPythonRepositoryResponse]
|
|
267
267
|
describe 'update test' do
|
|
268
268
|
it 'should work' do
|
|
269
269
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -261,4 +261,10 @@ describe PulpPythonClient::PythonPythonPackageContentResponse do
|
|
|
261
261
|
end
|
|
262
262
|
end
|
|
263
263
|
|
|
264
|
+
describe 'test attribute "metadata_sha256"' do
|
|
265
|
+
it 'should work' do
|
|
266
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
264
270
|
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.20.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: 2025-
|
|
11
|
+
date: 2025-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -268,51 +268,51 @@ summary: Pulp 3 API Ruby Gem
|
|
|
268
268
|
test_files:
|
|
269
269
|
- spec/api/content_packages_api_spec.rb
|
|
270
270
|
- spec/api/publications_pypi_api_spec.rb
|
|
271
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
|
272
|
-
- spec/api/pypi_simple_api_spec.rb
|
|
273
271
|
- spec/api/distributions_pypi_api_spec.rb
|
|
274
|
-
- spec/api/repositories_python_api_spec.rb
|
|
275
|
-
- spec/api/pypi_legacy_api_spec.rb
|
|
276
272
|
- spec/api/remotes_python_api_spec.rb
|
|
277
|
-
- spec/api/pypi_metadata_api_spec.rb
|
|
278
273
|
- spec/api/pypi_api_spec.rb
|
|
279
|
-
- spec/
|
|
280
|
-
- spec/
|
|
281
|
-
- spec/
|
|
274
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
|
275
|
+
- spec/api/pypi_legacy_api_spec.rb
|
|
276
|
+
- spec/api/pypi_metadata_api_spec.rb
|
|
277
|
+
- spec/api/pypi_simple_api_spec.rb
|
|
278
|
+
- spec/api/repositories_python_api_spec.rb
|
|
279
|
+
- spec/models/python_python_publication_response_spec.rb
|
|
280
|
+
- spec/models/unset_label_response_spec.rb
|
|
282
281
|
- spec/models/python_python_remote_response_spec.rb
|
|
283
|
-
- spec/models/set_label_spec.rb
|
|
284
|
-
- spec/models/object_roles_response_spec.rb
|
|
285
282
|
- spec/models/python_python_package_content_response_spec.rb
|
|
286
|
-
- spec/models/
|
|
287
|
-
- spec/models/
|
|
283
|
+
- spec/models/repository_version_response_spec.rb
|
|
284
|
+
- spec/models/set_label_spec.rb
|
|
285
|
+
- spec/models/my_permissions_response_spec.rb
|
|
288
286
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
289
|
-
- spec/models/
|
|
290
|
-
- spec/models/
|
|
291
|
-
- spec/models/
|
|
292
|
-
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
287
|
+
- spec/models/repair_spec.rb
|
|
288
|
+
- spec/models/python_python_publication_spec.rb
|
|
289
|
+
- spec/models/package_metadata_response_spec.rb
|
|
293
290
|
- spec/models/python_python_repository_response_spec.rb
|
|
291
|
+
- spec/models/async_operation_response_spec.rb
|
|
292
|
+
- spec/models/package_upload_task_response_spec.rb
|
|
293
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
294
294
|
- spec/models/patchedpython_python_distribution_spec.rb
|
|
295
|
-
- spec/models/unset_label_spec.rb
|
|
296
295
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
297
|
-
- spec/models/
|
|
298
|
-
- spec/models/
|
|
299
|
-
- spec/models/
|
|
300
|
-
- spec/models/python_python_distribution_spec.rb
|
|
301
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
|
302
|
-
- spec/models/unset_label_response_spec.rb
|
|
303
|
-
- spec/models/package_types_enum_spec.rb
|
|
304
|
-
- spec/models/async_operation_response_spec.rb
|
|
296
|
+
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
297
|
+
- spec/models/nested_role_spec.rb
|
|
298
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
|
305
299
|
- spec/models/patchedpython_python_remote_spec.rb
|
|
306
|
-
- spec/models/
|
|
307
|
-
- spec/models/
|
|
308
|
-
- spec/models/
|
|
309
|
-
- spec/models/repair_spec.rb
|
|
310
|
-
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
311
|
-
- spec/models/python_python_remote_spec.rb
|
|
300
|
+
- spec/models/repository_sync_url_spec.rb
|
|
301
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
302
|
+
- spec/models/summary_response_spec.rb
|
|
312
303
|
- spec/models/set_label_response_spec.rb
|
|
313
|
-
- spec/models/
|
|
304
|
+
- spec/models/unset_label_spec.rb
|
|
305
|
+
- spec/models/python_python_remote_spec.rb
|
|
306
|
+
- spec/models/policy_enum_spec.rb
|
|
307
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
308
|
+
- spec/models/python_python_distribution_response_spec.rb
|
|
309
|
+
- spec/models/object_roles_response_spec.rb
|
|
310
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
311
|
+
- spec/models/nested_role_response_spec.rb
|
|
314
312
|
- spec/models/content_summary_response_spec.rb
|
|
315
|
-
- spec/models/
|
|
316
|
-
- spec/models/
|
|
317
|
-
- spec/models/
|
|
313
|
+
- spec/models/python_python_repository_spec.rb
|
|
314
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
|
315
|
+
- spec/models/package_types_enum_spec.rb
|
|
316
|
+
- spec/models/python_python_distribution_spec.rb
|
|
317
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
|
318
318
|
- spec/spec_helper.rb
|