pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1670123313
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 +4 -4
- data/README.md +7 -6
- data/docs/ContentCommitsApi.md +8 -8
- data/docs/ContentConfigsApi.md +8 -8
- data/docs/ContentObjectsApi.md +8 -8
- data/docs/ContentRefsApi.md +8 -8
- data/docs/ContentSummariesApi.md +8 -8
- data/docs/DistributionsOstreeApi.md +14 -12
- data/docs/OstreeOstreeRemoteResponse.md +2 -0
- data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesOstreeApi.md +12 -12
- data/docs/RepositoriesOstreeApi.md +12 -10
- data/docs/RepositoriesOstreeVersionsApi.md +12 -12
- data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
- data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
- data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
- data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +20 -17
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +18 -15
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
- data/lib/pulp_ostree_client/api_client.rb +1 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +1 -0
- data/pulp_ostree_client.gemspec +3 -3
- data/spec/api/content_commits_api_spec.rb +4 -4
- data/spec/api/content_configs_api_spec.rb +4 -4
- data/spec/api/content_objects_api_spec.rb +4 -4
- data/spec/api/content_refs_api_spec.rb +4 -4
- data/spec/api/content_summaries_api_spec.rb +4 -4
- data/spec/api/distributions_ostree_api_spec.rb +7 -6
- data/spec/api/remotes_ostree_api_spec.rb +6 -6
- data/spec/api/repositories_ostree_api_spec.rb +6 -5
- data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
- data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
- metadata +41 -38
- data/git_push.sh +0 -58
@@ -60,12 +60,12 @@ describe 'DistributionsOstreeApi' do
|
|
60
60
|
# List ostree distributions
|
61
61
|
# A ViewSet class for OSTree distributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
63
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
64
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
65
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
66
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
68
|
+
# @option opts [String] :name Filter results where name matches value
|
69
69
|
# @option opts [String] :name__contains Filter results where name contains value
|
70
70
|
# @option opts [String] :name__icontains Filter results where name contains value
|
71
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -73,8 +73,9 @@ describe 'DistributionsOstreeApi' do
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
|
-
# @option opts [String] :
|
77
|
-
# @option opts [String] :
|
76
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
77
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
78
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
78
79
|
# @return [PaginatedostreeOstreeDistributionResponseList]
|
79
80
|
describe 'list test' do
|
80
81
|
it 'should work' do
|
@@ -100,8 +101,8 @@ describe 'DistributionsOstreeApi' do
|
|
100
101
|
# A ViewSet class for OSTree distributions.
|
101
102
|
# @param ostree_ostree_distribution_href
|
102
103
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
104
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
106
|
# @return [OstreeOstreeDistributionResponse]
|
106
107
|
describe 'read test' do
|
107
108
|
it 'should work' do
|
@@ -61,7 +61,7 @@ describe 'RemotesOstreeApi' do
|
|
61
61
|
# A ViewSet class for OSTree remote repositories.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -69,14 +69,14 @@ describe 'RemotesOstreeApi' do
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [DateTime] :pulp_last_updated
|
72
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
74
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedostreeOstreeRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesOstreeApi' do
|
|
102
102
|
# A ViewSet class for OSTree remote repositories.
|
103
103
|
# @param ostree_ostree_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [OstreeOstreeRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -87,7 +87,7 @@ describe 'RepositoriesOstreeApi' do
|
|
87
87
|
# A ViewSet class for OSTree repositories.
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
|
-
# @option opts [String] :name
|
90
|
+
# @option opts [String] :name Filter results where name matches value
|
91
91
|
# @option opts [String] :name__contains Filter results where name contains value
|
92
92
|
# @option opts [String] :name__icontains Filter results where name contains value
|
93
93
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -95,8 +95,9 @@ describe 'RepositoriesOstreeApi' do
|
|
95
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
96
96
|
# @option opts [Array<String>] :ordering Ordering
|
97
97
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
98
|
-
# @option opts [String] :
|
99
|
-
# @option opts [String] :
|
98
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
99
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
101
|
# @return [PaginatedostreeOstreeRepositoryResponseList]
|
101
102
|
describe 'list test' do
|
102
103
|
it 'should work' do
|
@@ -135,8 +136,8 @@ describe 'RepositoriesOstreeApi' do
|
|
135
136
|
# A ViewSet class for OSTree repositories.
|
136
137
|
# @param ostree_ostree_repository_href
|
137
138
|
# @param [Hash] opts the optional parameters
|
138
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
139
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
139
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
140
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
141
|
# @return [OstreeOstreeRepositoryResponse]
|
141
142
|
describe 'read test' do
|
142
143
|
it 'should work' do
|
@@ -52,7 +52,7 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
55
|
+
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -60,14 +60,14 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
80
80
|
# A ViewSet class that represents a single OSTree repository version.
|
81
81
|
# @param ostree_ostree_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'OstreeOstreeRemoteResponseHiddenFields' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of OstreeOstreeRemoteResponseHiddenFields' do
|
31
|
+
it 'should create an instance of OstreeOstreeRemoteResponseHiddenFields' do
|
32
|
+
expect(@instance).to be_instance_of(PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "is_set"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -146,6 +146,12 @@ describe 'OstreeOstreeRemoteResponse' do
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
describe 'test attribute "hidden_fields"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
149
155
|
describe 'test attribute "depth"' do
|
150
156
|
it 'should work' do
|
151
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ostree_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.0a7.dev1670123313
|
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-
|
11
|
+
date: 2022-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '2.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- docs/OstreeOstreeRefResponse.md
|
99
99
|
- docs/OstreeOstreeRemote.md
|
100
100
|
- docs/OstreeOstreeRemoteResponse.md
|
101
|
+
- docs/OstreeOstreeRemoteResponseHiddenFields.md
|
101
102
|
- docs/OstreeOstreeRepository.md
|
102
103
|
- docs/OstreeOstreeRepositoryResponse.md
|
103
104
|
- docs/OstreeOstreeSummaryResponse.md
|
@@ -121,7 +122,6 @@ files:
|
|
121
122
|
- docs/RepositoriesOstreeVersionsApi.md
|
122
123
|
- docs/RepositorySyncURL.md
|
123
124
|
- docs/RepositoryVersionResponse.md
|
124
|
-
- git_push.sh
|
125
125
|
- lib/pulp_ostree_client.rb
|
126
126
|
- lib/pulp_ostree_client/api/content_commits_api.rb
|
127
127
|
- lib/pulp_ostree_client/api/content_configs_api.rb
|
@@ -147,6 +147,7 @@ files:
|
|
147
147
|
- lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb
|
148
148
|
- lib/pulp_ostree_client/models/ostree_ostree_remote.rb
|
149
149
|
- lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb
|
150
|
+
- lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb
|
150
151
|
- lib/pulp_ostree_client/models/ostree_ostree_repository.rb
|
151
152
|
- lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb
|
152
153
|
- lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb
|
@@ -190,6 +191,7 @@ files:
|
|
190
191
|
- spec/models/ostree_ostree_distribution_spec.rb
|
191
192
|
- spec/models/ostree_ostree_object_response_spec.rb
|
192
193
|
- spec/models/ostree_ostree_ref_response_spec.rb
|
194
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb
|
193
195
|
- spec/models/ostree_ostree_remote_response_spec.rb
|
194
196
|
- spec/models/ostree_ostree_remote_spec.rb
|
195
197
|
- spec/models/ostree_ostree_repository_response_spec.rb
|
@@ -213,9 +215,9 @@ files:
|
|
213
215
|
- spec/models/repository_sync_url_spec.rb
|
214
216
|
- spec/models/repository_version_response_spec.rb
|
215
217
|
- spec/spec_helper.rb
|
216
|
-
homepage: https://
|
218
|
+
homepage: https://github.com/pulp/pulp_ostree
|
217
219
|
licenses:
|
218
|
-
-
|
220
|
+
- GPLv2+
|
219
221
|
metadata: {}
|
220
222
|
post_install_message:
|
221
223
|
rdoc_options: []
|
@@ -237,47 +239,48 @@ signing_key:
|
|
237
239
|
specification_version: 4
|
238
240
|
summary: Pulp 3 API Ruby Gem
|
239
241
|
test_files:
|
242
|
+
- spec/api/distributions_ostree_api_spec.rb
|
243
|
+
- spec/api/repositories_ostree_versions_api_spec.rb
|
240
244
|
- spec/api/content_summaries_api_spec.rb
|
241
245
|
- spec/api/remotes_ostree_api_spec.rb
|
242
246
|
- spec/api/content_configs_api_spec.rb
|
243
247
|
- spec/api/content_commits_api_spec.rb
|
244
|
-
- spec/api/repositories_ostree_api_spec.rb
|
245
|
-
- spec/api/repositories_ostree_versions_api_spec.rb
|
246
|
-
- spec/api/content_refs_api_spec.rb
|
247
|
-
- spec/api/distributions_ostree_api_spec.rb
|
248
248
|
- spec/api/content_objects_api_spec.rb
|
249
|
+
- spec/api/content_refs_api_spec.rb
|
250
|
+
- spec/api/repositories_ostree_api_spec.rb
|
249
251
|
- spec/api_client_spec.rb
|
250
252
|
- spec/configuration_spec.rb
|
253
|
+
- spec/models/ostree_ostree_summary_response_spec.rb
|
254
|
+
- spec/models/ostree_ostree_commit_response_spec.rb
|
255
|
+
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
256
|
+
- spec/models/ostree_import_all_spec.rb
|
257
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb
|
258
|
+
- spec/models/ostree_import_commits_to_ref_spec.rb
|
259
|
+
- spec/models/ostree_ostree_remote_spec.rb
|
260
|
+
- spec/models/async_operation_response_spec.rb
|
251
261
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
252
262
|
- spec/models/repair_spec.rb
|
253
|
-
- spec/models/
|
263
|
+
- spec/models/repository_sync_url_spec.rb
|
264
|
+
- spec/models/patchedostree_ostree_remote_spec.rb
|
265
|
+
- spec/models/ostree_ostree_config_response_spec.rb
|
254
266
|
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
255
|
-
- spec/models/
|
256
|
-
- spec/models/
|
257
|
-
- spec/models/
|
258
|
-
- spec/models/
|
267
|
+
- spec/models/paginatedostree_ostree_config_response_list_spec.rb
|
268
|
+
- spec/models/patchedostree_ostree_repository_spec.rb
|
269
|
+
- spec/models/repository_version_response_spec.rb
|
270
|
+
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
259
271
|
- spec/models/ostree_ostree_distribution_response_spec.rb
|
260
|
-
- spec/models/
|
272
|
+
- spec/models/paginatedostree_ostree_commit_response_list_spec.rb
|
273
|
+
- spec/models/ostree_ostree_repository_spec.rb
|
274
|
+
- spec/models/ostree_ostree_remote_response_spec.rb
|
261
275
|
- spec/models/ostree_ostree_repository_response_spec.rb
|
262
|
-
- spec/models/content_summary_response_spec.rb
|
263
276
|
- spec/models/patchedostree_ostree_distribution_spec.rb
|
264
|
-
- spec/models/ostree_ostree_commit_response_spec.rb
|
265
|
-
- spec/models/policy_enum_spec.rb
|
266
|
-
- spec/models/ostree_ostree_distribution_spec.rb
|
267
277
|
- spec/models/ostree_repository_add_remove_content_spec.rb
|
268
|
-
- spec/models/
|
269
|
-
- spec/models/
|
270
|
-
- spec/models/patchedostree_ostree_remote_spec.rb
|
271
|
-
- spec/models/ostree_ostree_config_response_spec.rb
|
272
|
-
- spec/models/ostree_ostree_repository_spec.rb
|
273
|
-
- spec/models/async_operation_response_spec.rb
|
274
|
-
- spec/models/repository_sync_url_spec.rb
|
278
|
+
- spec/models/ostree_ostree_object_response_spec.rb
|
279
|
+
- spec/models/policy_enum_spec.rb
|
275
280
|
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
276
|
-
- spec/models/
|
281
|
+
- spec/models/ostree_ostree_distribution_spec.rb
|
282
|
+
- spec/models/ostree_ostree_ref_response_spec.rb
|
277
283
|
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
278
|
-
- spec/models/
|
279
|
-
- spec/models/
|
280
|
-
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
281
|
-
- spec/models/ostree_import_all_spec.rb
|
282
|
-
- spec/models/repository_version_response_spec.rb
|
284
|
+
- spec/models/content_summary_response_spec.rb
|
285
|
+
- spec/models/paginatedostree_ostree_remote_response_list_spec.rb
|
283
286
|
- spec/spec_helper.rb
|
data/git_push.sh
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
-
#
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
-
|
6
|
-
git_user_id=$1
|
7
|
-
git_repo_id=$2
|
8
|
-
release_note=$3
|
9
|
-
git_host=$4
|
10
|
-
|
11
|
-
if [ "$git_host" = "" ]; then
|
12
|
-
git_host="github.com"
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
-
fi
|
15
|
-
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
17
|
-
git_user_id="GIT_USER_ID"
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
-
fi
|
20
|
-
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
-
fi
|
25
|
-
|
26
|
-
if [ "$release_note" = "" ]; then
|
27
|
-
release_note="Minor update"
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
-
fi
|
30
|
-
|
31
|
-
# Initialize the local directory as a Git repository
|
32
|
-
git init
|
33
|
-
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
35
|
-
git add .
|
36
|
-
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
-
git commit -m "$release_note"
|
39
|
-
|
40
|
-
# Sets the new remote
|
41
|
-
git_remote=`git remote`
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
-
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
-
else
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
-
fi
|
50
|
-
|
51
|
-
fi
|
52
|
-
|
53
|
-
git pull origin master
|
54
|
-
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
58
|
-
|