pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1668569524
Sign up to get free protection for your applications and to get access to all the features.
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 +10 -8
- data/docs/OstreeOstreeRemoteResponse.md +2 -0
- data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesOstreeApi.md +8 -8
- data/docs/RepositoriesOstreeApi.md +10 -8
- data/docs/RepositoriesOstreeVersionsApi.md +8 -8
- data/lib/pulp_ostree_client/api/content_commits_api.rb +12 -12
- data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
- data/lib/pulp_ostree_client/api/content_objects_api.rb +12 -12
- data/lib/pulp_ostree_client/api/content_refs_api.rb +12 -12
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +16 -13
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +12 -12
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +15 -12
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +13 -13
- 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 +5 -4
- data/spec/api/remotes_ostree_api_spec.rb +4 -4
- data/spec/api/repositories_ostree_api_spec.rb +5 -4
- data/spec/api/repositories_ostree_versions_api_spec.rb +4 -4
- 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 +43 -40
- data/git_push.sh +0 -58
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.dev1668569524
|
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-11-16 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:
|
240
|
-
- spec/api/
|
241
|
-
- spec/api/remotes_ostree_api_spec.rb
|
242
|
-
- spec/api/content_configs_api_spec.rb
|
243
|
-
- spec/api/content_commits_api_spec.rb
|
242
|
+
- spec/api/content_objects_api_spec.rb
|
244
243
|
- spec/api/repositories_ostree_api_spec.rb
|
245
|
-
- spec/api/
|
246
|
-
- spec/api/
|
244
|
+
- spec/api/remotes_ostree_api_spec.rb
|
245
|
+
- spec/api/content_summaries_api_spec.rb
|
247
246
|
- spec/api/distributions_ostree_api_spec.rb
|
248
|
-
- spec/api/
|
247
|
+
- spec/api/content_refs_api_spec.rb
|
248
|
+
- spec/api/repositories_ostree_versions_api_spec.rb
|
249
|
+
- spec/api/content_commits_api_spec.rb
|
250
|
+
- spec/api/content_configs_api_spec.rb
|
249
251
|
- spec/api_client_spec.rb
|
250
252
|
- spec/configuration_spec.rb
|
251
|
-
- spec/models/
|
253
|
+
- spec/models/ostree_ostree_summary_response_spec.rb
|
252
254
|
- spec/models/repair_spec.rb
|
253
|
-
- spec/models/
|
254
|
-
- spec/models/
|
255
|
+
- spec/models/repository_version_response_spec.rb
|
256
|
+
- spec/models/ostree_import_all_spec.rb
|
255
257
|
- spec/models/ostree_ostree_remote_response_spec.rb
|
256
|
-
- spec/models/
|
257
|
-
- spec/models/
|
258
|
-
- spec/models/
|
258
|
+
- spec/models/paginatedostree_ostree_commit_response_list_spec.rb
|
259
|
+
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
260
|
+
- spec/models/patchedostree_ostree_repository_spec.rb
|
259
261
|
- spec/models/ostree_ostree_distribution_response_spec.rb
|
260
|
-
- spec/models/
|
262
|
+
- spec/models/async_operation_response_spec.rb
|
263
|
+
- spec/models/paginatedostree_ostree_repository_response_list_spec.rb
|
264
|
+
- spec/models/patchedostree_ostree_remote_spec.rb
|
265
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
261
266
|
- spec/models/ostree_ostree_repository_response_spec.rb
|
267
|
+
- spec/models/ostree_ostree_object_response_spec.rb
|
268
|
+
- spec/models/ostree_import_commits_to_ref_spec.rb
|
269
|
+
- spec/models/ostree_ostree_commit_response_spec.rb
|
262
270
|
- spec/models/content_summary_response_spec.rb
|
263
271
|
- 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
|
-
- spec/models/ostree_repository_add_remove_content_spec.rb
|
268
|
-
- spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
|
269
|
-
- spec/models/patchedostree_ostree_repository_spec.rb
|
270
|
-
- spec/models/patchedostree_ostree_remote_spec.rb
|
271
272
|
- spec/models/ostree_ostree_config_response_spec.rb
|
272
|
-
- spec/models/
|
273
|
-
- spec/models/async_operation_response_spec.rb
|
273
|
+
- spec/models/paginatedostree_ostree_object_response_list_spec.rb
|
274
274
|
- spec/models/repository_sync_url_spec.rb
|
275
|
-
- spec/models/
|
275
|
+
- spec/models/ostree_ostree_distribution_spec.rb
|
276
|
+
- spec/models/paginatedostree_ostree_ref_response_list_spec.rb
|
277
|
+
- spec/models/ostree_ostree_repository_spec.rb
|
278
|
+
- spec/models/paginatedostree_ostree_remote_response_list_spec.rb
|
276
279
|
- spec/models/paginatedostree_ostree_config_response_list_spec.rb
|
277
|
-
- spec/models/
|
278
|
-
- spec/models/
|
280
|
+
- spec/models/ostree_repository_add_remove_content_spec.rb
|
281
|
+
- spec/models/paginatedostree_ostree_summary_response_list_spec.rb
|
282
|
+
- spec/models/ostree_ostree_ref_response_spec.rb
|
283
|
+
- spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb
|
284
|
+
- spec/models/policy_enum_spec.rb
|
279
285
|
- spec/models/ostree_ostree_remote_spec.rb
|
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
|
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
|
-
|