pulp_ostree_client 2.0.0a6.dev1648092433 → 2.0.0a6.dev1648265610

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.

Potentially problematic release.


This version of pulp_ostree_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad1844cb62127a2ea254dfc250ebb6e11e041267885095814ce5cb2a9ffaaf39
4
- data.tar.gz: ff2ff320480c7e22aaef42a56369c56523b083e4e5fd8c9d87a686092430f3c7
3
+ metadata.gz: ead7939aa9df4b274eacf93fa32ccdb483ad2a14dcd409ffb2af0bc780d47333
4
+ data.tar.gz: b535acb477ec8b250856defd8bdb76b6106b0c0537f6c4d68a8c8b16c285aa56
5
5
  SHA512:
6
- metadata.gz: c51073d8f988e5d1a042a3caa380205778138f0bab8909746541156cff9f66597a3b88f99bcc8d6358620b009f9083c2cba934918c0394a6c2836d1824986249
7
- data.tar.gz: de72359b73e907dfcc79d1e7ddb8b9bed94148d3642ab7f343c5ea404f2005f5ca9a515c94a877e37230e2a1abee17eb1835909083d66369a5b27811cf30211f
6
+ metadata.gz: d56651292b4cdce7ac99a600fd752abe6b302316fee5300475ebd8b6572557f592068b635406133271c9c8e66e59367e37c492fcdf555911f0c7b5bf6d9f6cc0
7
+ data.tar.gz: 761429eeb8fce7bb2101b650c3a158009856ec803543d47a1a5bcfaf7210c792354cf194b613fe8460d3be3c1c76945158a48fccb749c296494a816a676f0f0a
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: 2.0.0a6.dev1648092433
10
+ - Package version: 2.0.0a6.dev1648265610
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_ostree_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_ostree_client-2.0.0a6.dev1648092433.gem
27
+ gem install ./pulp_ostree_client-2.0.0a6.dev1648265610.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a6.dev1648092433.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a6.dev1648265610.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_ostree_client', '~> 2.0.0a6.dev1648092433'
36
+ gem 'pulp_ostree_client', '~> 2.0.0a6.dev1648265610'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -26,6 +26,8 @@ Name | Type | Description | Notes
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
27
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
29
+ **include_refs** | **Array<String>** | A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'. | [optional]
30
+ **exclude_refs** | **Array<String>** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. | [optional]
29
31
 
30
32
  ## Code Sample
31
33
 
@@ -53,7 +55,9 @@ instance = PulpOstreeClient::OstreeOstreeRemote.new(name: null,
53
55
  sock_read_timeout: null,
54
56
  headers: null,
55
57
  rate_limit: null,
56
- depth: null)
58
+ depth: null,
59
+ include_refs: null,
60
+ exclude_refs: null)
57
61
  ```
58
62
 
59
63
 
@@ -24,6 +24,8 @@ Name | Type | Description | Notes
24
24
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
25
25
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
26
26
  **depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
27
+ **include_refs** | **Array<String>** | A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'. | [optional]
28
+ **exclude_refs** | **Array<String>** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. | [optional]
27
29
 
28
30
  ## Code Sample
29
31
 
@@ -49,7 +51,9 @@ instance = PulpOstreeClient::OstreeOstreeRemoteResponse.new(pulp_href: null,
49
51
  sock_read_timeout: null,
50
52
  headers: null,
51
53
  rate_limit: null,
52
- depth: null)
54
+ depth: null,
55
+ include_refs: null,
56
+ exclude_refs: null)
53
57
  ```
54
58
 
55
59
 
@@ -26,6 +26,8 @@ Name | Type | Description | Notes
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
27
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **depth** | **Integer** | An option to specify how many commits to traverse. | [optional] [default to 0]
29
+ **include_refs** | **Array<String>** | A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'. | [optional]
30
+ **exclude_refs** | **Array<String>** | A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. | [optional]
29
31
 
30
32
  ## Code Sample
31
33
 
@@ -53,7 +55,9 @@ instance = PulpOstreeClient::PatchedostreeOstreeRemote.new(name: null,
53
55
  sock_read_timeout: null,
54
56
  headers: null,
55
57
  rate_limit: null,
56
- depth: null)
58
+ depth: null,
59
+ include_refs: null,
60
+ exclude_refs: null)
57
61
  ```
58
62
 
59
63
 
@@ -80,6 +80,12 @@ module PulpOstreeClient
80
80
  # An option to specify how many commits to traverse.
81
81
  attr_accessor :depth
82
82
 
83
+ # A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'.
84
+ attr_accessor :include_refs
85
+
86
+ # A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'.
87
+ attr_accessor :exclude_refs
88
+
83
89
  # Attribute mapping from ruby-style variable name to JSON key.
84
90
  def self.attribute_map
85
91
  {
@@ -104,7 +110,9 @@ module PulpOstreeClient
104
110
  :'sock_read_timeout' => :'sock_read_timeout',
105
111
  :'headers' => :'headers',
106
112
  :'rate_limit' => :'rate_limit',
107
- :'depth' => :'depth'
113
+ :'depth' => :'depth',
114
+ :'include_refs' => :'include_refs',
115
+ :'exclude_refs' => :'exclude_refs'
108
116
  }
109
117
  end
110
118
 
@@ -132,7 +140,9 @@ module PulpOstreeClient
132
140
  :'sock_read_timeout' => :'Float',
133
141
  :'headers' => :'Array<Object>',
134
142
  :'rate_limit' => :'Integer',
135
- :'depth' => :'Integer'
143
+ :'depth' => :'Integer',
144
+ :'include_refs' => :'Array<String>',
145
+ :'exclude_refs' => :'Array<String>'
136
146
  }
137
147
  end
138
148
 
@@ -154,6 +164,8 @@ module PulpOstreeClient
154
164
  :'sock_connect_timeout',
155
165
  :'sock_read_timeout',
156
166
  :'rate_limit',
167
+ :'include_refs',
168
+ :'exclude_refs'
157
169
  ])
158
170
  end
159
171
 
@@ -263,6 +275,18 @@ module PulpOstreeClient
263
275
  else
264
276
  self.depth = 0
265
277
  end
278
+
279
+ if attributes.key?(:'include_refs')
280
+ if (value = attributes[:'include_refs']).is_a?(Array)
281
+ self.include_refs = value
282
+ end
283
+ end
284
+
285
+ if attributes.key?(:'exclude_refs')
286
+ if (value = attributes[:'exclude_refs']).is_a?(Array)
287
+ self.exclude_refs = value
288
+ end
289
+ end
266
290
  end
267
291
 
268
292
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -562,7 +586,9 @@ module PulpOstreeClient
562
586
  sock_read_timeout == o.sock_read_timeout &&
563
587
  headers == o.headers &&
564
588
  rate_limit == o.rate_limit &&
565
- depth == o.depth
589
+ depth == o.depth &&
590
+ include_refs == o.include_refs &&
591
+ exclude_refs == o.exclude_refs
566
592
  end
567
593
 
568
594
  # @see the `==` method
@@ -574,7 +600,7 @@ module PulpOstreeClient
574
600
  # Calculates hash code according to all attributes.
575
601
  # @return [Integer] Hash code
576
602
  def hash
577
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, depth].hash
603
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, depth, include_refs, exclude_refs].hash
578
604
  end
579
605
 
580
606
  # Builds the object from hash
@@ -73,6 +73,12 @@ module PulpOstreeClient
73
73
  # An option to specify how many commits to traverse.
74
74
  attr_accessor :depth
75
75
 
76
+ # A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'.
77
+ attr_accessor :include_refs
78
+
79
+ # A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'.
80
+ attr_accessor :exclude_refs
81
+
76
82
  # Attribute mapping from ruby-style variable name to JSON key.
77
83
  def self.attribute_map
78
84
  {
@@ -95,7 +101,9 @@ module PulpOstreeClient
95
101
  :'sock_read_timeout' => :'sock_read_timeout',
96
102
  :'headers' => :'headers',
97
103
  :'rate_limit' => :'rate_limit',
98
- :'depth' => :'depth'
104
+ :'depth' => :'depth',
105
+ :'include_refs' => :'include_refs',
106
+ :'exclude_refs' => :'exclude_refs'
99
107
  }
100
108
  end
101
109
 
@@ -121,7 +129,9 @@ module PulpOstreeClient
121
129
  :'sock_read_timeout' => :'Float',
122
130
  :'headers' => :'Array<Object>',
123
131
  :'rate_limit' => :'Integer',
124
- :'depth' => :'Integer'
132
+ :'depth' => :'Integer',
133
+ :'include_refs' => :'Array<String>',
134
+ :'exclude_refs' => :'Array<String>'
125
135
  }
126
136
  end
127
137
 
@@ -138,6 +148,8 @@ module PulpOstreeClient
138
148
  :'sock_connect_timeout',
139
149
  :'sock_read_timeout',
140
150
  :'rate_limit',
151
+ :'include_refs',
152
+ :'exclude_refs'
141
153
  ])
142
154
  end
143
155
 
@@ -239,6 +251,18 @@ module PulpOstreeClient
239
251
  else
240
252
  self.depth = 0
241
253
  end
254
+
255
+ if attributes.key?(:'include_refs')
256
+ if (value = attributes[:'include_refs']).is_a?(Array)
257
+ self.include_refs = value
258
+ end
259
+ end
260
+
261
+ if attributes.key?(:'exclude_refs')
262
+ if (value = attributes[:'exclude_refs']).is_a?(Array)
263
+ self.exclude_refs = value
264
+ end
265
+ end
242
266
  end
243
267
 
244
268
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -378,7 +402,9 @@ module PulpOstreeClient
378
402
  sock_read_timeout == o.sock_read_timeout &&
379
403
  headers == o.headers &&
380
404
  rate_limit == o.rate_limit &&
381
- depth == o.depth
405
+ depth == o.depth &&
406
+ include_refs == o.include_refs &&
407
+ exclude_refs == o.exclude_refs
382
408
  end
383
409
 
384
410
  # @see the `==` method
@@ -390,7 +416,7 @@ module PulpOstreeClient
390
416
  # Calculates hash code according to all attributes.
391
417
  # @return [Integer] Hash code
392
418
  def hash
393
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, depth].hash
419
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, depth, include_refs, exclude_refs].hash
394
420
  end
395
421
 
396
422
  # Builds the object from hash
@@ -80,6 +80,12 @@ module PulpOstreeClient
80
80
  # An option to specify how many commits to traverse.
81
81
  attr_accessor :depth
82
82
 
83
+ # A list of refs to include during a sync. The wildcards *, ? are recognized. 'include_refs' is evaluated before 'exclude_refs'.
84
+ attr_accessor :include_refs
85
+
86
+ # A list of tags to exclude during a sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'.
87
+ attr_accessor :exclude_refs
88
+
83
89
  # Attribute mapping from ruby-style variable name to JSON key.
84
90
  def self.attribute_map
85
91
  {
@@ -104,7 +110,9 @@ module PulpOstreeClient
104
110
  :'sock_read_timeout' => :'sock_read_timeout',
105
111
  :'headers' => :'headers',
106
112
  :'rate_limit' => :'rate_limit',
107
- :'depth' => :'depth'
113
+ :'depth' => :'depth',
114
+ :'include_refs' => :'include_refs',
115
+ :'exclude_refs' => :'exclude_refs'
108
116
  }
109
117
  end
110
118
 
@@ -132,7 +140,9 @@ module PulpOstreeClient
132
140
  :'sock_read_timeout' => :'Float',
133
141
  :'headers' => :'Array<Object>',
134
142
  :'rate_limit' => :'Integer',
135
- :'depth' => :'Integer'
143
+ :'depth' => :'Integer',
144
+ :'include_refs' => :'Array<String>',
145
+ :'exclude_refs' => :'Array<String>'
136
146
  }
137
147
  end
138
148
 
@@ -154,6 +164,8 @@ module PulpOstreeClient
154
164
  :'sock_connect_timeout',
155
165
  :'sock_read_timeout',
156
166
  :'rate_limit',
167
+ :'include_refs',
168
+ :'exclude_refs'
157
169
  ])
158
170
  end
159
171
 
@@ -263,6 +275,18 @@ module PulpOstreeClient
263
275
  else
264
276
  self.depth = 0
265
277
  end
278
+
279
+ if attributes.key?(:'include_refs')
280
+ if (value = attributes[:'include_refs']).is_a?(Array)
281
+ self.include_refs = value
282
+ end
283
+ end
284
+
285
+ if attributes.key?(:'exclude_refs')
286
+ if (value = attributes[:'exclude_refs']).is_a?(Array)
287
+ self.exclude_refs = value
288
+ end
289
+ end
266
290
  end
267
291
 
268
292
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -544,7 +568,9 @@ module PulpOstreeClient
544
568
  sock_read_timeout == o.sock_read_timeout &&
545
569
  headers == o.headers &&
546
570
  rate_limit == o.rate_limit &&
547
- depth == o.depth
571
+ depth == o.depth &&
572
+ include_refs == o.include_refs &&
573
+ exclude_refs == o.exclude_refs
548
574
  end
549
575
 
550
576
  # @see the `==` method
@@ -556,7 +582,7 @@ module PulpOstreeClient
556
582
  # Calculates hash code according to all attributes.
557
583
  # @return [Integer] Hash code
558
584
  def hash
559
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, depth].hash
585
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, depth, include_refs, exclude_refs].hash
560
586
  end
561
587
 
562
588
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpOstreeClient
14
- VERSION = '2.0.0a6.dev1648092433'
14
+ VERSION = '2.0.0a6.dev1648265610'
15
15
  end
@@ -152,4 +152,16 @@ describe 'OstreeOstreeRemoteResponse' do
152
152
  end
153
153
  end
154
154
 
155
+ describe 'test attribute "include_refs"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "exclude_refs"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
155
167
  end
@@ -164,4 +164,16 @@ describe 'OstreeOstreeRemote' do
164
164
  end
165
165
  end
166
166
 
167
+ describe 'test attribute "include_refs"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
173
+ describe 'test attribute "exclude_refs"' do
174
+ it 'should work' do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
167
179
  end
@@ -164,4 +164,16 @@ describe 'PatchedostreeOstreeRemote' do
164
164
  end
165
165
  end
166
166
 
167
+ describe 'test attribute "include_refs"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
173
+ describe 'test attribute "exclude_refs"' do
174
+ it 'should work' do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
167
179
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_ostree_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0a6.dev1648092433
4
+ version: 2.0.0a6.dev1648265610
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-24 00:00:00.000000000 Z
11
+ date: 2022-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday