pulp_rpm_client 3.36.1 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/Copy.md +3 -1
- data/lib/pulp_rpm_client/models/copy.rb +16 -4
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/models/copy_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: 21be49e01c8abb7be5cc477469562d5cb97fa0369e02f66e4957fbfd22520bc3
|
|
4
|
+
data.tar.gz: 2993b8eda5e8e78fc97ade5901388daa36a4f9991f308c38792a3aa284f17357
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f71bc57a0dffa9b791559a2e1d014ab3a3f609e16e260d5684263b859e781ad56d2ef24fe0df020194b83fdbbe31716a7c93038990eac005c2afbf42ac407ba3
|
|
7
|
+
data.tar.gz: 90c33f8c9376587f10bf0a1f9f119e55bf55f02bf631c443b20a41bebcabb9a993475470d6e7f14dd35abf067c58ea89f8489d6b640620d0f71dbfc57a0549db
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.37.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_rpm_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_rpm_client-3.
|
|
28
|
+
gem install ./pulp_rpm_client-3.37.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.37.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_rpm_client', '~> 3.
|
|
37
|
+
gem 'pulp_rpm_client', '~> 3.37.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/Copy.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **config** | **Object** | Content to be copied into the given destinations from the given sources. Its a list of dictionaries with the following available fields: ```json [ { \"source_repo_version\": <RepositoryVersion [pulp_href|prn]>, \"dest_repo\": <RpmRepository [pulp_href|prn]>, \"dest_base_version\": <int>, \"content\": [<Content [pulp_href|prn]>, ...] }, ... ] ``` If domains are enabled, the refered pulp objects must be part of the current domain. For usage examples, refer to the advanced copy guide: <https://pulpproject.org/pulp_rpm/docs/user/guides/modify/#advanced-copy-workflow> | |
|
|
8
8
|
| **dependency_solving** | **Boolean** | Also copy dependencies of the content being copied. | [optional][default to true] |
|
|
9
|
+
| **dependency_upgrade** | **Boolean** | Resolve dependencies to their latest compatible versions instead of preferring versions already in the destination. | [optional][default to false] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,7 +15,8 @@ require 'pulp_rpm_client'
|
|
|
14
15
|
|
|
15
16
|
instance = PulpRpmClient::Copy.new(
|
|
16
17
|
config: null,
|
|
17
|
-
dependency_solving: null
|
|
18
|
+
dependency_solving: null,
|
|
19
|
+
dependency_upgrade: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
22
|
|
|
@@ -22,11 +22,15 @@ module PulpRpmClient
|
|
|
22
22
|
# Also copy dependencies of the content being copied.
|
|
23
23
|
attr_accessor :dependency_solving
|
|
24
24
|
|
|
25
|
+
# Resolve dependencies to their latest compatible versions instead of preferring versions already in the destination.
|
|
26
|
+
attr_accessor :dependency_upgrade
|
|
27
|
+
|
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
29
|
def self.attribute_map
|
|
27
30
|
{
|
|
28
31
|
:'config' => :'config',
|
|
29
|
-
:'dependency_solving' => :'dependency_solving'
|
|
32
|
+
:'dependency_solving' => :'dependency_solving',
|
|
33
|
+
:'dependency_upgrade' => :'dependency_upgrade'
|
|
30
34
|
}
|
|
31
35
|
end
|
|
32
36
|
|
|
@@ -39,7 +43,8 @@ module PulpRpmClient
|
|
|
39
43
|
def self.openapi_types
|
|
40
44
|
{
|
|
41
45
|
:'config' => :'Object',
|
|
42
|
-
:'dependency_solving' => :'Boolean'
|
|
46
|
+
:'dependency_solving' => :'Boolean',
|
|
47
|
+
:'dependency_upgrade' => :'Boolean'
|
|
43
48
|
}
|
|
44
49
|
end
|
|
45
50
|
|
|
@@ -76,6 +81,12 @@ module PulpRpmClient
|
|
|
76
81
|
else
|
|
77
82
|
self.dependency_solving = true
|
|
78
83
|
end
|
|
84
|
+
|
|
85
|
+
if attributes.key?(:'dependency_upgrade')
|
|
86
|
+
self.dependency_upgrade = attributes[:'dependency_upgrade']
|
|
87
|
+
else
|
|
88
|
+
self.dependency_upgrade = false
|
|
89
|
+
end
|
|
79
90
|
end
|
|
80
91
|
|
|
81
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -99,7 +110,8 @@ module PulpRpmClient
|
|
|
99
110
|
return true if self.equal?(o)
|
|
100
111
|
self.class == o.class &&
|
|
101
112
|
config == o.config &&
|
|
102
|
-
dependency_solving == o.dependency_solving
|
|
113
|
+
dependency_solving == o.dependency_solving &&
|
|
114
|
+
dependency_upgrade == o.dependency_upgrade
|
|
103
115
|
end
|
|
104
116
|
|
|
105
117
|
# @see the `==` method
|
|
@@ -111,7 +123,7 @@ module PulpRpmClient
|
|
|
111
123
|
# Calculates hash code according to all attributes.
|
|
112
124
|
# @return [Integer] Hash code
|
|
113
125
|
def hash
|
|
114
|
-
[config, dependency_solving].hash
|
|
126
|
+
[config, dependency_solving, dependency_upgrade].hash
|
|
115
127
|
end
|
|
116
128
|
|
|
117
129
|
# Builds the object from hash
|
data/spec/models/copy_spec.rb
CHANGED