pulpcore 3.84.0__py3-none-any.whl → 3.85.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulpcore might be problematic. Click here for more details.

Files changed (163) hide show
  1. pulp_certguard/app/__init__.py +1 -1
  2. pulp_certguard/app/models.py +7 -26
  3. pulp_certguard/app/serializers.py +0 -2
  4. pulp_certguard/rhsm/__init__.py +4 -0
  5. pulp_certguard/rhsm/rhsm_check_path.py +198 -0
  6. pulp_certguard/tests/unit/certdata.py +249 -0
  7. pulp_certguard/tests/unit/test_rhsm_check_path.py +213 -0
  8. pulp_file/app/__init__.py +1 -1
  9. pulp_file/app/migrations/0001_initial_squashed_0016_add_domain.py +0 -20
  10. pulp_file/app/migrations/0017_alter_filealternatecontentsource_alternatecontentsource_ptr_and_more.py +1 -1
  11. pulpcore/app/apps.py +2 -12
  12. pulpcore/app/entrypoint.py +22 -22
  13. pulpcore/app/migrations/0001_squashed_0090_char_to_text_field.py +0 -95
  14. pulpcore/app/migrations/0091_systemid.py +1 -1
  15. pulp_file/app/migrations/0006_delete_filefilesystemexporter.py → pulpcore/app/migrations/0136_delete_basedistribution.py +3 -3
  16. pulpcore/app/migrations/0137_appstatus.py +33 -0
  17. pulpcore/app/migrations/0138_vulnerabilityreport.py +33 -0
  18. pulpcore/app/models/__init__.py +4 -1
  19. pulpcore/app/models/publication.py +0 -41
  20. pulpcore/app/models/status.py +145 -0
  21. pulpcore/app/models/task.py +1 -0
  22. pulpcore/app/models/vulnerability_report.py +34 -0
  23. pulpcore/app/serializers/__init__.py +1 -0
  24. pulpcore/app/serializers/content.py +13 -1
  25. pulpcore/app/serializers/repository.py +8 -1
  26. pulpcore/app/serializers/vulnerability_report.py +27 -0
  27. pulpcore/app/settings.py +14 -47
  28. pulpcore/app/tasks/__init__.py +2 -0
  29. pulpcore/app/tasks/vulnerability_report.py +159 -0
  30. pulpcore/app/viewsets/__init__.py +1 -0
  31. pulpcore/app/viewsets/vulnerability_report.py +20 -0
  32. pulpcore/constants.py +4 -0
  33. pulpcore/content/__init__.py +23 -22
  34. pulpcore/content/handler.py +5 -2
  35. pulpcore/migrations.py +37 -11
  36. pulpcore/openapi/__init__.py +8 -0
  37. pulpcore/plugin/models/__init__.py +2 -0
  38. pulpcore/plugin/serializers/__init__.py +2 -0
  39. pulpcore/plugin/tasking.py +2 -0
  40. pulpcore/plugin/viewsets/__init__.py +2 -0
  41. pulpcore/pytest_plugin.py +21 -21
  42. pulpcore/tasking/worker.py +38 -35
  43. pulpcore/tests/functional/api/test_auth.py +18 -3
  44. pulpcore/tests/functional/api/test_openapi_schema.py +32 -15
  45. pulpcore/tests/functional/api/using_plugin/test_checkpoint.py +23 -1
  46. pulpcore/tests/functional/api/using_plugin/test_proxy.py +1 -1
  47. pulpcore/tests/unit/content/test_heartbeat.py +11 -8
  48. pulpcore/tests/unit/test_vulnerability_report.py +74 -0
  49. {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/METADATA +12 -17
  50. {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/RECORD +54 -152
  51. pulp_certguard/app/utils.py +0 -28
  52. pulp_certguard/tests/unit/test_models.py +0 -9
  53. pulp_file/app/migrations/0001_initial.py +0 -59
  54. pulp_file/app/migrations/0002_file_related_names.py +0 -55
  55. pulp_file/app/migrations/0003_auto_20191014_1721.py +0 -18
  56. pulp_file/app/migrations/0004_filefilesystemexporter.py +0 -21
  57. pulp_file/app/migrations/0005_filerepository.py +0 -24
  58. pulp_file/app/migrations/0007_filefilesystemexporter.py +0 -25
  59. pulp_file/app/migrations/0008_add_manifest_field.py +0 -19
  60. pulp_file/app/migrations/0009_move_data_to_new_master_distribution_model.py +0 -77
  61. pulp_file/app/migrations/0010_auto_publish.py +0 -23
  62. pulp_file/app/migrations/0011_fix_auto_publish.py +0 -36
  63. pulp_file/app/migrations/0012_delete_filefilesystemexporter.py +0 -28
  64. pulp_file/app/migrations/0013_file_acs.py +0 -24
  65. pulp_file/app/migrations/0014_new_rbac_permissions.py +0 -33
  66. pulp_file/app/migrations/0015_allow_null_manifest.py +0 -23
  67. pulp_file/app/migrations/0016_add_domain.py +0 -25
  68. pulpcore/app/migrations/0001_initial.py +0 -451
  69. pulpcore/app/migrations/0002_increase_artifact_size_field.py +0 -18
  70. pulpcore/app/migrations/0003_remove_upload_completed.py +0 -17
  71. pulpcore/app/migrations/0004_add_duplicated_reserved_resources.py +0 -45
  72. pulpcore/app/migrations/0005_progressreport_code.py +0 -19
  73. pulpcore/app/migrations/0006_repository_plugin_managed.py +0 -18
  74. pulpcore/app/migrations/0007_delete_progress_proxies.py +0 -19
  75. pulpcore/app/migrations/0008_published_metadata_as_content.py +0 -44
  76. pulpcore/app/migrations/0009_remove_task_non_fatal_errors.py +0 -17
  77. pulpcore/app/migrations/0010_pulp_fields.py +0 -570
  78. pulpcore/app/migrations/0011_relative_path.py +0 -28
  79. pulpcore/app/migrations/0012_auto_20191104_2000.py +0 -31
  80. pulpcore/app/migrations/0013_repository_pulp_type.py +0 -18
  81. pulpcore/app/migrations/0014_remove_repository_plugin_managed.py +0 -17
  82. pulpcore/app/migrations/0015_auto_20191112_1426.py +0 -33
  83. pulpcore/app/migrations/0016_charfield_to_textfield.py +0 -68
  84. pulpcore/app/migrations/0017_remove_task_parent.py +0 -17
  85. pulpcore/app/migrations/0018_auto_20191127_2350.py +0 -20
  86. pulpcore/app/migrations/0019_add_signing_service_model.py +0 -27
  87. pulpcore/app/migrations/0020_change_publishedartifact_constraints.py +0 -17
  88. pulpcore/app/migrations/0021_add_signing_service_foreign_key.py +0 -24
  89. pulpcore/app/migrations/0022_rename_last_version.py +0 -27
  90. pulpcore/app/migrations/0023_change_exporter_models.py +0 -82
  91. pulpcore/app/migrations/0024_use_local_storage_for_uploads.py +0 -19
  92. pulpcore/app/migrations/0025_task_parent_task.py +0 -19
  93. pulpcore/app/migrations/0026_task_group.py +0 -32
  94. pulpcore/app/migrations/0027_export_backend.py +0 -31
  95. pulpcore/app/migrations/0028_import_importer_pulpimporter_pulpimporterrepository.py +0 -85
  96. pulpcore/app/migrations/0029_export_delete.py +0 -19
  97. pulpcore/app/migrations/0030_taskgroup_all_tasks_dispatched.py +0 -24
  98. pulpcore/app/migrations/0031_import_export_validate_params.py +0 -19
  99. pulpcore/app/migrations/0032_export_to_chunks.py +0 -27
  100. pulpcore/app/migrations/0033_increase_remote_artifact_size_field.py +0 -18
  101. pulpcore/app/migrations/0034_groupprogressreport.py +0 -32
  102. pulpcore/app/migrations/0035_content_upstream_id.py +0 -18
  103. pulpcore/app/migrations/0036_unprotect_last_export.py +0 -19
  104. pulpcore/app/migrations/0037_pulptemporaryfile.py +0 -28
  105. pulpcore/app/migrations/0038_repository_remote.py +0 -19
  106. pulpcore/app/migrations/0039_change_download_concurrency.py +0 -25
  107. pulpcore/app/migrations/0040_set_admin_is_staff.py +0 -28
  108. pulpcore/app/migrations/0041_accesspolicy.py +0 -29
  109. pulpcore/app/migrations/0042_rbac_for_tasks.py +0 -56
  110. pulpcore/app/migrations/0043_toc_attribute.py +0 -19
  111. pulpcore/app/migrations/0044_temp_file_artifact_field.py +0 -20
  112. pulpcore/app/migrations/0045_accesspolicy_permissions_allow_null.py +0 -19
  113. pulpcore/app/migrations/0046_task__resource_job_id.py +0 -35
  114. pulpcore/app/migrations/0047_improve_orphan_cleanup.py +0 -59
  115. pulpcore/app/migrations/0048_fips_checksums.py +0 -38
  116. pulpcore/app/migrations/0049_add_file_field_to_uploadchunk.py +0 -24
  117. pulpcore/app/migrations/0050_namespace_access_policies.py +0 -28
  118. pulpcore/app/migrations/0051_timeoutfields.py +0 -34
  119. pulpcore/app/migrations/0052_tasking_logging_cid.py +0 -18
  120. pulpcore/app/migrations/0053_remote_headers.py +0 -19
  121. pulpcore/app/migrations/0054_add_public_key.py +0 -104
  122. pulpcore/app/migrations/0055_label.py +0 -31
  123. pulpcore/app/migrations/0056_remote_rate_limit.py +0 -18
  124. pulpcore/app/migrations/0057_add_label_indexes.py +0 -23
  125. pulpcore/app/migrations/0058_accesspolicy_customized.py +0 -18
  126. pulpcore/app/migrations/0059_proxy_creds.py +0 -23
  127. pulpcore/app/migrations/0060_data_migration_proxy_creds.py +0 -45
  128. pulpcore/app/migrations/0061_call_handle_artifact_checksums_command.py +0 -87
  129. pulpcore/app/migrations/0062_add_new_distribution_mastermodel.py +0 -36
  130. pulpcore/app/migrations/0063_repository_retained_versions.py +0 -18
  131. pulpcore/app/migrations/0064_add_new_style_task_columns.py +0 -109
  132. pulpcore/app/migrations/0064_repository_user_hidden.py +0 -18
  133. pulpcore/app/migrations/0065_merge_20210615_1211.py +0 -14
  134. pulpcore/app/migrations/0066_download_concurrency_and_retry_changes.py +0 -24
  135. pulpcore/app/migrations/0067_add_protect_to_task_reservation.py +0 -19
  136. pulpcore/app/migrations/0068_add_timestamp_of_interest.py +0 -23
  137. pulpcore/app/migrations/0069_update_json_fields.py +0 -63
  138. pulpcore/app/migrations/0070_rename_retained_versions.py +0 -18
  139. pulpcore/app/migrations/0071_filesystemexport_filesystemexporter.py +0 -35
  140. pulpcore/app/migrations/0072_add_method_to_filesystem_exporter.py +0 -18
  141. pulpcore/app/migrations/0073_encrypt_remote_fields.py +0 -139
  142. pulpcore/app/migrations/0074_acs.py +0 -47
  143. pulpcore/app/migrations/0075_rbaccontentguard.py +0 -25
  144. pulpcore/app/migrations/0076_remove_reserved_resource.py +0 -39
  145. pulpcore/app/migrations/0077_move_remote_url_credentials.py +0 -41
  146. pulpcore/app/migrations/0078_grouprole_role_userrole.py +0 -70
  147. pulpcore/app/migrations/0079_rename_permissions_assignment_accesspolicy_creation_hooks.py +0 -18
  148. pulpcore/app/migrations/0080_proxy_group_model.py +0 -37
  149. pulpcore/app/migrations/0081_reapplabel_group_permissions.py +0 -59
  150. pulpcore/app/migrations/0082_add_manage_roles_permissions.py +0 -17
  151. pulpcore/app/migrations/0083_alter_group_options.py +0 -17
  152. pulpcore/app/migrations/0084_alter_rbaccontentguard_options.py +0 -17
  153. pulpcore/app/migrations/0085_contentredirectcontentguard.py +0 -26
  154. pulpcore/app/migrations/0086_task_json_fields.py +0 -77
  155. pulpcore/app/migrations/0087_taskschedule.py +0 -34
  156. pulpcore/app/migrations/0088_accesspolicy_queryset_scoping.py +0 -18
  157. pulpcore/app/migrations/0089_alter_contentredirectcontentguard_options.py +0 -17
  158. pulpcore/app/migrations/0090_char_to_text_field.py +0 -79
  159. pulpcore/tests/unit/migration/test_0077_move_remote_url_credentials.py +0 -35
  160. {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/WHEEL +0 -0
  161. {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/entry_points.txt +0 -0
  162. {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/licenses/LICENSE +0 -0
  163. {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/top_level.txt +0 -0
@@ -1,570 +0,0 @@
1
- # Generated by Django 2.2.6 on 2019-10-01 19:31
2
-
3
- from django.db import migrations, models
4
- import django.db.models.deletion
5
- import pulpcore.app.models.task
6
-
7
-
8
- class Migration(migrations.Migration):
9
-
10
- dependencies = [
11
- ('core', '0009_remove_task_non_fatal_errors'),
12
- ]
13
-
14
- operations = [
15
- migrations.RenameField(
16
- model_name='artifact',
17
- old_name='_created',
18
- new_name='pulp_created',
19
- ),
20
- migrations.RenameField(
21
- model_name='artifact',
22
- old_name='_id',
23
- new_name='pulp_id',
24
- ),
25
- migrations.RenameField(
26
- model_name='artifact',
27
- old_name='_last_updated',
28
- new_name='pulp_last_updated',
29
- ),
30
- migrations.RenameField(
31
- model_name='basedistribution',
32
- old_name='_created',
33
- new_name='pulp_created',
34
- ),
35
- migrations.RenameField(
36
- model_name='basedistribution',
37
- old_name='_id',
38
- new_name='pulp_id',
39
- ),
40
- migrations.RenameField(
41
- model_name='basedistribution',
42
- old_name='_last_updated',
43
- new_name='pulp_last_updated',
44
- ),
45
- migrations.RenameField(
46
- model_name='basedistribution',
47
- old_name='_type',
48
- new_name='pulp_type',
49
- ),
50
- migrations.RenameField(
51
- model_name='content',
52
- old_name='_created',
53
- new_name='pulp_created',
54
- ),
55
- migrations.RenameField(
56
- model_name='content',
57
- old_name='_id',
58
- new_name='pulp_id',
59
- ),
60
- migrations.RenameField(
61
- model_name='content',
62
- old_name='_last_updated',
63
- new_name='pulp_last_updated',
64
- ),
65
- migrations.RenameField(
66
- model_name='content',
67
- old_name='_type',
68
- new_name='pulp_type',
69
- ),
70
- migrations.RenameField(
71
- model_name='contentappstatus',
72
- old_name='_created',
73
- new_name='pulp_created',
74
- ),
75
- migrations.RenameField(
76
- model_name='contentappstatus',
77
- old_name='_id',
78
- new_name='pulp_id',
79
- ),
80
- migrations.RenameField(
81
- model_name='contentappstatus',
82
- old_name='_last_updated',
83
- new_name='pulp_last_updated',
84
- ),
85
- migrations.RenameField(
86
- model_name='contentartifact',
87
- old_name='_created',
88
- new_name='pulp_created',
89
- ),
90
- migrations.RenameField(
91
- model_name='contentartifact',
92
- old_name='_id',
93
- new_name='pulp_id',
94
- ),
95
- migrations.RenameField(
96
- model_name='contentartifact',
97
- old_name='_last_updated',
98
- new_name='pulp_last_updated',
99
- ),
100
- migrations.RenameField(
101
- model_name='contentguard',
102
- old_name='_created',
103
- new_name='pulp_created',
104
- ),
105
- migrations.RenameField(
106
- model_name='contentguard',
107
- old_name='_id',
108
- new_name='pulp_id',
109
- ),
110
- migrations.RenameField(
111
- model_name='contentguard',
112
- old_name='_last_updated',
113
- new_name='pulp_last_updated',
114
- ),
115
- migrations.RenameField(
116
- model_name='contentguard',
117
- old_name='_type',
118
- new_name='pulp_type',
119
- ),
120
- migrations.RenameField(
121
- model_name='createdresource',
122
- old_name='_created',
123
- new_name='pulp_created',
124
- ),
125
- migrations.RenameField(
126
- model_name='createdresource',
127
- old_name='_id',
128
- new_name='pulp_id',
129
- ),
130
- migrations.RenameField(
131
- model_name='createdresource',
132
- old_name='_last_updated',
133
- new_name='pulp_last_updated',
134
- ),
135
- migrations.RenameField(
136
- model_name='exporter',
137
- old_name='_created',
138
- new_name='pulp_created',
139
- ),
140
- migrations.RenameField(
141
- model_name='exporter',
142
- old_name='_id',
143
- new_name='pulp_id',
144
- ),
145
- migrations.RenameField(
146
- model_name='exporter',
147
- old_name='_last_updated',
148
- new_name='pulp_last_updated',
149
- ),
150
- migrations.RenameField(
151
- model_name='exporter',
152
- old_name='_type',
153
- new_name='pulp_type',
154
- ),
155
- migrations.RenameField(
156
- model_name='progressreport',
157
- old_name='_created',
158
- new_name='pulp_created',
159
- ),
160
- migrations.RenameField(
161
- model_name='progressreport',
162
- old_name='_id',
163
- new_name='pulp_id',
164
- ),
165
- migrations.RenameField(
166
- model_name='progressreport',
167
- old_name='_last_updated',
168
- new_name='pulp_last_updated',
169
- ),
170
- migrations.RenameField(
171
- model_name='publication',
172
- old_name='_created',
173
- new_name='pulp_created',
174
- ),
175
- migrations.RenameField(
176
- model_name='publication',
177
- old_name='_id',
178
- new_name='pulp_id',
179
- ),
180
- migrations.RenameField(
181
- model_name='publication',
182
- old_name='_last_updated',
183
- new_name='pulp_last_updated',
184
- ),
185
- migrations.RenameField(
186
- model_name='publication',
187
- old_name='_type',
188
- new_name='pulp_type',
189
- ),
190
- migrations.RenameField(
191
- model_name='publishedartifact',
192
- old_name='_created',
193
- new_name='pulp_created',
194
- ),
195
- migrations.RenameField(
196
- model_name='publishedartifact',
197
- old_name='_id',
198
- new_name='pulp_id',
199
- ),
200
- migrations.RenameField(
201
- model_name='publishedartifact',
202
- old_name='_last_updated',
203
- new_name='pulp_last_updated',
204
- ),
205
- migrations.RenameField(
206
- model_name='publisher',
207
- old_name='_created',
208
- new_name='pulp_created',
209
- ),
210
- migrations.RenameField(
211
- model_name='publisher',
212
- old_name='_id',
213
- new_name='pulp_id',
214
- ),
215
- migrations.RenameField(
216
- model_name='publisher',
217
- old_name='_last_updated',
218
- new_name='pulp_last_updated',
219
- ),
220
- migrations.RenameField(
221
- model_name='publisher',
222
- old_name='_type',
223
- new_name='pulp_type',
224
- ),
225
- migrations.RenameField(
226
- model_name='remote',
227
- old_name='_created',
228
- new_name='pulp_created',
229
- ),
230
- migrations.RenameField(
231
- model_name='remote',
232
- old_name='_id',
233
- new_name='pulp_id',
234
- ),
235
- migrations.RenameField(
236
- model_name='remote',
237
- old_name='_last_updated',
238
- new_name='pulp_last_updated',
239
- ),
240
- migrations.RenameField(
241
- model_name='remote',
242
- old_name='_type',
243
- new_name='pulp_type',
244
- ),
245
- migrations.RenameField(
246
- model_name='remoteartifact',
247
- old_name='_created',
248
- new_name='pulp_created',
249
- ),
250
- migrations.RenameField(
251
- model_name='remoteartifact',
252
- old_name='_id',
253
- new_name='pulp_id',
254
- ),
255
- migrations.RenameField(
256
- model_name='remoteartifact',
257
- old_name='_last_updated',
258
- new_name='pulp_last_updated',
259
- ),
260
- migrations.RenameField(
261
- model_name='repository',
262
- old_name='_created',
263
- new_name='pulp_created',
264
- ),
265
- migrations.RenameField(
266
- model_name='repository',
267
- old_name='_id',
268
- new_name='pulp_id',
269
- ),
270
- migrations.RenameField(
271
- model_name='repository',
272
- old_name='_last_updated',
273
- new_name='pulp_last_updated',
274
- ),
275
- migrations.RenameField(
276
- model_name='repositorycontent',
277
- old_name='_created',
278
- new_name='pulp_created',
279
- ),
280
- migrations.RenameField(
281
- model_name='repositorycontent',
282
- old_name='_id',
283
- new_name='pulp_id',
284
- ),
285
- migrations.RenameField(
286
- model_name='repositorycontent',
287
- old_name='_last_updated',
288
- new_name='pulp_last_updated',
289
- ),
290
- migrations.RenameField(
291
- model_name='repositoryversion',
292
- old_name='_created',
293
- new_name='pulp_created',
294
- ),
295
- migrations.RenameField(
296
- model_name='repositoryversion',
297
- old_name='_id',
298
- new_name='pulp_id',
299
- ),
300
- migrations.RenameField(
301
- model_name='repositoryversion',
302
- old_name='_last_updated',
303
- new_name='pulp_last_updated',
304
- ),
305
- migrations.RenameField(
306
- model_name='reservedresource',
307
- old_name='_created',
308
- new_name='pulp_created',
309
- ),
310
- migrations.RenameField(
311
- model_name='reservedresource',
312
- old_name='_id',
313
- new_name='pulp_id',
314
- ),
315
- migrations.RenameField(
316
- model_name='reservedresource',
317
- old_name='_last_updated',
318
- new_name='pulp_last_updated',
319
- ),
320
- migrations.RenameField(
321
- model_name='reservedresourcerecord',
322
- old_name='_created',
323
- new_name='pulp_created',
324
- ),
325
- migrations.RenameField(
326
- model_name='reservedresourcerecord',
327
- old_name='_id',
328
- new_name='pulp_id',
329
- ),
330
- migrations.RenameField(
331
- model_name='reservedresourcerecord',
332
- old_name='_last_updated',
333
- new_name='pulp_last_updated',
334
- ),
335
- migrations.RenameField(
336
- model_name='task',
337
- old_name='_created',
338
- new_name='pulp_created',
339
- ),
340
- migrations.RenameField(
341
- model_name='task',
342
- old_name='_id',
343
- new_name='pulp_id',
344
- ),
345
- migrations.RenameField(
346
- model_name='task',
347
- old_name='_last_updated',
348
- new_name='pulp_last_updated',
349
- ),
350
- migrations.RenameField(
351
- model_name='taskreservedresource',
352
- old_name='_created',
353
- new_name='pulp_created',
354
- ),
355
- migrations.RenameField(
356
- model_name='taskreservedresource',
357
- old_name='_id',
358
- new_name='pulp_id',
359
- ),
360
- migrations.RenameField(
361
- model_name='taskreservedresource',
362
- old_name='_last_updated',
363
- new_name='pulp_last_updated',
364
- ),
365
- migrations.RenameField(
366
- model_name='taskreservedresourcerecord',
367
- old_name='_created',
368
- new_name='pulp_created',
369
- ),
370
- migrations.RenameField(
371
- model_name='taskreservedresourcerecord',
372
- old_name='_id',
373
- new_name='pulp_id',
374
- ),
375
- migrations.RenameField(
376
- model_name='taskreservedresourcerecord',
377
- old_name='_last_updated',
378
- new_name='pulp_last_updated',
379
- ),
380
- migrations.RenameField(
381
- model_name='upload',
382
- old_name='_created',
383
- new_name='pulp_created',
384
- ),
385
- migrations.RenameField(
386
- model_name='upload',
387
- old_name='_id',
388
- new_name='pulp_id',
389
- ),
390
- migrations.RenameField(
391
- model_name='upload',
392
- old_name='_last_updated',
393
- new_name='pulp_last_updated',
394
- ),
395
- migrations.RenameField(
396
- model_name='uploadchunk',
397
- old_name='_created',
398
- new_name='pulp_created',
399
- ),
400
- migrations.RenameField(
401
- model_name='uploadchunk',
402
- old_name='_id',
403
- new_name='pulp_id',
404
- ),
405
- migrations.RenameField(
406
- model_name='uploadchunk',
407
- old_name='_last_updated',
408
- new_name='pulp_last_updated',
409
- ),
410
- migrations.RenameField(
411
- model_name='worker',
412
- old_name='_created',
413
- new_name='pulp_created',
414
- ),
415
- migrations.RenameField(
416
- model_name='worker',
417
- old_name='_id',
418
- new_name='pulp_id',
419
- ),
420
- migrations.RenameField(
421
- model_name='worker',
422
- old_name='_last_updated',
423
- new_name='pulp_last_updated',
424
- ),
425
- migrations.AlterField(
426
- model_name='basedistribution',
427
- name='content_guard',
428
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.ContentGuard', to_field='pulp_id'),
429
- ),
430
- migrations.AlterField(
431
- model_name='basedistribution',
432
- name='remote',
433
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.Remote', to_field='pulp_id'),
434
- ),
435
- migrations.AlterField(
436
- model_name='contentartifact',
437
- name='artifact',
438
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='core.Artifact', to_field='pulp_id'),
439
- ),
440
- migrations.AlterField(
441
- model_name='contentartifact',
442
- name='content',
443
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Content', to_field='pulp_id'),
444
- ),
445
- migrations.AlterField(
446
- model_name='createdresource',
447
- name='task',
448
- field=models.ForeignKey(default=pulpcore.app.models.task.Task.current, on_delete=django.db.models.deletion.CASCADE, related_name='created_resources', to='core.Task', to_field='pulp_id'),
449
- ),
450
- migrations.AlterField(
451
- model_name='progressreport',
452
- name='task',
453
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='progress_reports', to='core.Task', to_field='pulp_id'),
454
- ),
455
- migrations.AlterField(
456
- model_name='publication',
457
- name='publisher',
458
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Publisher', to_field='pulp_id'),
459
- ),
460
- migrations.AlterField(
461
- model_name='publication',
462
- name='repository_version',
463
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.RepositoryVersion', to_field='pulp_id'),
464
- ),
465
- migrations.AlterField(
466
- model_name='publishedartifact',
467
- name='content_artifact',
468
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='published_artifact', to='core.ContentArtifact', to_field='pulp_id'),
469
- ),
470
- migrations.AlterField(
471
- model_name='publishedartifact',
472
- name='publication',
473
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='published_artifact', to='core.Publication', to_field='pulp_id'),
474
- ),
475
- migrations.AlterField(
476
- model_name='publishedmetadata',
477
- name='content_ptr',
478
- field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='published_metadata', serialize=False, to='core.Content', to_field='pulp_id'),
479
- ),
480
- migrations.AlterField(
481
- model_name='publishedmetadata',
482
- name='publication',
483
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='published_metadata', to='core.Publication', to_field='pulp_id'),
484
- ),
485
- migrations.AlterField(
486
- model_name='remoteartifact',
487
- name='content_artifact',
488
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.ContentArtifact', to_field='pulp_id'),
489
- ),
490
- migrations.AlterField(
491
- model_name='remoteartifact',
492
- name='remote',
493
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Remote', to_field='pulp_id'),
494
- ),
495
- migrations.AlterField(
496
- model_name='repositorycontent',
497
- name='content',
498
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='version_memberships', to='core.Content', to_field='pulp_id'),
499
- ),
500
- migrations.AlterField(
501
- model_name='repositorycontent',
502
- name='repository',
503
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Repository', to_field='pulp_id'),
504
- ),
505
- migrations.AlterField(
506
- model_name='repositorycontent',
507
- name='version_added',
508
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='added_memberships', to='core.RepositoryVersion', to_field='pulp_id'),
509
- ),
510
- migrations.AlterField(
511
- model_name='repositorycontent',
512
- name='version_removed',
513
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='removed_memberships', to='core.RepositoryVersion', to_field='pulp_id'),
514
- ),
515
- migrations.AlterField(
516
- model_name='repositoryversion',
517
- name='base_version',
518
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='versions', to='core.RepositoryVersion', to_field='pulp_id'),
519
- ),
520
- migrations.AlterField(
521
- model_name='repositoryversion',
522
- name='repository',
523
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='versions', to='core.Repository', to_field='pulp_id'),
524
- ),
525
- migrations.AlterField(
526
- model_name='repositoryversioncontentdetails',
527
- name='repository_version',
528
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='counts', to='core.RepositoryVersion', to_field='pulp_id'),
529
- ),
530
- migrations.AlterField(
531
- model_name='reservedresource',
532
- name='worker',
533
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='reservations', to='core.Worker', to_field='pulp_id'),
534
- ),
535
- migrations.AlterField(
536
- model_name='task',
537
- name='parent',
538
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='spawned_tasks', to='core.Task', to_field='pulp_id'),
539
- ),
540
- migrations.AlterField(
541
- model_name='task',
542
- name='worker',
543
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='tasks', to='core.Worker', to_field='pulp_id'),
544
- ),
545
- migrations.AlterField(
546
- model_name='taskreservedresource',
547
- name='resource',
548
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.ReservedResource', to_field='pulp_id'),
549
- ),
550
- migrations.AlterField(
551
- model_name='taskreservedresource',
552
- name='task',
553
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='core.Task', to_field='pulp_id'),
554
- ),
555
- migrations.AlterField(
556
- model_name='taskreservedresourcerecord',
557
- name='resource',
558
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.ReservedResourceRecord', to_field='pulp_id'),
559
- ),
560
- migrations.AlterField(
561
- model_name='taskreservedresourcerecord',
562
- name='task',
563
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Task', to_field='pulp_id'),
564
- ),
565
- migrations.AlterField(
566
- model_name='uploadchunk',
567
- name='upload',
568
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='chunks', to='core.Upload', to_field='pulp_id'),
569
- ),
570
- ]
@@ -1,28 +0,0 @@
1
- # Generated by Django 2.2.6 on 2019-10-11 17:29
2
-
3
- from django.db import migrations, models
4
-
5
-
6
- class Migration(migrations.Migration):
7
-
8
- dependencies = [
9
- ('core', '0010_pulp_fields'),
10
- ]
11
-
12
- operations = [
13
- migrations.AlterField(
14
- model_name='contentartifact',
15
- name='relative_path',
16
- field=models.TextField(),
17
- ),
18
- migrations.AlterField(
19
- model_name='publishedartifact',
20
- name='relative_path',
21
- field=models.TextField(),
22
- ),
23
- migrations.AlterField(
24
- model_name='publishedmetadata',
25
- name='relative_path',
26
- field=models.TextField(),
27
- ),
28
- ]
@@ -1,31 +0,0 @@
1
- # Generated by Django 2.2.6 on 2019-11-04 20:00
2
-
3
- from django.db import migrations, models
4
- import uuid
5
-
6
-
7
- class Migration(migrations.Migration):
8
-
9
- dependencies = [
10
- ('core', '0011_relative_path'),
11
- ]
12
-
13
- operations = [
14
- migrations.CreateModel(
15
- name='FileSystemExporter',
16
- fields=[
17
- ('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
18
- ('pulp_created', models.DateTimeField(auto_now_add=True)),
19
- ('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
20
- ('pulp_type', models.TextField(default=None)),
21
- ('name', models.CharField(db_index=True, max_length=255, unique=True)),
22
- ('path', models.TextField()),
23
- ],
24
- options={
25
- 'abstract': False,
26
- },
27
- ),
28
- migrations.DeleteModel(
29
- name='Exporter',
30
- ),
31
- ]
@@ -1,18 +0,0 @@
1
- # Generated by Django 2.2.6 on 2019-10-28 18:42
2
-
3
- from django.db import migrations, models
4
-
5
-
6
- class Migration(migrations.Migration):
7
-
8
- dependencies = [
9
- ('core', '0012_auto_20191104_2000'),
10
- ]
11
-
12
- operations = [
13
- migrations.AddField(
14
- model_name='repository',
15
- name='pulp_type',
16
- field=models.TextField(default=None),
17
- ),
18
- ]
@@ -1,17 +0,0 @@
1
- # Generated by Django 2.2.7 on 2019-11-11 16:48
2
-
3
- from django.db import migrations
4
-
5
-
6
- class Migration(migrations.Migration):
7
-
8
- dependencies = [
9
- ('core', '0013_repository_pulp_type'),
10
- ]
11
-
12
- operations = [
13
- migrations.RemoveField(
14
- model_name='repository',
15
- name='plugin_managed',
16
- ),
17
- ]