pulp_python_client 3.27.4 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -5
- data/docs/ContentPackagesApi.md +8 -12
- data/docs/ContentProvenanceApi.md +0 -2
- data/docs/PatchedpythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepositoryResponse.md +3 -1
- data/docs/RepositoryAddRemoveContent.md +1 -3
- data/lib/pulp_python_client/api/content_packages_api.rb +9 -15
- data/lib/pulp_python_client/api/content_provenance_api.rb +0 -3
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +16 -4
- data/lib/pulp_python_client/models/python_python_repository.rb +16 -4
- data/lib/pulp_python_client/models/python_python_repository_response.rb +16 -4
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +4 -16
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +4 -6
- data/spec/api/content_provenance_api_spec.rb +0 -1
- data/spec/models/patchedpython_python_repository_spec.rb +6 -0
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/python_python_repository_spec.rb +6 -0
- data/spec/models/repository_add_remove_content_spec.rb +0 -6
- metadata +46 -46
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec76b67869190bcdcd7603006b49cd48984fa4a0e04bb456c6d3b42913f3c5ce
|
|
4
|
+
data.tar.gz: df959c1ac5c4e0bb5f24f3a06b67f01de7abeff6b9973c8a9534b92d86e8c90d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 04ed2e73eb0c2df1ba4eee1ab8cc19ba330d00f179ab0c754de0364c755271ba00baeb5deb869c1eb6067f0a9d3782ac49fbe8b3bc969bf9a0455e7230c7c7af
|
|
7
|
+
data.tar.gz: f3d353017e7fcf5a7947f3b0f7ed18547b20a9cec64f4398ab74249b146f1384365d904f06fe4817cc15f6c08e084af259a896b6c6fb4e12d1c11d79f96a71c1
|
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.28.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.28.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.28.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.28.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -72,7 +72,6 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
|
72
72
|
opts = {
|
|
73
73
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
74
74
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
75
|
-
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
76
75
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
77
76
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
78
77
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -37,7 +37,6 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
|
37
37
|
opts = {
|
|
38
38
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
39
39
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
40
|
-
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
41
40
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
42
41
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
43
42
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
@@ -108,7 +107,6 @@ end
|
|
|
108
107
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
|
109
108
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
110
109
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
111
|
-
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
112
110
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
113
111
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
114
112
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
@@ -190,11 +188,11 @@ opts = {
|
|
|
190
188
|
keywords__contains: 'keywords__contains_example', # String | Filter results where keywords contains value
|
|
191
189
|
keywords__in: ['inner_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
|
|
192
190
|
limit: 56, # Integer | Number of results to return per page.
|
|
193
|
-
name: 'name_example', # String |
|
|
194
|
-
name__contains: 'name__contains_example', # String |
|
|
195
|
-
name__in: ['inner_example'], # Array<String> |
|
|
191
|
+
name: 'name_example', # String |
|
|
192
|
+
name__contains: 'name__contains_example', # String |
|
|
193
|
+
name__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
196
194
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
197
|
-
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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
195
|
+
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) * `name_normalized` - Name normalized * `-name_normalized` - Name normalized (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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
198
196
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
199
197
|
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
|
|
200
198
|
packagetype__in: ['inner_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
|
@@ -261,11 +259,11 @@ end
|
|
|
261
259
|
| **keywords__contains** | **String** | Filter results where keywords contains value | [optional] |
|
|
262
260
|
| **keywords__in** | [**Array<String>**](String.md) | Filter results where keywords is in a comma-separated list of values | [optional] |
|
|
263
261
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
264
|
-
| **name** | **String** |
|
|
265
|
-
| **name__contains** | **String** |
|
|
266
|
-
| **name__in** | [**Array<String>**](String.md) |
|
|
262
|
+
| **name** | **String** | | [optional] |
|
|
263
|
+
| **name__contains** | **String** | | [optional] |
|
|
264
|
+
| **name__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
267
265
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
268
|
-
| **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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
266
|
+
| **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) * `name_normalized` - Name normalized * `-name_normalized` - Name normalized (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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
269
267
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
270
268
|
| **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] |
|
|
271
269
|
| **packagetype__in** | [**Array<String>**](String.md) | Filter results where packagetype is in a comma-separated list of values | [optional] |
|
|
@@ -557,7 +555,6 @@ end
|
|
|
557
555
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
558
556
|
opts = {
|
|
559
557
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
560
|
-
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
561
558
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
562
559
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
563
560
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
@@ -626,7 +623,6 @@ end
|
|
|
626
623
|
| Name | Type | Description | Notes |
|
|
627
624
|
| ---- | ---- | ----------- | ----- |
|
|
628
625
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
629
|
-
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
630
626
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
631
627
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
632
628
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
@@ -36,7 +36,6 @@ package = 'package_example' # String | The package that the provenance is for.
|
|
|
36
36
|
opts = {
|
|
37
37
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
38
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
39
|
-
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
40
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
42
41
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
@@ -79,7 +78,6 @@ end
|
|
|
79
78
|
| **package** | **String** | The package that the provenance is for. | |
|
|
80
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
81
80
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
82
|
-
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
83
81
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
84
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
85
83
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
12
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
13
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
14
|
+
| **allow_package_substitution** | **Boolean** | Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed. | [optional][default to true] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,7 +25,8 @@ instance = PulpPythonClient::PatchedpythonPythonRepository.new(
|
|
|
24
25
|
retain_repo_versions: null,
|
|
25
26
|
retain_checkpoints: null,
|
|
26
27
|
remote: null,
|
|
27
|
-
autopublish: null
|
|
28
|
+
autopublish: null,
|
|
29
|
+
allow_package_substitution: null
|
|
28
30
|
)
|
|
29
31
|
```
|
|
30
32
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
12
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
13
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
14
|
+
| **allow_package_substitution** | **Boolean** | Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed. | [optional][default to true] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,7 +25,8 @@ instance = PulpPythonClient::PythonPythonRepository.new(
|
|
|
24
25
|
retain_repo_versions: null,
|
|
25
26
|
retain_checkpoints: null,
|
|
26
27
|
remote: null,
|
|
27
|
-
autopublish: null
|
|
28
|
+
autopublish: null,
|
|
29
|
+
allow_package_substitution: null
|
|
28
30
|
)
|
|
29
31
|
```
|
|
30
32
|
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
18
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
19
19
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
20
|
+
| **allow_package_substitution** | **Boolean** | Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed. | [optional][default to true] |
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -36,7 +37,8 @@ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(
|
|
|
36
37
|
retain_repo_versions: null,
|
|
37
38
|
retain_checkpoints: null,
|
|
38
39
|
remote: null,
|
|
39
|
-
autopublish: null
|
|
40
|
+
autopublish: null,
|
|
41
|
+
allow_package_substitution: null
|
|
40
42
|
)
|
|
41
43
|
```
|
|
42
44
|
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
-
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
@@ -17,8 +16,7 @@ require 'pulp_python_client'
|
|
|
17
16
|
instance = PulpPythonClient::RepositoryAddRemoveContent.new(
|
|
18
17
|
add_content_units: null,
|
|
19
18
|
remove_content_units: null,
|
|
20
|
-
base_version: null
|
|
21
|
-
overwrite: null
|
|
19
|
+
base_version: null
|
|
22
20
|
)
|
|
23
21
|
```
|
|
24
22
|
|
|
@@ -25,7 +25,6 @@ module PulpPythonClient
|
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
28
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
29
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
31
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -72,7 +71,6 @@ module PulpPythonClient
|
|
|
72
71
|
# @param [Hash] opts the optional parameters
|
|
73
72
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
74
73
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
75
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
76
74
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
77
75
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
78
76
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -153,7 +151,6 @@ module PulpPythonClient
|
|
|
153
151
|
form_params = opts[:form_params] || {}
|
|
154
152
|
form_params['relative_path'] = relative_path
|
|
155
153
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
156
|
-
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
157
154
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
158
155
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
159
156
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
@@ -228,11 +225,11 @@ module PulpPythonClient
|
|
|
228
225
|
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
|
229
226
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
230
227
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
231
|
-
# @option opts [String] :name
|
|
232
|
-
# @option opts [String] :name__contains
|
|
233
|
-
# @option opts [Array<String>] :name__in
|
|
228
|
+
# @option opts [String] :name
|
|
229
|
+
# @option opts [String] :name__contains
|
|
230
|
+
# @option opts [Array<String>] :name__in Multiple values may be separated by commas.
|
|
234
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
235
|
-
# @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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
232
|
+
# @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) * `name_normalized` - Name normalized * `-name_normalized` - Name normalized (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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
236
233
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
237
234
|
# @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
|
|
238
235
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -275,11 +272,11 @@ module PulpPythonClient
|
|
|
275
272
|
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
|
276
273
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
277
274
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
278
|
-
# @option opts [String] :name
|
|
279
|
-
# @option opts [String] :name__contains
|
|
280
|
-
# @option opts [Array<String>] :name__in
|
|
275
|
+
# @option opts [String] :name
|
|
276
|
+
# @option opts [String] :name__contains
|
|
277
|
+
# @option opts [Array<String>] :name__in Multiple values may be separated by commas.
|
|
281
278
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
282
|
-
# @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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
279
|
+
# @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) * `name_normalized` - Name normalized * `-name_normalized` - Name normalized (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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
283
280
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
284
281
|
# @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
|
|
285
282
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -308,7 +305,7 @@ module PulpPythonClient
|
|
|
308
305
|
if @api_client.config.debugging
|
|
309
306
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
|
310
307
|
end
|
|
311
|
-
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", "-size", "-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", "size", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
|
308
|
+
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", "-name_normalized", "-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", "-size", "-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", "name_normalized", "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", "size", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
|
312
309
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
313
310
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
314
311
|
end
|
|
@@ -624,7 +621,6 @@ module PulpPythonClient
|
|
|
624
621
|
# Create a Python package.
|
|
625
622
|
# @param [Hash] opts the optional parameters
|
|
626
623
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
627
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
628
624
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
629
625
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
630
626
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -669,7 +665,6 @@ module PulpPythonClient
|
|
|
669
665
|
# Create a Python package.
|
|
670
666
|
# @param [Hash] opts the optional parameters
|
|
671
667
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
672
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
673
668
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
674
669
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
675
670
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -740,7 +735,6 @@ module PulpPythonClient
|
|
|
740
735
|
|
|
741
736
|
# form parameters
|
|
742
737
|
form_params = opts[:form_params] || {}
|
|
743
|
-
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
744
738
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
745
739
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
746
740
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
@@ -25,7 +25,6 @@ module PulpPythonClient
|
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
28
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
29
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
31
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -44,7 +43,6 @@ module PulpPythonClient
|
|
|
44
43
|
# @param [Hash] opts the optional parameters
|
|
45
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
46
45
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
47
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
48
46
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
47
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
50
48
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -85,7 +83,6 @@ module PulpPythonClient
|
|
|
85
83
|
form_params = opts[:form_params] || {}
|
|
86
84
|
form_params['package'] = package
|
|
87
85
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
88
|
-
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
89
86
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
90
87
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
91
88
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
@@ -36,6 +36,9 @@ module PulpPythonClient
|
|
|
36
36
|
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
37
37
|
attr_accessor :autopublish
|
|
38
38
|
|
|
39
|
+
# Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed.
|
|
40
|
+
attr_accessor :allow_package_substitution
|
|
41
|
+
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
43
|
def self.attribute_map
|
|
41
44
|
{
|
|
@@ -45,7 +48,8 @@ module PulpPythonClient
|
|
|
45
48
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
49
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
47
50
|
:'remote' => :'remote',
|
|
48
|
-
:'autopublish' => :'autopublish'
|
|
51
|
+
:'autopublish' => :'autopublish',
|
|
52
|
+
:'allow_package_substitution' => :'allow_package_substitution'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -63,7 +67,8 @@ module PulpPythonClient
|
|
|
63
67
|
:'retain_repo_versions' => :'Integer',
|
|
64
68
|
:'retain_checkpoints' => :'Integer',
|
|
65
69
|
:'remote' => :'String',
|
|
66
|
-
:'autopublish' => :'Boolean'
|
|
70
|
+
:'autopublish' => :'Boolean',
|
|
71
|
+
:'allow_package_substitution' => :'Boolean'
|
|
67
72
|
}
|
|
68
73
|
end
|
|
69
74
|
|
|
@@ -123,6 +128,12 @@ module PulpPythonClient
|
|
|
123
128
|
else
|
|
124
129
|
self.autopublish = false
|
|
125
130
|
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'allow_package_substitution')
|
|
133
|
+
self.allow_package_substitution = attributes[:'allow_package_substitution']
|
|
134
|
+
else
|
|
135
|
+
self.allow_package_substitution = true
|
|
136
|
+
end
|
|
126
137
|
end
|
|
127
138
|
|
|
128
139
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -215,7 +226,8 @@ module PulpPythonClient
|
|
|
215
226
|
retain_repo_versions == o.retain_repo_versions &&
|
|
216
227
|
retain_checkpoints == o.retain_checkpoints &&
|
|
217
228
|
remote == o.remote &&
|
|
218
|
-
autopublish == o.autopublish
|
|
229
|
+
autopublish == o.autopublish &&
|
|
230
|
+
allow_package_substitution == o.allow_package_substitution
|
|
219
231
|
end
|
|
220
232
|
|
|
221
233
|
# @see the `==` method
|
|
@@ -227,7 +239,7 @@ module PulpPythonClient
|
|
|
227
239
|
# Calculates hash code according to all attributes.
|
|
228
240
|
# @return [Integer] Hash code
|
|
229
241
|
def hash
|
|
230
|
-
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
242
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, allow_package_substitution].hash
|
|
231
243
|
end
|
|
232
244
|
|
|
233
245
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module PulpPythonClient
|
|
|
36
36
|
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
37
37
|
attr_accessor :autopublish
|
|
38
38
|
|
|
39
|
+
# Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed.
|
|
40
|
+
attr_accessor :allow_package_substitution
|
|
41
|
+
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
43
|
def self.attribute_map
|
|
41
44
|
{
|
|
@@ -45,7 +48,8 @@ module PulpPythonClient
|
|
|
45
48
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
49
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
47
50
|
:'remote' => :'remote',
|
|
48
|
-
:'autopublish' => :'autopublish'
|
|
51
|
+
:'autopublish' => :'autopublish',
|
|
52
|
+
:'allow_package_substitution' => :'allow_package_substitution'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -63,7 +67,8 @@ module PulpPythonClient
|
|
|
63
67
|
:'retain_repo_versions' => :'Integer',
|
|
64
68
|
:'retain_checkpoints' => :'Integer',
|
|
65
69
|
:'remote' => :'String',
|
|
66
|
-
:'autopublish' => :'Boolean'
|
|
70
|
+
:'autopublish' => :'Boolean',
|
|
71
|
+
:'allow_package_substitution' => :'Boolean'
|
|
67
72
|
}
|
|
68
73
|
end
|
|
69
74
|
|
|
@@ -125,6 +130,12 @@ module PulpPythonClient
|
|
|
125
130
|
else
|
|
126
131
|
self.autopublish = false
|
|
127
132
|
end
|
|
133
|
+
|
|
134
|
+
if attributes.key?(:'allow_package_substitution')
|
|
135
|
+
self.allow_package_substitution = attributes[:'allow_package_substitution']
|
|
136
|
+
else
|
|
137
|
+
self.allow_package_substitution = true
|
|
138
|
+
end
|
|
128
139
|
end
|
|
129
140
|
|
|
130
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -222,7 +233,8 @@ module PulpPythonClient
|
|
|
222
233
|
retain_repo_versions == o.retain_repo_versions &&
|
|
223
234
|
retain_checkpoints == o.retain_checkpoints &&
|
|
224
235
|
remote == o.remote &&
|
|
225
|
-
autopublish == o.autopublish
|
|
236
|
+
autopublish == o.autopublish &&
|
|
237
|
+
allow_package_substitution == o.allow_package_substitution
|
|
226
238
|
end
|
|
227
239
|
|
|
228
240
|
# @see the `==` method
|
|
@@ -234,7 +246,7 @@ module PulpPythonClient
|
|
|
234
246
|
# Calculates hash code according to all attributes.
|
|
235
247
|
# @return [Integer] Hash code
|
|
236
248
|
def hash
|
|
237
|
-
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
249
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, allow_package_substitution].hash
|
|
238
250
|
end
|
|
239
251
|
|
|
240
252
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module PulpPythonClient
|
|
|
51
51
|
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
52
52
|
attr_accessor :autopublish
|
|
53
53
|
|
|
54
|
+
# Whether to allow package substitution (replacing existing packages with packages that have the same filename but a different checksum). When False, any new repository version that would cause such a substitution will be rejected. This applies to all repository version creation paths including uploads, modify, and sync. When True (the default), package substitution is allowed.
|
|
55
|
+
attr_accessor :allow_package_substitution
|
|
56
|
+
|
|
54
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
55
58
|
def self.attribute_map
|
|
56
59
|
{
|
|
@@ -66,7 +69,8 @@ module PulpPythonClient
|
|
|
66
69
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
67
70
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
68
71
|
:'remote' => :'remote',
|
|
69
|
-
:'autopublish' => :'autopublish'
|
|
72
|
+
:'autopublish' => :'autopublish',
|
|
73
|
+
:'allow_package_substitution' => :'allow_package_substitution'
|
|
70
74
|
}
|
|
71
75
|
end
|
|
72
76
|
|
|
@@ -90,7 +94,8 @@ module PulpPythonClient
|
|
|
90
94
|
:'retain_repo_versions' => :'Integer',
|
|
91
95
|
:'retain_checkpoints' => :'Integer',
|
|
92
96
|
:'remote' => :'String',
|
|
93
|
-
:'autopublish' => :'Boolean'
|
|
97
|
+
:'autopublish' => :'Boolean',
|
|
98
|
+
:'allow_package_substitution' => :'Boolean'
|
|
94
99
|
}
|
|
95
100
|
end
|
|
96
101
|
|
|
@@ -176,6 +181,12 @@ module PulpPythonClient
|
|
|
176
181
|
else
|
|
177
182
|
self.autopublish = false
|
|
178
183
|
end
|
|
184
|
+
|
|
185
|
+
if attributes.key?(:'allow_package_substitution')
|
|
186
|
+
self.allow_package_substitution = attributes[:'allow_package_substitution']
|
|
187
|
+
else
|
|
188
|
+
self.allow_package_substitution = true
|
|
189
|
+
end
|
|
179
190
|
end
|
|
180
191
|
|
|
181
192
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -245,7 +256,8 @@ module PulpPythonClient
|
|
|
245
256
|
retain_repo_versions == o.retain_repo_versions &&
|
|
246
257
|
retain_checkpoints == o.retain_checkpoints &&
|
|
247
258
|
remote == o.remote &&
|
|
248
|
-
autopublish == o.autopublish
|
|
259
|
+
autopublish == o.autopublish &&
|
|
260
|
+
allow_package_substitution == o.allow_package_substitution
|
|
249
261
|
end
|
|
250
262
|
|
|
251
263
|
# @see the `==` method
|
|
@@ -257,7 +269,7 @@ module PulpPythonClient
|
|
|
257
269
|
# Calculates hash code according to all attributes.
|
|
258
270
|
# @return [Integer] Hash code
|
|
259
271
|
def hash
|
|
260
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
272
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, allow_package_substitution].hash
|
|
261
273
|
end
|
|
262
274
|
|
|
263
275
|
# Builds the object from hash
|
|
@@ -25,16 +25,12 @@ module PulpPythonClient
|
|
|
25
25
|
# A repository version whose content will be used as the initial set of content for the new repository version
|
|
26
26
|
attr_accessor :base_version
|
|
27
27
|
|
|
28
|
-
# When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.
|
|
29
|
-
attr_accessor :overwrite
|
|
30
|
-
|
|
31
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
29
|
def self.attribute_map
|
|
33
30
|
{
|
|
34
31
|
:'add_content_units' => :'add_content_units',
|
|
35
32
|
:'remove_content_units' => :'remove_content_units',
|
|
36
|
-
:'base_version' => :'base_version'
|
|
37
|
-
:'overwrite' => :'overwrite'
|
|
33
|
+
:'base_version' => :'base_version'
|
|
38
34
|
}
|
|
39
35
|
end
|
|
40
36
|
|
|
@@ -48,8 +44,7 @@ module PulpPythonClient
|
|
|
48
44
|
{
|
|
49
45
|
:'add_content_units' => :'Array<String>',
|
|
50
46
|
:'remove_content_units' => :'Array<String>',
|
|
51
|
-
:'base_version' => :'String'
|
|
52
|
-
:'overwrite' => :'Boolean'
|
|
47
|
+
:'base_version' => :'String'
|
|
53
48
|
}
|
|
54
49
|
end
|
|
55
50
|
|
|
@@ -89,12 +84,6 @@ module PulpPythonClient
|
|
|
89
84
|
if attributes.key?(:'base_version')
|
|
90
85
|
self.base_version = attributes[:'base_version']
|
|
91
86
|
end
|
|
92
|
-
|
|
93
|
-
if attributes.key?(:'overwrite')
|
|
94
|
-
self.overwrite = attributes[:'overwrite']
|
|
95
|
-
else
|
|
96
|
-
self.overwrite = true
|
|
97
|
-
end
|
|
98
87
|
end
|
|
99
88
|
|
|
100
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -119,8 +108,7 @@ module PulpPythonClient
|
|
|
119
108
|
self.class == o.class &&
|
|
120
109
|
add_content_units == o.add_content_units &&
|
|
121
110
|
remove_content_units == o.remove_content_units &&
|
|
122
|
-
base_version == o.base_version
|
|
123
|
-
overwrite == o.overwrite
|
|
111
|
+
base_version == o.base_version
|
|
124
112
|
end
|
|
125
113
|
|
|
126
114
|
# @see the `==` method
|
|
@@ -132,7 +120,7 @@ module PulpPythonClient
|
|
|
132
120
|
# Calculates hash code according to all attributes.
|
|
133
121
|
# @return [Integer] Hash code
|
|
134
122
|
def hash
|
|
135
|
-
[add_content_units, remove_content_units, base_version
|
|
123
|
+
[add_content_units, remove_content_units, base_version].hash
|
|
136
124
|
end
|
|
137
125
|
|
|
138
126
|
# Builds the object from hash
|
|
@@ -39,7 +39,6 @@ describe 'ContentPackagesApi' do
|
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
42
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
43
42
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
44
43
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
45
44
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -95,11 +94,11 @@ describe 'ContentPackagesApi' do
|
|
|
95
94
|
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
|
96
95
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
97
96
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
98
|
-
# @option opts [String] :name
|
|
99
|
-
# @option opts [String] :name__contains
|
|
100
|
-
# @option opts [Array<String>] :name__in
|
|
97
|
+
# @option opts [String] :name
|
|
98
|
+
# @option opts [String] :name__contains
|
|
99
|
+
# @option opts [Array<String>] :name__in Multiple values may be separated by commas.
|
|
101
100
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
102
|
-
# @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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
101
|
+
# @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) * `name_normalized` - Name normalized * `-name_normalized` - Name normalized (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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
103
102
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
104
103
|
# @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
|
|
105
104
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -178,7 +177,6 @@ describe 'ContentPackagesApi' do
|
|
|
178
177
|
# Create a Python package.
|
|
179
178
|
# @param [Hash] opts the optional parameters
|
|
180
179
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
181
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
182
180
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
183
181
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
184
182
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -39,7 +39,6 @@ describe 'ContentProvenanceApi' do
|
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
42
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
43
42
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
44
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
45
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -69,4 +69,10 @@ describe PulpPythonClient::PatchedpythonPythonRepository do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "allow_package_substitution"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
end
|
|
@@ -105,4 +105,10 @@ describe PulpPythonClient::PythonPythonRepositoryResponse do
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
describe 'test attribute "allow_package_substitution"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
108
114
|
end
|
|
@@ -69,4 +69,10 @@ describe PulpPythonClient::PythonPythonRepository do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "allow_package_substitution"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
end
|
|
@@ -45,10 +45,4 @@ describe PulpPythonClient::RepositoryAddRemoveContent do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "overwrite"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
48
|
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.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -293,62 +293,62 @@ signing_key:
|
|
|
293
293
|
specification_version: 4
|
|
294
294
|
summary: Pulp 3 API Ruby Gem
|
|
295
295
|
test_files:
|
|
296
|
-
- spec/api/
|
|
297
|
-
- spec/api/
|
|
296
|
+
- spec/api/remotes_python_api_spec.rb
|
|
297
|
+
- spec/api/pypi_legacy_api_spec.rb
|
|
298
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
|
299
|
+
- spec/api/pypi_api_spec.rb
|
|
298
300
|
- spec/api/pypi_simple_api_spec.rb
|
|
299
|
-
- spec/api/
|
|
301
|
+
- spec/api/repositories_python_api_spec.rb
|
|
302
|
+
- spec/api/distributions_pypi_api_spec.rb
|
|
300
303
|
- spec/api/content_packages_api_spec.rb
|
|
301
|
-
- spec/api/
|
|
302
|
-
- spec/api/pypi_api_spec.rb
|
|
303
|
-
- spec/api/remotes_python_api_spec.rb
|
|
304
|
+
- spec/api/content_provenance_api_spec.rb
|
|
304
305
|
- spec/api/publications_pypi_api_spec.rb
|
|
305
|
-
- spec/api/
|
|
306
|
-
- spec/api/
|
|
307
|
-
- spec/api/pypi_legacy_api_spec.rb
|
|
308
|
-
- spec/models/protocol_version_enum_spec.rb
|
|
309
|
-
- spec/models/unset_label_response_spec.rb
|
|
310
|
-
- spec/models/python_python_repository_response_spec.rb
|
|
311
|
-
- spec/models/patchedpython_python_remote_spec.rb
|
|
312
|
-
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
313
|
-
- spec/models/set_label_spec.rb
|
|
314
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
|
315
|
-
- spec/models/python_python_repository_spec.rb
|
|
306
|
+
- spec/api/pypi_metadata_api_spec.rb
|
|
307
|
+
- spec/api/pypi_provenance_api_spec.rb
|
|
316
308
|
- spec/models/policy_enum_spec.rb
|
|
317
|
-
- spec/models/
|
|
318
|
-
- spec/models/object_roles_response_spec.rb
|
|
309
|
+
- spec/models/repair_spec.rb
|
|
319
310
|
- spec/models/repository_add_remove_content_spec.rb
|
|
320
|
-
- spec/models/python_python_remote_response_spec.rb
|
|
321
|
-
- spec/models/nested_role_response_spec.rb
|
|
322
311
|
- spec/models/remote_network_config_response_spec.rb
|
|
323
|
-
- spec/models/
|
|
324
|
-
- spec/models/
|
|
325
|
-
- spec/models/
|
|
326
|
-
- spec/models/
|
|
327
|
-
- spec/models/unset_label_spec.rb
|
|
328
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
|
329
|
-
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
330
|
-
- spec/models/package_types_enum_spec.rb
|
|
312
|
+
- spec/models/python_python_package_content_response_spec.rb
|
|
313
|
+
- spec/models/python_python_repository_spec.rb
|
|
314
|
+
- spec/models/python_python_remote_response_spec.rb
|
|
315
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
331
316
|
- spec/models/content_summary_response_spec.rb
|
|
332
|
-
- spec/models/
|
|
333
|
-
- spec/models/
|
|
317
|
+
- spec/models/nested_role_spec.rb
|
|
318
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
|
319
|
+
- spec/models/set_label_response_spec.rb
|
|
320
|
+
- spec/models/async_operation_response_spec.rb
|
|
334
321
|
- spec/models/python_python_publication_response_spec.rb
|
|
335
|
-
- spec/models/
|
|
336
|
-
- spec/models/
|
|
337
|
-
- spec/models/
|
|
322
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
|
323
|
+
- spec/models/object_roles_response_spec.rb
|
|
324
|
+
- spec/models/unset_label_spec.rb
|
|
325
|
+
- spec/models/set_label_spec.rb
|
|
326
|
+
- spec/models/python_python_repository_response_spec.rb
|
|
327
|
+
- spec/models/summary_response_spec.rb
|
|
328
|
+
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
329
|
+
- spec/models/python_python_publication_spec.rb
|
|
330
|
+
- spec/models/nested_role_response_spec.rb
|
|
331
|
+
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
338
332
|
- spec/models/filetype_enum_spec.rb
|
|
339
333
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
|
340
|
-
- spec/models/
|
|
341
|
-
- spec/models/
|
|
342
|
-
- spec/models/set_label_response_spec.rb
|
|
343
|
-
- spec/models/python_python_distribution_response_spec.rb
|
|
334
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
|
335
|
+
- spec/models/repository_sync_url_spec.rb
|
|
344
336
|
- spec/models/patchedpython_python_distribution_spec.rb
|
|
337
|
+
- spec/models/python_package_provenance_response_spec.rb
|
|
338
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
339
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
340
|
+
- spec/models/unset_label_response_spec.rb
|
|
341
|
+
- spec/models/package_metadata_response_spec.rb
|
|
345
342
|
- spec/models/my_permissions_response_spec.rb
|
|
346
343
|
- spec/models/package_upload_task_response_spec.rb
|
|
347
|
-
- spec/models/repair_spec.rb
|
|
348
|
-
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
349
|
-
- spec/models/nested_role_spec.rb
|
|
350
|
-
- spec/models/async_operation_response_spec.rb
|
|
351
344
|
- spec/models/python_python_remote_spec.rb
|
|
352
|
-
- spec/models/
|
|
353
|
-
- spec/models/
|
|
345
|
+
- spec/models/metadata_version_enum_spec.rb
|
|
346
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
347
|
+
- spec/models/protocol_version_enum_spec.rb
|
|
348
|
+
- spec/models/package_types_enum_spec.rb
|
|
349
|
+
- spec/models/python_python_distribution_response_spec.rb
|
|
350
|
+
- spec/models/python_python_distribution_spec.rb
|
|
351
|
+
- spec/models/repository_version_response_spec.rb
|
|
352
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
353
|
+
- spec/models/remote_network_config_spec.rb
|
|
354
354
|
- spec/spec_helper.rb
|