pulp_rpm_client 3.17.5 → 3.17.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/docs/AcsRpmApi.md +2 -2
- data/docs/ContentAdvisoriesApi.md +2 -2
- data/docs/ContentDistributionTreesApi.md +2 -2
- data/docs/ContentModulemdDefaultsApi.md +5 -3
- data/docs/ContentModulemdsApi.md +4 -2
- data/docs/ContentPackagecategoriesApi.md +2 -2
- data/docs/ContentPackageenvironmentsApi.md +2 -2
- data/docs/ContentPackagegroupsApi.md +2 -2
- data/docs/ContentPackagelangpacksApi.md +2 -2
- data/docs/ContentPackagesApi.md +5 -3
- data/docs/ContentRepoMetadataFilesApi.md +2 -2
- data/docs/DistributionsRpmApi.md +2 -2
- data/docs/PatchedrpmRpmRemote.md +2 -2
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +4 -2
- data/docs/RemotesRpmApi.md +2 -2
- data/docs/RemotesUlnApi.md +2 -2
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesRpmApi.md +2 -2
- data/docs/RepositoriesRpmVersionsApi.md +6 -6
- data/docs/RpmModulemd.md +2 -0
- data/docs/RpmModulemdDefaults.md +2 -0
- data/docs/RpmPackage.md +3 -1
- data/docs/RpmRpmRemote.md +2 -2
- data/docs/RpmUlnRemote.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +10 -3
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +10 -3
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +7 -3
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -3
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -3
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +7 -3
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +10 -3
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +7 -3
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +7 -3
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +7 -3
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +16 -12
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/{repository_version.rb → repair.rb} +13 -12
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +14 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -2
- data/pulp_rpm_client.gemspec +3 -3
- data/spec/api/acs_rpm_api_spec.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +2 -1
- data/spec/api/content_modulemds_api_spec.rb +2 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +2 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_uln_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +2 -2
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
- data/spec/models/rpm_modulemd_spec.rb +6 -0
- data/spec/models/rpm_package_spec.rb +6 -0
- metadata +77 -82
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
- data/git_push.sh +0 -58
- data/lib/pulp_rpm_client/models/content_summary.rb +0 -246
- data/spec/models/content_summary_spec.rb +0 -53
@@ -38,7 +38,7 @@ describe 'ContentPackagegroupsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [String] :ordering
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,7 +38,7 @@ describe 'ContentPackagelangpacksApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [String] :ordering
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -40,6 +40,7 @@ describe 'ContentPackagesApi' do
|
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
43
44
|
# @return [AsyncOperationResponse]
|
44
45
|
describe 'create test' do
|
45
46
|
it 'should work' do
|
@@ -65,7 +66,7 @@ describe 'ContentPackagesApi' do
|
|
65
66
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
66
67
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
67
68
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
|
-
# @option opts [String] :ordering
|
69
|
+
# @option opts [Array<String>] :ordering Ordering
|
69
70
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
70
71
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
71
72
|
# @option opts [String] :release Filter results where release matches value
|
@@ -38,7 +38,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [String] :ordering
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -71,7 +71,7 @@ describe 'DistributionsRpmApi' do
|
|
71
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @option opts [String] :ordering
|
74
|
+
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
77
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -64,13 +64,14 @@ describe 'PublicationsRpmApi' do
|
|
64
64
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
-
# @option opts [String] :ordering
|
67
|
+
# @option opts [Array<String>] :ordering Ordering
|
68
68
|
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
69
69
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
70
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
71
71
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
72
72
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
|
+
# @option opts [String] :repository Repository referenced by HREF
|
74
75
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
75
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
76
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -67,7 +67,7 @@ describe 'RemotesRpmApi' do
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -67,7 +67,7 @@ describe 'RemotesUlnApi' do
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -67,7 +67,7 @@ describe 'RepositoriesRpmApi' do
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -59,7 +59,7 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
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
|
-
# @option opts [String] :ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
63
|
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
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
|
@@ -92,7 +92,7 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
92
92
|
# unit tests for repair
|
93
93
|
# Trigger an asynchronous task to repair a repository version.
|
94
94
|
# @param rpm_rpm_repository_version_href
|
95
|
-
# @param
|
95
|
+
# @param repair
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [AsyncOperationResponse]
|
98
98
|
describe 'repair test' do
|
@@ -14,25 +14,25 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpRpmClient::
|
17
|
+
# Unit tests for PulpRpmClient::Repair
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Repair' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpRpmClient::
|
23
|
+
@instance = PulpRpmClient::Repair.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpRpmClient::
|
30
|
+
describe 'test an instance of Repair' do
|
31
|
+
it 'should create an instance of Repair' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::Repair)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "verify_checksums"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -56,6 +56,12 @@ describe 'RpmModulemdDefaults' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "upload"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "_module"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'RpmModulemd' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "upload"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "name"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.17.
|
4
|
+
version: 3.17.8
|
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-08-01 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
19
|
version: '0.17'
|
20
20
|
- - "<"
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0.17'
|
30
30
|
- - "<"
|
@@ -96,7 +96,6 @@ files:
|
|
96
96
|
- docs/ContentPackagelangpacksApi.md
|
97
97
|
- docs/ContentPackagesApi.md
|
98
98
|
- docs/ContentRepoMetadataFilesApi.md
|
99
|
-
- docs/ContentSummary.md
|
100
99
|
- docs/ContentSummaryResponse.md
|
101
100
|
- docs/Copy.md
|
102
101
|
- docs/DistributionsRpmApi.md
|
@@ -129,10 +128,10 @@ files:
|
|
129
128
|
- docs/PublicationsRpmApi.md
|
130
129
|
- docs/RemotesRpmApi.md
|
131
130
|
- docs/RemotesUlnApi.md
|
131
|
+
- docs/Repair.md
|
132
132
|
- docs/RepositoriesRpmApi.md
|
133
133
|
- docs/RepositoriesRpmVersionsApi.md
|
134
134
|
- docs/RepositoryAddRemoveContent.md
|
135
|
-
- docs/RepositoryVersion.md
|
136
135
|
- docs/RepositoryVersionResponse.md
|
137
136
|
- docs/RpmCompsApi.md
|
138
137
|
- docs/RpmCopyApi.md
|
@@ -169,7 +168,6 @@ files:
|
|
169
168
|
- docs/SyncPolicyEnum.md
|
170
169
|
- docs/TaskGroupOperationResponse.md
|
171
170
|
- docs/VariantResponse.md
|
172
|
-
- git_push.sh
|
173
171
|
- lib/pulp_rpm_client.rb
|
174
172
|
- lib/pulp_rpm_client/api/acs_rpm_api.rb
|
175
173
|
- lib/pulp_rpm_client/api/content_advisories_api.rb
|
@@ -198,7 +196,6 @@ files:
|
|
198
196
|
- lib/pulp_rpm_client/models/async_operation_response.rb
|
199
197
|
- lib/pulp_rpm_client/models/checksum_response.rb
|
200
198
|
- lib/pulp_rpm_client/models/comps_xml.rb
|
201
|
-
- lib/pulp_rpm_client/models/content_summary.rb
|
202
199
|
- lib/pulp_rpm_client/models/content_summary_response.rb
|
203
200
|
- lib/pulp_rpm_client/models/copy.rb
|
204
201
|
- lib/pulp_rpm_client/models/image_response.rb
|
@@ -227,8 +224,8 @@ files:
|
|
227
224
|
- lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb
|
228
225
|
- lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb
|
229
226
|
- lib/pulp_rpm_client/models/policy_enum.rb
|
227
|
+
- lib/pulp_rpm_client/models/repair.rb
|
230
228
|
- lib/pulp_rpm_client/models/repository_add_remove_content.rb
|
231
|
-
- lib/pulp_rpm_client/models/repository_version.rb
|
232
229
|
- lib/pulp_rpm_client/models/repository_version_response.rb
|
233
230
|
- lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb
|
234
231
|
- lib/pulp_rpm_client/models/rpm_modulemd.rb
|
@@ -292,7 +289,6 @@ files:
|
|
292
289
|
- spec/models/checksum_response_spec.rb
|
293
290
|
- spec/models/comps_xml_spec.rb
|
294
291
|
- spec/models/content_summary_response_spec.rb
|
295
|
-
- spec/models/content_summary_spec.rb
|
296
292
|
- spec/models/copy_spec.rb
|
297
293
|
- spec/models/image_response_spec.rb
|
298
294
|
- spec/models/metadata_checksum_type_enum_spec.rb
|
@@ -320,9 +316,9 @@ files:
|
|
320
316
|
- spec/models/patchedrpm_rpm_repository_spec.rb
|
321
317
|
- spec/models/patchedrpm_uln_remote_spec.rb
|
322
318
|
- spec/models/policy_enum_spec.rb
|
319
|
+
- spec/models/repair_spec.rb
|
323
320
|
- spec/models/repository_add_remove_content_spec.rb
|
324
321
|
- spec/models/repository_version_response_spec.rb
|
325
|
-
- spec/models/repository_version_spec.rb
|
326
322
|
- spec/models/rpm_distribution_tree_response_spec.rb
|
327
323
|
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
328
324
|
- spec/models/rpm_modulemd_defaults_spec.rb
|
@@ -357,9 +353,9 @@ files:
|
|
357
353
|
- spec/models/task_group_operation_response_spec.rb
|
358
354
|
- spec/models/variant_response_spec.rb
|
359
355
|
- spec/spec_helper.rb
|
360
|
-
homepage: https://
|
356
|
+
homepage: https://github.com/pulp/pulp_rpm
|
361
357
|
licenses:
|
362
|
-
-
|
358
|
+
- GPLv2+
|
363
359
|
metadata: {}
|
364
360
|
post_install_message:
|
365
361
|
rdoc_options: []
|
@@ -381,95 +377,94 @@ signing_key:
|
|
381
377
|
specification_version: 4
|
382
378
|
summary: Pulp 3 API Ruby Gem
|
383
379
|
test_files:
|
384
|
-
- spec/api/
|
385
|
-
- spec/api/content_packageenvironments_api_spec.rb
|
386
|
-
- spec/api/publications_rpm_api_spec.rb
|
387
|
-
- spec/api/content_advisories_api_spec.rb
|
388
|
-
- spec/api/content_repo_metadata_files_api_spec.rb
|
380
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
389
381
|
- spec/api/content_modulemd_defaults_api_spec.rb
|
390
382
|
- spec/api/repositories_rpm_api_spec.rb
|
391
|
-
- spec/api/remotes_rpm_api_spec.rb
|
392
|
-
- spec/api/content_distribution_trees_api_spec.rb
|
393
|
-
- spec/api/content_packages_api_spec.rb
|
394
383
|
- spec/api/remotes_uln_api_spec.rb
|
395
|
-
- spec/api/
|
384
|
+
- spec/api/rpm_copy_api_spec.rb
|
396
385
|
- spec/api/content_modulemds_api_spec.rb
|
386
|
+
- spec/api/acs_rpm_api_spec.rb
|
387
|
+
- spec/api/content_advisories_api_spec.rb
|
388
|
+
- spec/api/rpm_comps_api_spec.rb
|
389
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
390
|
+
- spec/api/content_packages_api_spec.rb
|
397
391
|
- spec/api/content_packagecategories_api_spec.rb
|
392
|
+
- spec/api/distributions_rpm_api_spec.rb
|
398
393
|
- spec/api/repositories_rpm_versions_api_spec.rb
|
399
|
-
- spec/api/
|
400
|
-
- spec/api/
|
401
|
-
- spec/api/
|
394
|
+
- spec/api/publications_rpm_api_spec.rb
|
395
|
+
- spec/api/content_distribution_trees_api_spec.rb
|
396
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
397
|
+
- spec/api/remotes_rpm_api_spec.rb
|
402
398
|
- spec/api/content_packagegroups_api_spec.rb
|
403
399
|
- spec/api_client_spec.rb
|
404
400
|
- spec/configuration_spec.rb
|
405
|
-
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
406
|
-
- spec/models/checksum_response_spec.rb
|
407
|
-
- spec/models/copy_spec.rb
|
408
401
|
- spec/models/rpm_rpm_alternate_content_source_response_spec.rb
|
409
|
-
- spec/models/
|
410
|
-
- spec/models/
|
411
|
-
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
412
|
-
- spec/models/rpm_distribution_tree_response_spec.rb
|
402
|
+
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
403
|
+
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
413
404
|
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
414
|
-
- spec/models/
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/
|
417
|
-
- spec/models/
|
418
|
-
- spec/models/
|
419
|
-
- spec/models/
|
420
|
-
- spec/models/
|
421
|
-
- spec/models/
|
405
|
+
- spec/models/paginatedrpm_package_group_response_list_spec.rb
|
406
|
+
- spec/models/rpm_rpm_publication_response_spec.rb
|
407
|
+
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
408
|
+
- spec/models/rpm_uln_remote_spec.rb
|
409
|
+
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
410
|
+
- spec/models/async_operation_response_spec.rb
|
411
|
+
- spec/models/metadata_checksum_type_enum_spec.rb
|
412
|
+
- spec/models/rpm_update_record_response_spec.rb
|
413
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
422
414
|
- spec/models/paginatedrpm_package_response_list_spec.rb
|
423
|
-
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
424
|
-
- spec/models/rpm_rpm_distribution_spec.rb
|
425
415
|
- spec/models/package_checksum_type_enum_spec.rb
|
426
|
-
- spec/models/
|
427
|
-
- spec/models/rpm_package_langpacks_response_spec.rb
|
428
|
-
- spec/models/rpm_package_group_response_spec.rb
|
429
|
-
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
416
|
+
- spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
|
430
417
|
- spec/models/rpm_package_response_spec.rb
|
418
|
+
- spec/models/rpm_update_collection_response_spec.rb
|
419
|
+
- spec/models/patchedrpm_uln_remote_spec.rb
|
420
|
+
- spec/models/rpm_package_spec.rb
|
421
|
+
- spec/models/repair_spec.rb
|
422
|
+
- spec/models/comps_xml_spec.rb
|
423
|
+
- spec/models/rpm_package_category_response_spec.rb
|
424
|
+
- spec/models/repository_version_response_spec.rb
|
425
|
+
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
426
|
+
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
427
|
+
- spec/models/policy_enum_spec.rb
|
431
428
|
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
432
|
-
- spec/models/
|
433
|
-
- spec/models/
|
434
|
-
- spec/models/
|
429
|
+
- spec/models/sync_policy_enum_spec.rb
|
430
|
+
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
431
|
+
- spec/models/rpm_distribution_tree_response_spec.rb
|
432
|
+
- spec/models/repository_add_remove_content_spec.rb
|
433
|
+
- spec/models/addon_response_spec.rb
|
434
|
+
- spec/models/rpm_rpm_remote_response_spec.rb
|
435
|
+
- spec/models/rpm_rpm_distribution_response_spec.rb
|
436
|
+
- spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
|
437
|
+
- spec/models/rpm_uln_remote_response_spec.rb
|
435
438
|
- spec/models/rpm_package_environment_response_spec.rb
|
436
|
-
- spec/models/rpm_update_record_response_spec.rb
|
437
|
-
- spec/models/async_operation_response_spec.rb
|
438
|
-
- spec/models/task_group_operation_response_spec.rb
|
439
|
-
- spec/models/patchedrpm_rpm_repository_spec.rb
|
440
|
-
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
441
439
|
- spec/models/rpm_modulemd_response_spec.rb
|
440
|
+
- spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
|
441
|
+
- spec/models/variant_response_spec.rb
|
442
|
+
- spec/models/rpm_update_record_spec.rb
|
443
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
444
|
+
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
445
|
+
- spec/models/skip_types_enum_spec.rb
|
442
446
|
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
443
|
-
- spec/models/
|
444
|
-
- spec/models/
|
445
|
-
- spec/models/
|
446
|
-
- spec/models/
|
447
|
+
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
448
|
+
- spec/models/task_group_operation_response_spec.rb
|
449
|
+
- spec/models/artifact_response_spec.rb
|
450
|
+
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
447
451
|
- spec/models/rpm_rpm_repository_spec.rb
|
448
|
-
- spec/models/
|
449
|
-
- spec/models/
|
450
|
-
- spec/models/
|
451
|
-
- spec/models/skip_types_enum_spec.rb
|
452
|
-
- spec/models/rpm_package_spec.rb
|
453
|
-
- spec/models/repository_version_response_spec.rb
|
454
|
-
- spec/models/variant_response_spec.rb
|
452
|
+
- spec/models/rpm_modulemd_spec.rb
|
453
|
+
- spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
|
454
|
+
- spec/models/rpm_rpm_repository_response_spec.rb
|
455
455
|
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
456
|
-
- spec/models/
|
457
|
-
- spec/models/rpm_uln_remote_spec.rb
|
458
|
-
- spec/models/addon_response_spec.rb
|
459
|
-
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
460
|
-
- spec/models/content_summary_spec.rb
|
461
|
-
- spec/models/image_response_spec.rb
|
462
|
-
- spec/models/rpm_rpm_remote_response_spec.rb
|
463
|
-
- spec/models/rpm_update_record_spec.rb
|
464
|
-
- spec/models/rpm_update_collection_response_spec.rb
|
465
|
-
- spec/models/rpm_repository_sync_url_spec.rb
|
456
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
466
457
|
- spec/models/rpm_modulemd_defaults_spec.rb
|
467
|
-
- spec/models/
|
468
|
-
- spec/models/
|
469
|
-
- spec/models/
|
458
|
+
- spec/models/patchedrpm_rpm_remote_spec.rb
|
459
|
+
- spec/models/image_response_spec.rb
|
460
|
+
- spec/models/rpm_rpm_remote_spec.rb
|
461
|
+
- spec/models/rpm_rpm_alternate_content_source_spec.rb
|
462
|
+
- spec/models/rpm_package_langpacks_response_spec.rb
|
463
|
+
- spec/models/checksum_response_spec.rb
|
464
|
+
- spec/models/rpm_package_group_response_spec.rb
|
465
|
+
- spec/models/copy_spec.rb
|
466
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
467
|
+
- spec/models/content_summary_response_spec.rb
|
470
468
|
- spec/models/rpm_update_collection_spec.rb
|
471
|
-
- spec/models/
|
472
|
-
- spec/models/artifact_response_spec.rb
|
473
|
-
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
474
|
-
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
469
|
+
- spec/models/patchedrpm_rpm_repository_spec.rb
|
475
470
|
- spec/spec_helper.rb
|
data/docs/ContentSummary.md
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# PulpRpmClient::ContentSummary
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** | **Hash<String, Object>** | |
|
8
|
-
**removed** | **Hash<String, Object>** | |
|
9
|
-
**present** | **Hash<String, Object>** | |
|
10
|
-
|
11
|
-
## Code Sample
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'PulpRpmClient'
|
15
|
-
|
16
|
-
instance = PulpRpmClient::ContentSummary.new(added: null,
|
17
|
-
removed: null,
|
18
|
-
present: null)
|
19
|
-
```
|
20
|
-
|
21
|
-
|
data/docs/RepositoryVersion.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# PulpRpmClient::RepositoryVersion
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'PulpRpmClient'
|
13
|
-
|
14
|
-
instance = PulpRpmClient::RepositoryVersion.new(base_version: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
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
|
-
|