pulp_python_client 3.27.1 → 3.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +8 -8
- data/docs/PatchedpythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepositoryResponse.md +3 -1
- data/lib/pulp_python_client/api/content_packages_api.rb +9 -9
- 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/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +4 -4
- 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
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a12b4274e7e4dd04a4a818b2d2da52a161e0d403caa16d3ca0955e047c08b672
|
|
4
|
+
data.tar.gz: 10d704bd3d728fb0e3bddb3d1d1078275c618e2bf9cfea51b6e3146b3c8e888b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7f0df19f8610a249d01b4a083251953f10badef76316f815ac5bf6544267605c436bb98b3c1bed1da4baa8ac70ea9566281dd0454a4299a6ebb096e587601b4
|
|
7
|
+
data.tar.gz: ffe72ee6a2637e637444f7a7295fb55ea533c6277460044a1d5657832c2ef876f5445ac67904ed4a857e1ed36c99775a5722da7002942d3d0d408fe6b29b8861
|
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.1
|
|
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.1.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.1.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.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -188,11 +188,11 @@ opts = {
|
|
|
188
188
|
keywords__contains: 'keywords__contains_example', # String | Filter results where keywords contains value
|
|
189
189
|
keywords__in: ['inner_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
|
|
190
190
|
limit: 56, # Integer | Number of results to return per page.
|
|
191
|
-
name: 'name_example', # String |
|
|
192
|
-
name__contains: 'name__contains_example', # String |
|
|
193
|
-
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.
|
|
194
194
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
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) * `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)
|
|
196
196
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
197
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
|
|
198
198
|
packagetype__in: ['inner_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
|
@@ -259,11 +259,11 @@ end
|
|
|
259
259
|
| **keywords__contains** | **String** | Filter results where keywords contains value | [optional] |
|
|
260
260
|
| **keywords__in** | [**Array<String>**](String.md) | Filter results where keywords is in a comma-separated list of values | [optional] |
|
|
261
261
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
262
|
-
| **name** | **String** |
|
|
263
|
-
| **name__contains** | **String** |
|
|
264
|
-
| **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] |
|
|
265
265
|
| **offset** | **Integer** | The initial index from which to return the results. | [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) * `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] |
|
|
267
267
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
268
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] |
|
|
269
269
|
| **packagetype__in** | [**Array<String>**](String.md) | Filter results where packagetype is in a comma-separated list of values | [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
|
|
|
@@ -225,11 +225,11 @@ module PulpPythonClient
|
|
|
225
225
|
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
|
226
226
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
227
227
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
228
|
-
# @option opts [String] :name
|
|
229
|
-
# @option opts [String] :name__contains
|
|
230
|
-
# @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.
|
|
231
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
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) * `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)
|
|
233
233
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
234
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
|
|
235
235
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -272,11 +272,11 @@ module PulpPythonClient
|
|
|
272
272
|
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
|
273
273
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
274
274
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
275
|
-
# @option opts [String] :name
|
|
276
|
-
# @option opts [String] :name__contains
|
|
277
|
-
# @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.
|
|
278
278
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
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) * `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)
|
|
280
280
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
281
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
|
|
282
282
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -305,7 +305,7 @@ module PulpPythonClient
|
|
|
305
305
|
if @api_client.config.debugging
|
|
306
306
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
|
307
307
|
end
|
|
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", "-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"]
|
|
309
309
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
310
310
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
311
311
|
end
|
|
@@ -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
|
|
@@ -94,11 +94,11 @@ describe 'ContentPackagesApi' do
|
|
|
94
94
|
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
|
95
95
|
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
|
96
96
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
97
|
-
# @option opts [String] :name
|
|
98
|
-
# @option opts [String] :name__contains
|
|
99
|
-
# @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.
|
|
100
100
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
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) * `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)
|
|
102
102
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
103
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
|
|
104
104
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -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
|