pulp_rpm_client 3.14.15 → 3.14.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/pulp_rpm_client.gemspec +3 -3
- metadata +67 -68
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 688fb2076e3ff9770c6b18f8bf11f94bafeff36ce3bb0a95bf2fccf9a82306bf
|
4
|
+
data.tar.gz: 719109f0836cc828cf2dbbac3002d53b7d3935fd723da66ce2dec10c95875172
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e86071e68975381b36838092c0deb76d54e615b1e14c2b6a5a2e4d74bbcfe4f88f82d91783da3c525a03e6b63c7dcfc5dbfa408ff07bdc4ac145cfeb49f1eda0
|
7
|
+
data.tar.gz: 29463f14d0c0e012a9c972091570f79a298762c27da922a98954f9327956ccf0ae9d63fca59be586bfeea454614a7112b2caa37f1d4a84b642051c5c7a18fa03
|
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.14.
|
10
|
+
- Package version: 3.14.18
|
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_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.14.
|
27
|
+
gem install ./pulp_rpm_client-3.14.18.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.14.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.14.18.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_rpm_client', '~> 3.14.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.14.18'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/pulp_rpm_client.gemspec
CHANGED
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
23
|
s.email = ["pulp-list@redhat.com"]
|
24
|
-
s.homepage = "https://
|
24
|
+
s.homepage = "https://github.com/pulp/pulp_rpm"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license = '
|
27
|
+
s.license = 'GPLv2+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 0.17', '< 1.9.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
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.14.
|
4
|
+
version: 3.14.18
|
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-03 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
|
- - "<"
|
@@ -161,7 +161,6 @@ files:
|
|
161
161
|
- docs/SkipTypesEnum.md
|
162
162
|
- docs/SyncPolicyEnum.md
|
163
163
|
- docs/VariantResponse.md
|
164
|
-
- git_push.sh
|
165
164
|
- lib/pulp_rpm_client.rb
|
166
165
|
- lib/pulp_rpm_client/api/content_advisories_api.rb
|
167
166
|
- lib/pulp_rpm_client/api/content_distribution_trees_api.rb
|
@@ -333,9 +332,9 @@ files:
|
|
333
332
|
- spec/models/sync_policy_enum_spec.rb
|
334
333
|
- spec/models/variant_response_spec.rb
|
335
334
|
- spec/spec_helper.rb
|
336
|
-
homepage: https://
|
335
|
+
homepage: https://github.com/pulp/pulp_rpm
|
337
336
|
licenses:
|
338
|
-
-
|
337
|
+
- GPLv2+
|
339
338
|
metadata: {}
|
340
339
|
post_install_message:
|
341
340
|
rdoc_options: []
|
@@ -357,87 +356,87 @@ signing_key:
|
|
357
356
|
specification_version: 4
|
358
357
|
summary: Pulp 3 API Ruby Gem
|
359
358
|
test_files:
|
360
|
-
- spec/api/
|
361
|
-
- spec/api/publications_rpm_api_spec.rb
|
362
|
-
- spec/api/content_advisories_api_spec.rb
|
363
|
-
- spec/api/content_repo_metadata_files_api_spec.rb
|
359
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
364
360
|
- spec/api/content_modulemd_defaults_api_spec.rb
|
365
361
|
- spec/api/repositories_rpm_api_spec.rb
|
366
|
-
- spec/api/remotes_rpm_api_spec.rb
|
367
|
-
- spec/api/content_distribution_trees_api_spec.rb
|
368
|
-
- spec/api/content_packages_api_spec.rb
|
369
362
|
- spec/api/remotes_uln_api_spec.rb
|
370
|
-
- spec/api/
|
363
|
+
- spec/api/rpm_copy_api_spec.rb
|
371
364
|
- spec/api/content_modulemds_api_spec.rb
|
365
|
+
- spec/api/content_advisories_api_spec.rb
|
366
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
367
|
+
- spec/api/content_packages_api_spec.rb
|
372
368
|
- spec/api/content_packagecategories_api_spec.rb
|
369
|
+
- spec/api/distributions_rpm_api_spec.rb
|
373
370
|
- spec/api/repositories_rpm_versions_api_spec.rb
|
374
|
-
- spec/api/
|
375
|
-
- spec/api/
|
371
|
+
- spec/api/publications_rpm_api_spec.rb
|
372
|
+
- spec/api/content_distribution_trees_api_spec.rb
|
373
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
374
|
+
- spec/api/remotes_rpm_api_spec.rb
|
376
375
|
- spec/api/content_packagegroups_api_spec.rb
|
377
376
|
- spec/api_client_spec.rb
|
378
377
|
- spec/configuration_spec.rb
|
379
|
-
- spec/models/
|
380
|
-
- spec/models/
|
381
|
-
- spec/models/copy_spec.rb
|
382
|
-
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
383
|
-
- spec/models/repository_version_spec.rb
|
384
|
-
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
385
|
-
- spec/models/rpm_distribution_tree_response_spec.rb
|
378
|
+
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
379
|
+
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
386
380
|
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
387
|
-
- spec/models/
|
388
|
-
- spec/models/
|
389
|
-
- spec/models/
|
390
|
-
- spec/models/
|
391
|
-
- spec/models/
|
392
|
-
- spec/models/
|
393
|
-
- spec/models/
|
381
|
+
- spec/models/paginatedrpm_package_group_response_list_spec.rb
|
382
|
+
- spec/models/rpm_rpm_publication_response_spec.rb
|
383
|
+
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
384
|
+
- spec/models/rpm_uln_remote_spec.rb
|
385
|
+
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
386
|
+
- spec/models/async_operation_response_spec.rb
|
387
|
+
- spec/models/metadata_checksum_type_enum_spec.rb
|
388
|
+
- spec/models/rpm_update_record_response_spec.rb
|
389
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
394
390
|
- spec/models/paginatedrpm_package_response_list_spec.rb
|
395
|
-
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
396
|
-
- spec/models/rpm_rpm_distribution_spec.rb
|
397
391
|
- spec/models/package_checksum_type_enum_spec.rb
|
398
|
-
- spec/models/
|
399
|
-
- spec/models/rpm_package_langpacks_response_spec.rb
|
400
|
-
- spec/models/rpm_package_group_response_spec.rb
|
401
|
-
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
392
|
+
- spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
|
402
393
|
- spec/models/rpm_package_response_spec.rb
|
394
|
+
- spec/models/rpm_update_collection_response_spec.rb
|
395
|
+
- spec/models/patchedrpm_uln_remote_spec.rb
|
396
|
+
- spec/models/rpm_package_spec.rb
|
397
|
+
- spec/models/rpm_package_category_response_spec.rb
|
398
|
+
- spec/models/repository_version_response_spec.rb
|
399
|
+
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
400
|
+
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
401
|
+
- spec/models/policy_enum_spec.rb
|
403
402
|
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
404
|
-
- spec/models/
|
405
|
-
- spec/models/
|
406
|
-
- spec/models/
|
403
|
+
- spec/models/sync_policy_enum_spec.rb
|
404
|
+
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
405
|
+
- spec/models/rpm_distribution_tree_response_spec.rb
|
406
|
+
- spec/models/repository_add_remove_content_spec.rb
|
407
|
+
- spec/models/addon_response_spec.rb
|
408
|
+
- spec/models/rpm_rpm_remote_response_spec.rb
|
409
|
+
- spec/models/rpm_rpm_distribution_response_spec.rb
|
410
|
+
- spec/models/rpm_uln_remote_response_spec.rb
|
407
411
|
- spec/models/rpm_package_environment_response_spec.rb
|
408
|
-
- spec/models/rpm_update_record_response_spec.rb
|
409
|
-
- spec/models/async_operation_response_spec.rb
|
410
|
-
- spec/models/patchedrpm_rpm_repository_spec.rb
|
411
|
-
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
412
412
|
- spec/models/rpm_modulemd_response_spec.rb
|
413
|
+
- spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
|
414
|
+
- spec/models/variant_response_spec.rb
|
415
|
+
- spec/models/rpm_update_record_spec.rb
|
416
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
417
|
+
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
418
|
+
- spec/models/skip_types_enum_spec.rb
|
413
419
|
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
414
|
-
- spec/models/
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/
|
417
|
-
- spec/models/rpm_uln_remote_response_spec.rb
|
420
|
+
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
421
|
+
- spec/models/artifact_response_spec.rb
|
422
|
+
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
418
423
|
- spec/models/rpm_rpm_repository_spec.rb
|
419
|
-
- spec/models/
|
420
|
-
- spec/models/
|
421
|
-
- spec/models/skip_types_enum_spec.rb
|
422
|
-
- spec/models/rpm_package_spec.rb
|
423
|
-
- spec/models/repository_version_response_spec.rb
|
424
|
-
- spec/models/variant_response_spec.rb
|
424
|
+
- spec/models/rpm_modulemd_spec.rb
|
425
|
+
- spec/models/rpm_rpm_repository_response_spec.rb
|
425
426
|
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
427
|
+
- spec/models/repository_version_spec.rb
|
428
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
429
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
430
|
+
- spec/models/patchedrpm_rpm_remote_spec.rb
|
431
|
+
- spec/models/image_response_spec.rb
|
426
432
|
- spec/models/rpm_rpm_remote_spec.rb
|
427
|
-
- spec/models/
|
428
|
-
- spec/models/
|
429
|
-
- spec/models/
|
433
|
+
- spec/models/rpm_package_langpacks_response_spec.rb
|
434
|
+
- spec/models/checksum_response_spec.rb
|
435
|
+
- spec/models/rpm_package_group_response_spec.rb
|
436
|
+
- spec/models/copy_spec.rb
|
437
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
430
438
|
- spec/models/content_summary_spec.rb
|
431
|
-
- spec/models/
|
432
|
-
- spec/models/rpm_rpm_remote_response_spec.rb
|
433
|
-
- spec/models/rpm_update_record_spec.rb
|
434
|
-
- spec/models/rpm_update_collection_response_spec.rb
|
435
|
-
- spec/models/rpm_repository_sync_url_spec.rb
|
436
|
-
- spec/models/rpm_modulemd_defaults_spec.rb
|
437
|
-
- spec/models/metadata_checksum_type_enum_spec.rb
|
439
|
+
- spec/models/content_summary_response_spec.rb
|
438
440
|
- spec/models/rpm_update_collection_spec.rb
|
439
|
-
- spec/models/
|
440
|
-
- spec/models/artifact_response_spec.rb
|
441
|
-
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
442
|
-
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
441
|
+
- spec/models/patchedrpm_rpm_repository_spec.rb
|
443
442
|
- 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
|
-
|