pulp_deb_client 2.18.2 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ContentGenericContentsApi.md +5 -3
- data/docs/ContentInstallerFileIndicesApi.md +2 -2
- data/docs/ContentInstallerPackagesApi.md +5 -3
- data/docs/ContentPackageIndicesApi.md +2 -2
- data/docs/ContentPackageReleaseComponentsApi.md +2 -2
- data/docs/ContentPackagesApi.md +5 -3
- data/docs/ContentReleaseArchitecturesApi.md +2 -2
- data/docs/ContentReleaseComponentsApi.md +2 -2
- data/docs/ContentReleaseFilesApi.md +2 -2
- data/docs/ContentReleasesApi.md +2 -2
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebBasePackage.md +3 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/docs/RemotesAptApi.md +2 -2
- data/docs/RepositoriesAptApi.md +2 -2
- data/docs/RepositoriesAptVersionsApi.md +2 -2
- data/git_push.sh +58 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +10 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +10 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +10 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +7 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +7 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +10 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +10 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +7 -3
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +7 -3
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +7 -3
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +2 -2
- data/lib/pulp_deb_client/models/deb_base_package.rb +14 -4
- data/lib/pulp_deb_client/models/deb_generic_content.rb +14 -4
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +3 -3
- data/spec/api/content_generic_contents_api_spec.rb +2 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +2 -1
- data/spec/api/content_package_indices_api_spec.rb +1 -1
- data/spec/api/content_package_release_components_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -1
- data/spec/api/content_release_architectures_api_spec.rb +1 -1
- data/spec/api/content_release_components_api_spec.rb +1 -1
- data/spec/api/content_release_files_api_spec.rb +1 -1
- data/spec/api/content_releases_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -1
- data/spec/api/remotes_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_versions_api_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +6 -0
- metadata +64 -63
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab6fcc89676915f9d0930a2dacc41cfecac112343d0f1402e109880642bdda9c
|
4
|
+
data.tar.gz: f8af6b34ecb8a72924306cacc86a9b068ed201ec4423068724471b477af2c4c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5adbf7be44da744764294ea6128debcb9698af15f61e7c83b6b6bfe77241469bcda2b8b3fafc1433cbced7e6c57fcb2923cc69c351b06edcd0edd2a172a234dd
|
7
|
+
data.tar.gz: c703be39d393e35e97a35f666e0d1f9f3d40bf6ecd51a75c4f91a14774f6ac2aa8d75badcb3f7ffb847bfe8f2af17b8165466c11d2b9f5cddcbe54d7111034a3
|
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: 2.
|
10
|
+
- Package version: 2.19.0
|
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_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.19.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.19.0.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_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.19.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -69,7 +69,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
69
69
|
opts = {
|
70
70
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
71
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
72
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
72
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
73
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
73
74
|
}
|
74
75
|
|
75
76
|
begin
|
@@ -35,7 +35,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
35
35
|
opts = {
|
36
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
}
|
40
41
|
|
41
42
|
begin
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
57
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
58
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
59
61
|
|
60
62
|
### Return type
|
61
63
|
|
@@ -95,7 +97,7 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
|
|
95
97
|
opts = {
|
96
98
|
limit: 56, # Integer | Number of results to return per page.
|
97
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
98
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
99
101
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
100
102
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
101
103
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -121,7 +123,7 @@ Name | Type | Description | Notes
|
|
121
123
|
------------- | ------------- | ------------- | -------------
|
122
124
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
123
125
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
124
|
-
**ordering** | **String
|
126
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
125
127
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
126
128
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
127
129
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -89,7 +89,7 @@ opts = {
|
|
89
89
|
component: 'component_example', # String | Filter results where component matches value
|
90
90
|
limit: 56, # Integer | Number of results to return per page.
|
91
91
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: 'ordering_example', # String |
|
92
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
93
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
94
94
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
95
95
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
|
|
117
117
|
**component** | **String**| Filter results where component matches value | [optional]
|
118
118
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
119
119
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
120
|
-
**ordering** | **String
|
120
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
121
121
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
122
122
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
123
123
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -35,7 +35,8 @@ opts = {
|
|
35
35
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
36
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
}
|
40
41
|
|
41
42
|
begin
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
57
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
58
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
59
61
|
|
60
62
|
### Return type
|
61
63
|
|
@@ -103,7 +105,7 @@ opts = {
|
|
103
105
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
104
106
|
multi_arch: 'multi_arch_example', # String | Filter results where multi_arch matches value
|
105
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
-
ordering: 'ordering_example', # String |
|
108
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
109
|
origin: 'origin_example', # String | Filter results where origin matches value
|
108
110
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
109
111
|
package: 'package_example', # String | Filter results where package matches value
|
@@ -144,7 +146,7 @@ Name | Type | Description | Notes
|
|
144
146
|
**maintainer** | **String**| Filter results where maintainer matches value | [optional]
|
145
147
|
**multi_arch** | **String**| Filter results where multi_arch matches value | [optional]
|
146
148
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
147
|
-
**ordering** | **String
|
149
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
148
150
|
**origin** | **String**| Filter results where origin matches value | [optional]
|
149
151
|
**original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
|
150
152
|
**package** | **String**| Filter results where package matches value | [optional]
|
@@ -89,7 +89,7 @@ opts = {
|
|
89
89
|
component: 'component_example', # String | Filter results where component matches value
|
90
90
|
limit: 56, # Integer | Number of results to return per page.
|
91
91
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: 'ordering_example', # String |
|
92
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
93
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
94
94
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
95
95
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
|
|
117
117
|
**component** | **String**| Filter results where component matches value | [optional]
|
118
118
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
119
119
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
120
|
-
**ordering** | **String
|
120
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
121
121
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
122
122
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
123
123
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -87,7 +87,7 @@ api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
|
87
87
|
opts = {
|
88
88
|
limit: 56, # Integer | Number of results to return per page.
|
89
89
|
offset: 56, # Integer | The initial index from which to return the results.
|
90
|
-
ordering: 'ordering_example', # String |
|
90
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
91
91
|
package: 'package_example', # String | Filter results where package matches value
|
92
92
|
release_component: 'release_component_example', # String | Filter results where release_component matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
@@ -113,7 +113,7 @@ Name | Type | Description | Notes
|
|
113
113
|
------------- | ------------- | ------------- | -------------
|
114
114
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
115
115
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
116
|
-
**ordering** | **String
|
116
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
117
117
|
**package** | [**String**](.md)| Filter results where package matches value | [optional]
|
118
118
|
**release_component** | [**String**](.md)| Filter results where release_component matches value | [optional]
|
119
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -35,7 +35,8 @@ opts = {
|
|
35
35
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
36
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
}
|
40
41
|
|
41
42
|
begin
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
57
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
58
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
59
61
|
|
60
62
|
### Return type
|
61
63
|
|
@@ -103,7 +105,7 @@ opts = {
|
|
103
105
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
104
106
|
multi_arch: 'multi_arch_example', # String | Filter results where multi_arch matches value
|
105
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
-
ordering: 'ordering_example', # String |
|
108
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
109
|
origin: 'origin_example', # String | Filter results where origin matches value
|
108
110
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
109
111
|
package: 'package_example', # String | Filter results where package matches value
|
@@ -145,7 +147,7 @@ Name | Type | Description | Notes
|
|
145
147
|
**maintainer** | **String**| Filter results where maintainer matches value | [optional]
|
146
148
|
**multi_arch** | **String**| Filter results where multi_arch matches value | [optional]
|
147
149
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
148
|
-
**ordering** | **String
|
150
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
149
151
|
**origin** | **String**| Filter results where origin matches value | [optional]
|
150
152
|
**original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
|
151
153
|
**package** | **String**| Filter results where package matches value | [optional]
|
@@ -88,7 +88,7 @@ opts = {
|
|
88
88
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
89
89
|
limit: 56, # Integer | Number of results to return per page.
|
90
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
-
ordering: 'ordering_example', # String |
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
92
|
release: 'release_example', # String | Filter results where release matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
|
|
114
114
|
**architecture** | **String**| Filter results where architecture matches value | [optional]
|
115
115
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
116
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
117
|
-
**ordering** | **String
|
117
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
118
118
|
**release** | [**String**](.md)| Filter results where release matches value | [optional]
|
119
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
120
120
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -88,7 +88,7 @@ opts = {
|
|
88
88
|
component: 'component_example', # String | Filter results where component matches value
|
89
89
|
limit: 56, # Integer | Number of results to return per page.
|
90
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
-
ordering: 'ordering_example', # String |
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
92
|
release: 'release_example', # String | Filter results where release matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
|
|
114
114
|
**component** | **String**| Filter results where component matches value | [optional]
|
115
115
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
116
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
117
|
-
**ordering** | **String
|
117
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
118
118
|
**release** | [**String**](.md)| Filter results where release matches value | [optional]
|
119
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
120
120
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -88,7 +88,7 @@ opts = {
|
|
88
88
|
codename: 'codename_example', # String | Filter results where codename matches value
|
89
89
|
limit: 56, # Integer | Number of results to return per page.
|
90
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
-
ordering: 'ordering_example', # String |
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
92
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -116,7 +116,7 @@ Name | Type | Description | Notes
|
|
116
116
|
**codename** | **String**| Filter results where codename matches value | [optional]
|
117
117
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
118
118
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
119
|
-
**ordering** | **String
|
119
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
120
120
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
121
121
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
122
122
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentReleasesApi.md
CHANGED
@@ -89,7 +89,7 @@ opts = {
|
|
89
89
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
90
90
|
limit: 56, # Integer | Number of results to return per page.
|
91
91
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: 'ordering_example', # String |
|
92
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
95
95
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -116,7 +116,7 @@ Name | Type | Description | Notes
|
|
116
116
|
**distribution** | **String**| Filter results where distribution matches value | [optional]
|
117
117
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
118
118
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
119
|
-
**ordering** | **String
|
119
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
120
120
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
121
121
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
122
122
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/DebAptRemote.md
CHANGED
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
data/docs/DebBasePackage.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
9
9
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
10
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
@@ -17,7 +18,8 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::DebBasePackage.new(artifact: null,
|
18
19
|
relative_path: null,
|
19
20
|
file: null,
|
20
|
-
repository: null
|
21
|
+
repository: null,
|
22
|
+
upload: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
data/docs/DebGenericContent.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
9
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
10
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
@@ -17,7 +18,8 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::DebGenericContent.new(artifact: null,
|
18
19
|
relative_path: null,
|
19
20
|
file: null,
|
20
|
-
repository: null
|
21
|
+
repository: null,
|
22
|
+
upload: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -152,7 +152,7 @@ opts = {
|
|
152
152
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
153
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: 'ordering_example', # String |
|
155
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
|
|
183
183
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
184
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
|
-
**ordering** | **String
|
186
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
187
187
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
188
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
data/docs/PatcheddebAptRemote.md
CHANGED
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -142,13 +142,14 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: 'ordering_example', # String |
|
145
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
146
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
|
+
repository: 'repository_example', # String | Repository referenced by HREF
|
152
153
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
153
154
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
155
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -172,13 +173,14 @@ Name | Type | Description | Notes
|
|
172
173
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
173
174
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
|
-
**ordering** | **String
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
176
177
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
177
178
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
178
179
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
179
180
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
180
181
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
181
182
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
183
|
+
**repository** | **String**| Repository referenced by HREF | [optional]
|
182
184
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
183
185
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
186
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -142,13 +142,14 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: 'ordering_example', # String |
|
145
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
146
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
|
+
repository: 'repository_example', # String | Repository referenced by HREF
|
152
153
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
153
154
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
155
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -172,13 +173,14 @@ Name | Type | Description | Notes
|
|
172
173
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
173
174
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
|
-
**ordering** | **String
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
176
177
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
177
178
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
178
179
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
179
180
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
180
181
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
181
182
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
183
|
+
**repository** | **String**| Repository referenced by HREF | [optional]
|
182
184
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
183
185
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
186
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
data/docs/RemotesAptApi.md
CHANGED
@@ -148,7 +148,7 @@ opts = {
|
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
153
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
186
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -150,7 +150,7 @@ opts = {
|
|
150
150
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
151
151
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
|
-
ordering: 'ordering_example', # String |
|
153
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
154
154
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
|
|
177
177
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
178
178
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
179
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
180
|
-
**ordering** | **String
|
180
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
181
181
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
182
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -97,7 +97,7 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
134
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | **String
|
136
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
137
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
138
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
139
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
data/git_push.sh
ADDED
@@ -0,0 +1,58 @@
|
|
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
|
+
|