pulp_rpm_client 3.17.6 → 3.17.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AcsRpmApi.md +2 -2
  4. data/docs/ContentAdvisoriesApi.md +2 -2
  5. data/docs/ContentDistributionTreesApi.md +2 -2
  6. data/docs/ContentModulemdDefaultsApi.md +5 -3
  7. data/docs/ContentModulemdsApi.md +4 -2
  8. data/docs/ContentPackagecategoriesApi.md +2 -2
  9. data/docs/ContentPackageenvironmentsApi.md +2 -2
  10. data/docs/ContentPackagegroupsApi.md +2 -2
  11. data/docs/ContentPackagelangpacksApi.md +2 -2
  12. data/docs/ContentPackagesApi.md +5 -3
  13. data/docs/ContentRepoMetadataFilesApi.md +2 -2
  14. data/docs/DistributionsRpmApi.md +2 -2
  15. data/docs/PatchedrpmRpmRemote.md +2 -2
  16. data/docs/PatchedrpmUlnRemote.md +1 -1
  17. data/docs/PublicationsRpmApi.md +4 -2
  18. data/docs/RemotesRpmApi.md +2 -2
  19. data/docs/RemotesUlnApi.md +2 -2
  20. data/docs/RepositoriesRpmApi.md +2 -2
  21. data/docs/RepositoriesRpmVersionsApi.md +2 -2
  22. data/docs/RpmModulemd.md +2 -0
  23. data/docs/RpmModulemdDefaults.md +2 -0
  24. data/docs/RpmPackage.md +3 -1
  25. data/docs/RpmRpmRemote.md +2 -2
  26. data/docs/RpmUlnRemote.md +1 -1
  27. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +7 -3
  28. data/lib/pulp_rpm_client/api/content_advisories_api.rb +7 -3
  29. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +7 -3
  30. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +10 -3
  31. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +10 -3
  32. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +7 -3
  33. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +7 -3
  34. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +7 -3
  35. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +7 -3
  36. data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -3
  37. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -3
  38. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +7 -3
  39. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +10 -3
  40. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +7 -3
  41. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +7 -3
  42. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +7 -3
  43. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -3
  44. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +2 -2
  45. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
  46. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +11 -1
  47. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +11 -1
  48. data/lib/pulp_rpm_client/models/rpm_package.rb +14 -4
  49. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +2 -2
  50. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
  51. data/lib/pulp_rpm_client/version.rb +1 -1
  52. data/pulp_rpm_client.gemspec +3 -3
  53. data/spec/api/acs_rpm_api_spec.rb +1 -1
  54. data/spec/api/content_advisories_api_spec.rb +1 -1
  55. data/spec/api/content_distribution_trees_api_spec.rb +1 -1
  56. data/spec/api/content_modulemd_defaults_api_spec.rb +2 -1
  57. data/spec/api/content_modulemds_api_spec.rb +2 -1
  58. data/spec/api/content_packagecategories_api_spec.rb +1 -1
  59. data/spec/api/content_packageenvironments_api_spec.rb +1 -1
  60. data/spec/api/content_packagegroups_api_spec.rb +1 -1
  61. data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
  62. data/spec/api/content_packages_api_spec.rb +2 -1
  63. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
  64. data/spec/api/distributions_rpm_api_spec.rb +1 -1
  65. data/spec/api/publications_rpm_api_spec.rb +2 -1
  66. data/spec/api/remotes_rpm_api_spec.rb +1 -1
  67. data/spec/api/remotes_uln_api_spec.rb +1 -1
  68. data/spec/api/repositories_rpm_api_spec.rb +1 -1
  69. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
  70. data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
  71. data/spec/models/rpm_modulemd_spec.rb +6 -0
  72. data/spec/models/rpm_package_spec.rb +6 -0
  73. metadata +76 -77
  74. data/git_push.sh +0 -58
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.6
4
+ version: 3.17.9
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-06-21 00:00:00.000000000 Z
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
  - - "<"
@@ -168,7 +168,6 @@ files:
168
168
  - docs/SyncPolicyEnum.md
169
169
  - docs/TaskGroupOperationResponse.md
170
170
  - docs/VariantResponse.md
171
- - git_push.sh
172
171
  - lib/pulp_rpm_client.rb
173
172
  - lib/pulp_rpm_client/api/acs_rpm_api.rb
174
173
  - lib/pulp_rpm_client/api/content_advisories_api.rb
@@ -354,9 +353,9 @@ files:
354
353
  - spec/models/task_group_operation_response_spec.rb
355
354
  - spec/models/variant_response_spec.rb
356
355
  - spec/spec_helper.rb
357
- homepage: https://openapi-generator.tech
356
+ homepage: https://github.com/pulp/pulp_rpm
358
357
  licenses:
359
- - GPL-2.0+
358
+ - GPLv2+
360
359
  metadata: {}
361
360
  post_install_message:
362
361
  rdoc_options: []
@@ -378,94 +377,94 @@ signing_key:
378
377
  specification_version: 4
379
378
  summary: Pulp 3 API Ruby Gem
380
379
  test_files:
381
- - spec/api/content_distribution_trees_api_spec.rb
382
- - spec/api/content_modulemds_api_spec.rb
383
- - spec/api/publications_rpm_api_spec.rb
384
- - spec/api/rpm_comps_api_spec.rb
385
- - spec/api/content_repo_metadata_files_api_spec.rb
386
380
  - spec/api/content_packagelangpacks_api_spec.rb
381
+ - spec/api/content_modulemd_defaults_api_spec.rb
387
382
  - spec/api/repositories_rpm_api_spec.rb
388
- - spec/api/content_packagegroups_api_spec.rb
389
- - spec/api/content_packagecategories_api_spec.rb
390
- - spec/api/acs_rpm_api_spec.rb
391
- - spec/api/remotes_rpm_api_spec.rb
392
383
  - spec/api/remotes_uln_api_spec.rb
393
- - spec/api/distributions_rpm_api_spec.rb
394
384
  - spec/api/rpm_copy_api_spec.rb
395
- - spec/api/repositories_rpm_versions_api_spec.rb
396
- - spec/api/content_modulemd_defaults_api_spec.rb
397
- - spec/api/content_packages_api_spec.rb
398
- - spec/api/content_packageenvironments_api_spec.rb
385
+ - spec/api/content_modulemds_api_spec.rb
386
+ - spec/api/acs_rpm_api_spec.rb
399
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
391
+ - spec/api/content_packagecategories_api_spec.rb
392
+ - spec/api/distributions_rpm_api_spec.rb
393
+ - spec/api/repositories_rpm_versions_api_spec.rb
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
398
+ - spec/api/content_packagegroups_api_spec.rb
400
399
  - spec/api_client_spec.rb
401
400
  - spec/configuration_spec.rb
402
- - spec/models/variant_response_spec.rb
403
- - spec/models/rpm_update_collection_spec.rb
404
- - spec/models/paginatedrpm_update_record_response_list_spec.rb
405
- - spec/models/comps_xml_spec.rb
406
- - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
407
401
  - spec/models/rpm_rpm_alternate_content_source_response_spec.rb
408
- - spec/models/paginatedrpm_modulemd_response_list_spec.rb
409
- - spec/models/policy_enum_spec.rb
410
- - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
402
+ - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
403
+ - spec/models/patchedrpm_rpm_distribution_spec.rb
404
+ - spec/models/paginatedrpm_package_category_response_list_spec.rb
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
411
408
  - spec/models/rpm_uln_remote_spec.rb
412
- - spec/models/patchedrpm_rpm_remote_spec.rb
413
- - spec/models/patchedrpm_rpm_repository_spec.rb
414
- - spec/models/repository_version_response_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
414
+ - spec/models/paginatedrpm_package_response_list_spec.rb
415
+ - spec/models/package_checksum_type_enum_spec.rb
415
416
  - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
416
- - spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
417
- - spec/models/rpm_modulemd_spec.rb
418
- - spec/models/image_response_spec.rb
419
- - spec/models/paginatedrpm_package_category_response_list_spec.rb
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
420
423
  - spec/models/rpm_package_category_response_spec.rb
421
- - spec/models/rpm_package_langpacks_response_spec.rb
422
- - spec/models/sync_policy_enum_spec.rb
423
- - spec/models/rpm_update_record_response_spec.rb
424
+ - spec/models/repository_version_response_spec.rb
424
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
428
+ - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
429
+ - spec/models/sync_policy_enum_spec.rb
430
+ - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
425
431
  - spec/models/rpm_distribution_tree_response_spec.rb
426
- - spec/models/async_operation_response_spec.rb
427
- - spec/models/checksum_response_spec.rb
428
- - spec/models/patchedrpm_uln_remote_spec.rb
429
- - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
430
- - spec/models/artifact_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
438
+ - spec/models/rpm_package_environment_response_spec.rb
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
431
443
  - spec/models/rpm_rpm_publication_spec.rb
432
- - spec/models/content_summary_response_spec.rb
444
+ - spec/models/paginatedrpm_modulemd_response_list_spec.rb
433
445
  - spec/models/skip_types_enum_spec.rb
434
- - spec/models/rpm_modulemd_response_spec.rb
435
- - spec/models/rpm_uln_remote_response_spec.rb
436
- - spec/models/rpm_package_spec.rb
446
+ - spec/models/rpm_modulemd_defaults_response_spec.rb
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
437
450
  - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
438
- - spec/models/rpm_rpm_publication_response_spec.rb
451
+ - spec/models/rpm_rpm_repository_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
+ - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
439
456
  - spec/models/paginated_repository_version_response_list_spec.rb
440
- - spec/models/rpm_rpm_remote_spec.rb
441
457
  - spec/models/rpm_modulemd_defaults_spec.rb
442
- - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
443
- - spec/models/rpm_package_response_spec.rb
444
- - spec/models/paginatedrpm_package_group_response_list_spec.rb
445
- - spec/models/rpm_package_group_response_spec.rb
446
- - spec/models/task_group_operation_response_spec.rb
447
- - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
448
- - spec/models/rpm_repo_metadata_file_response_spec.rb
449
- - spec/models/rpm_repository_sync_url_spec.rb
458
+ - spec/models/patchedrpm_rpm_remote_spec.rb
459
+ - spec/models/image_response_spec.rb
460
+ - spec/models/rpm_rpm_remote_spec.rb
450
461
  - spec/models/rpm_rpm_alternate_content_source_spec.rb
451
- - spec/models/paginatedrpm_package_response_list_spec.rb
452
- - spec/models/package_checksum_type_enum_spec.rb
453
- - spec/models/repair_spec.rb
454
- - spec/models/rpm_package_environment_response_spec.rb
455
- - spec/models/rpm_rpm_repository_response_spec.rb
456
- - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
457
- - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
458
- - spec/models/rpm_update_record_spec.rb
459
- - spec/models/repository_add_remove_content_spec.rb
460
- - spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
461
- - spec/models/rpm_update_collection_response_spec.rb
462
- - spec/models/rpm_rpm_distribution_spec.rb
463
- - spec/models/rpm_rpm_distribution_response_spec.rb
464
- - spec/models/addon_response_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
465
  - spec/models/copy_spec.rb
466
- - spec/models/patchedrpm_rpm_distribution_spec.rb
467
- - spec/models/rpm_rpm_remote_response_spec.rb
468
- - spec/models/rpm_rpm_repository_spec.rb
469
- - spec/models/metadata_checksum_type_enum_spec.rb
470
- - spec/models/rpm_modulemd_defaults_response_spec.rb
466
+ - spec/models/rpm_rpm_distribution_spec.rb
467
+ - spec/models/content_summary_response_spec.rb
468
+ - spec/models/rpm_update_collection_spec.rb
469
+ - spec/models/patchedrpm_rpm_repository_spec.rb
471
470
  - 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
-