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.
- pulp_certguard/app/__init__.py +1 -1
- pulp_certguard/app/models.py +7 -26
- pulp_certguard/app/serializers.py +0 -2
- pulp_certguard/rhsm/__init__.py +4 -0
- pulp_certguard/rhsm/rhsm_check_path.py +198 -0
- pulp_certguard/tests/unit/certdata.py +249 -0
- pulp_certguard/tests/unit/test_rhsm_check_path.py +213 -0
- pulp_file/app/__init__.py +1 -1
- pulp_file/app/migrations/0001_initial_squashed_0016_add_domain.py +0 -20
- pulp_file/app/migrations/0017_alter_filealternatecontentsource_alternatecontentsource_ptr_and_more.py +1 -1
- pulpcore/app/apps.py +2 -12
- pulpcore/app/entrypoint.py +22 -22
- pulpcore/app/migrations/0001_squashed_0090_char_to_text_field.py +0 -95
- pulpcore/app/migrations/0091_systemid.py +1 -1
- pulp_file/app/migrations/0006_delete_filefilesystemexporter.py → pulpcore/app/migrations/0136_delete_basedistribution.py +3 -3
- pulpcore/app/migrations/0137_appstatus.py +33 -0
- pulpcore/app/migrations/0138_vulnerabilityreport.py +33 -0
- pulpcore/app/models/__init__.py +4 -1
- pulpcore/app/models/publication.py +0 -41
- pulpcore/app/models/status.py +145 -0
- pulpcore/app/models/task.py +1 -0
- pulpcore/app/models/vulnerability_report.py +34 -0
- pulpcore/app/serializers/__init__.py +1 -0
- pulpcore/app/serializers/content.py +13 -1
- pulpcore/app/serializers/repository.py +8 -1
- pulpcore/app/serializers/vulnerability_report.py +27 -0
- pulpcore/app/settings.py +14 -47
- pulpcore/app/tasks/__init__.py +2 -0
- pulpcore/app/tasks/vulnerability_report.py +159 -0
- pulpcore/app/viewsets/__init__.py +1 -0
- pulpcore/app/viewsets/vulnerability_report.py +20 -0
- pulpcore/constants.py +4 -0
- pulpcore/content/__init__.py +23 -22
- pulpcore/content/handler.py +5 -2
- pulpcore/migrations.py +37 -11
- pulpcore/openapi/__init__.py +8 -0
- pulpcore/plugin/models/__init__.py +2 -0
- pulpcore/plugin/serializers/__init__.py +2 -0
- pulpcore/plugin/tasking.py +2 -0
- pulpcore/plugin/viewsets/__init__.py +2 -0
- pulpcore/pytest_plugin.py +21 -21
- pulpcore/tasking/worker.py +38 -35
- pulpcore/tests/functional/api/test_auth.py +18 -3
- pulpcore/tests/functional/api/test_openapi_schema.py +32 -15
- pulpcore/tests/functional/api/using_plugin/test_checkpoint.py +23 -1
- pulpcore/tests/functional/api/using_plugin/test_proxy.py +1 -1
- pulpcore/tests/unit/content/test_heartbeat.py +11 -8
- pulpcore/tests/unit/test_vulnerability_report.py +74 -0
- {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/METADATA +12 -17
- {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/RECORD +54 -152
- pulp_certguard/app/utils.py +0 -28
- pulp_certguard/tests/unit/test_models.py +0 -9
- pulp_file/app/migrations/0001_initial.py +0 -59
- pulp_file/app/migrations/0002_file_related_names.py +0 -55
- pulp_file/app/migrations/0003_auto_20191014_1721.py +0 -18
- pulp_file/app/migrations/0004_filefilesystemexporter.py +0 -21
- pulp_file/app/migrations/0005_filerepository.py +0 -24
- pulp_file/app/migrations/0007_filefilesystemexporter.py +0 -25
- pulp_file/app/migrations/0008_add_manifest_field.py +0 -19
- pulp_file/app/migrations/0009_move_data_to_new_master_distribution_model.py +0 -77
- pulp_file/app/migrations/0010_auto_publish.py +0 -23
- pulp_file/app/migrations/0011_fix_auto_publish.py +0 -36
- pulp_file/app/migrations/0012_delete_filefilesystemexporter.py +0 -28
- pulp_file/app/migrations/0013_file_acs.py +0 -24
- pulp_file/app/migrations/0014_new_rbac_permissions.py +0 -33
- pulp_file/app/migrations/0015_allow_null_manifest.py +0 -23
- pulp_file/app/migrations/0016_add_domain.py +0 -25
- pulpcore/app/migrations/0001_initial.py +0 -451
- pulpcore/app/migrations/0002_increase_artifact_size_field.py +0 -18
- pulpcore/app/migrations/0003_remove_upload_completed.py +0 -17
- pulpcore/app/migrations/0004_add_duplicated_reserved_resources.py +0 -45
- pulpcore/app/migrations/0005_progressreport_code.py +0 -19
- pulpcore/app/migrations/0006_repository_plugin_managed.py +0 -18
- pulpcore/app/migrations/0007_delete_progress_proxies.py +0 -19
- pulpcore/app/migrations/0008_published_metadata_as_content.py +0 -44
- pulpcore/app/migrations/0009_remove_task_non_fatal_errors.py +0 -17
- pulpcore/app/migrations/0010_pulp_fields.py +0 -570
- pulpcore/app/migrations/0011_relative_path.py +0 -28
- pulpcore/app/migrations/0012_auto_20191104_2000.py +0 -31
- pulpcore/app/migrations/0013_repository_pulp_type.py +0 -18
- pulpcore/app/migrations/0014_remove_repository_plugin_managed.py +0 -17
- pulpcore/app/migrations/0015_auto_20191112_1426.py +0 -33
- pulpcore/app/migrations/0016_charfield_to_textfield.py +0 -68
- pulpcore/app/migrations/0017_remove_task_parent.py +0 -17
- pulpcore/app/migrations/0018_auto_20191127_2350.py +0 -20
- pulpcore/app/migrations/0019_add_signing_service_model.py +0 -27
- pulpcore/app/migrations/0020_change_publishedartifact_constraints.py +0 -17
- pulpcore/app/migrations/0021_add_signing_service_foreign_key.py +0 -24
- pulpcore/app/migrations/0022_rename_last_version.py +0 -27
- pulpcore/app/migrations/0023_change_exporter_models.py +0 -82
- pulpcore/app/migrations/0024_use_local_storage_for_uploads.py +0 -19
- pulpcore/app/migrations/0025_task_parent_task.py +0 -19
- pulpcore/app/migrations/0026_task_group.py +0 -32
- pulpcore/app/migrations/0027_export_backend.py +0 -31
- pulpcore/app/migrations/0028_import_importer_pulpimporter_pulpimporterrepository.py +0 -85
- pulpcore/app/migrations/0029_export_delete.py +0 -19
- pulpcore/app/migrations/0030_taskgroup_all_tasks_dispatched.py +0 -24
- pulpcore/app/migrations/0031_import_export_validate_params.py +0 -19
- pulpcore/app/migrations/0032_export_to_chunks.py +0 -27
- pulpcore/app/migrations/0033_increase_remote_artifact_size_field.py +0 -18
- pulpcore/app/migrations/0034_groupprogressreport.py +0 -32
- pulpcore/app/migrations/0035_content_upstream_id.py +0 -18
- pulpcore/app/migrations/0036_unprotect_last_export.py +0 -19
- pulpcore/app/migrations/0037_pulptemporaryfile.py +0 -28
- pulpcore/app/migrations/0038_repository_remote.py +0 -19
- pulpcore/app/migrations/0039_change_download_concurrency.py +0 -25
- pulpcore/app/migrations/0040_set_admin_is_staff.py +0 -28
- pulpcore/app/migrations/0041_accesspolicy.py +0 -29
- pulpcore/app/migrations/0042_rbac_for_tasks.py +0 -56
- pulpcore/app/migrations/0043_toc_attribute.py +0 -19
- pulpcore/app/migrations/0044_temp_file_artifact_field.py +0 -20
- pulpcore/app/migrations/0045_accesspolicy_permissions_allow_null.py +0 -19
- pulpcore/app/migrations/0046_task__resource_job_id.py +0 -35
- pulpcore/app/migrations/0047_improve_orphan_cleanup.py +0 -59
- pulpcore/app/migrations/0048_fips_checksums.py +0 -38
- pulpcore/app/migrations/0049_add_file_field_to_uploadchunk.py +0 -24
- pulpcore/app/migrations/0050_namespace_access_policies.py +0 -28
- pulpcore/app/migrations/0051_timeoutfields.py +0 -34
- pulpcore/app/migrations/0052_tasking_logging_cid.py +0 -18
- pulpcore/app/migrations/0053_remote_headers.py +0 -19
- pulpcore/app/migrations/0054_add_public_key.py +0 -104
- pulpcore/app/migrations/0055_label.py +0 -31
- pulpcore/app/migrations/0056_remote_rate_limit.py +0 -18
- pulpcore/app/migrations/0057_add_label_indexes.py +0 -23
- pulpcore/app/migrations/0058_accesspolicy_customized.py +0 -18
- pulpcore/app/migrations/0059_proxy_creds.py +0 -23
- pulpcore/app/migrations/0060_data_migration_proxy_creds.py +0 -45
- pulpcore/app/migrations/0061_call_handle_artifact_checksums_command.py +0 -87
- pulpcore/app/migrations/0062_add_new_distribution_mastermodel.py +0 -36
- pulpcore/app/migrations/0063_repository_retained_versions.py +0 -18
- pulpcore/app/migrations/0064_add_new_style_task_columns.py +0 -109
- pulpcore/app/migrations/0064_repository_user_hidden.py +0 -18
- pulpcore/app/migrations/0065_merge_20210615_1211.py +0 -14
- pulpcore/app/migrations/0066_download_concurrency_and_retry_changes.py +0 -24
- pulpcore/app/migrations/0067_add_protect_to_task_reservation.py +0 -19
- pulpcore/app/migrations/0068_add_timestamp_of_interest.py +0 -23
- pulpcore/app/migrations/0069_update_json_fields.py +0 -63
- pulpcore/app/migrations/0070_rename_retained_versions.py +0 -18
- pulpcore/app/migrations/0071_filesystemexport_filesystemexporter.py +0 -35
- pulpcore/app/migrations/0072_add_method_to_filesystem_exporter.py +0 -18
- pulpcore/app/migrations/0073_encrypt_remote_fields.py +0 -139
- pulpcore/app/migrations/0074_acs.py +0 -47
- pulpcore/app/migrations/0075_rbaccontentguard.py +0 -25
- pulpcore/app/migrations/0076_remove_reserved_resource.py +0 -39
- pulpcore/app/migrations/0077_move_remote_url_credentials.py +0 -41
- pulpcore/app/migrations/0078_grouprole_role_userrole.py +0 -70
- pulpcore/app/migrations/0079_rename_permissions_assignment_accesspolicy_creation_hooks.py +0 -18
- pulpcore/app/migrations/0080_proxy_group_model.py +0 -37
- pulpcore/app/migrations/0081_reapplabel_group_permissions.py +0 -59
- pulpcore/app/migrations/0082_add_manage_roles_permissions.py +0 -17
- pulpcore/app/migrations/0083_alter_group_options.py +0 -17
- pulpcore/app/migrations/0084_alter_rbaccontentguard_options.py +0 -17
- pulpcore/app/migrations/0085_contentredirectcontentguard.py +0 -26
- pulpcore/app/migrations/0086_task_json_fields.py +0 -77
- pulpcore/app/migrations/0087_taskschedule.py +0 -34
- pulpcore/app/migrations/0088_accesspolicy_queryset_scoping.py +0 -18
- pulpcore/app/migrations/0089_alter_contentredirectcontentguard_options.py +0 -17
- pulpcore/app/migrations/0090_char_to_text_field.py +0 -79
- pulpcore/tests/unit/migration/test_0077_move_remote_url_credentials.py +0 -35
- {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/WHEEL +0 -0
- {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/entry_points.txt +0 -0
- {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/licenses/LICENSE +0 -0
- {pulpcore-3.84.0.dist-info → pulpcore-3.85.1.dist-info}/top_level.txt +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.6 on 2019-11-12 14:26
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('core', '0014_remove_repository_plugin_managed'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.RenameField(
|
|
14
|
-
model_name='remote',
|
|
15
|
-
old_name='ssl_ca_certificate',
|
|
16
|
-
new_name='ca_cert',
|
|
17
|
-
),
|
|
18
|
-
migrations.RenameField(
|
|
19
|
-
model_name='remote',
|
|
20
|
-
old_name='ssl_client_certificate',
|
|
21
|
-
new_name='client_cert',
|
|
22
|
-
),
|
|
23
|
-
migrations.RenameField(
|
|
24
|
-
model_name='remote',
|
|
25
|
-
old_name='ssl_client_key',
|
|
26
|
-
new_name='client_key',
|
|
27
|
-
),
|
|
28
|
-
migrations.RenameField(
|
|
29
|
-
model_name='remote',
|
|
30
|
-
old_name='ssl_validation',
|
|
31
|
-
new_name='tls_validation',
|
|
32
|
-
),
|
|
33
|
-
]
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.7 on 2019-11-12 20:40
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('core', '0015_auto_20191112_1426'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.AlterField(
|
|
14
|
-
model_name='basedistribution',
|
|
15
|
-
name='base_path',
|
|
16
|
-
field=models.TextField(unique=True),
|
|
17
|
-
),
|
|
18
|
-
migrations.AlterField(
|
|
19
|
-
model_name='basedistribution',
|
|
20
|
-
name='name',
|
|
21
|
-
field=models.TextField(db_index=True, unique=True),
|
|
22
|
-
),
|
|
23
|
-
migrations.AlterField(
|
|
24
|
-
model_name='contentappstatus',
|
|
25
|
-
name='name',
|
|
26
|
-
field=models.TextField(db_index=True, unique=True),
|
|
27
|
-
),
|
|
28
|
-
migrations.AlterField(
|
|
29
|
-
model_name='contentguard',
|
|
30
|
-
name='name',
|
|
31
|
-
field=models.TextField(db_index=True, unique=True),
|
|
32
|
-
),
|
|
33
|
-
migrations.AlterField(
|
|
34
|
-
model_name='filesystemexporter',
|
|
35
|
-
name='name',
|
|
36
|
-
field=models.TextField(db_index=True, unique=True),
|
|
37
|
-
),
|
|
38
|
-
migrations.AlterField(
|
|
39
|
-
model_name='remote',
|
|
40
|
-
name='name',
|
|
41
|
-
field=models.TextField(db_index=True, unique=True),
|
|
42
|
-
),
|
|
43
|
-
migrations.AlterField(
|
|
44
|
-
model_name='repository',
|
|
45
|
-
name='name',
|
|
46
|
-
field=models.TextField(db_index=True, unique=True),
|
|
47
|
-
),
|
|
48
|
-
migrations.AlterField(
|
|
49
|
-
model_name='reservedresource',
|
|
50
|
-
name='resource',
|
|
51
|
-
field=models.TextField(unique=True),
|
|
52
|
-
),
|
|
53
|
-
migrations.AlterField(
|
|
54
|
-
model_name='reservedresourcerecord',
|
|
55
|
-
name='resource',
|
|
56
|
-
field=models.TextField(unique=True),
|
|
57
|
-
),
|
|
58
|
-
migrations.AlterField(
|
|
59
|
-
model_name='task',
|
|
60
|
-
name='name',
|
|
61
|
-
field=models.TextField(),
|
|
62
|
-
),
|
|
63
|
-
migrations.AlterField(
|
|
64
|
-
model_name='worker',
|
|
65
|
-
name='name',
|
|
66
|
-
field=models.TextField(db_index=True, unique=True),
|
|
67
|
-
),
|
|
68
|
-
]
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.7 on 2019-11-25 19:37
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('core', '0016_charfield_to_textfield'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.RemoveField(
|
|
14
|
-
model_name='task',
|
|
15
|
-
name='parent',
|
|
16
|
-
),
|
|
17
|
-
]
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.7 on 2019-11-27 23:50
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('core', '0017_remove_task_parent'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.RemoveField(
|
|
14
|
-
model_name='publication',
|
|
15
|
-
name='publisher',
|
|
16
|
-
),
|
|
17
|
-
migrations.DeleteModel(
|
|
18
|
-
name='Publisher',
|
|
19
|
-
),
|
|
20
|
-
]
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.9 on 2020-01-17 11:27
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import uuid
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0018_auto_20191127_2350'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.CreateModel(
|
|
15
|
-
name='SigningService',
|
|
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
|
-
('name', models.TextField(db_index=True, unique=True)),
|
|
21
|
-
('script', models.TextField()),
|
|
22
|
-
],
|
|
23
|
-
options={
|
|
24
|
-
'abstract': False,
|
|
25
|
-
},
|
|
26
|
-
),
|
|
27
|
-
]
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.9 on 2020-01-21 13:05
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('core', '0019_add_signing_service_model'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.AlterUniqueTogether(
|
|
14
|
-
name='publishedartifact',
|
|
15
|
-
unique_together={('publication', 'relative_path')},
|
|
16
|
-
),
|
|
17
|
-
]
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.9 on 2020-01-30 09:48
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0020_change_publishedartifact_constraints'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.CreateModel(
|
|
15
|
-
name='AsciiArmoredDetachedSigningService',
|
|
16
|
-
fields=[
|
|
17
|
-
('signingservice_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='core.SigningService')),
|
|
18
|
-
],
|
|
19
|
-
options={
|
|
20
|
-
'abstract': False,
|
|
21
|
-
},
|
|
22
|
-
bases=('core.signingservice',),
|
|
23
|
-
),
|
|
24
|
-
]
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.10 on 2020-02-19 20:40
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, transaction
|
|
4
|
-
from django.db.models import F
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
def plus_one(apps, schema_editor):
|
|
8
|
-
# re: https://pulp.plan.io/issues/6147
|
|
9
|
-
with transaction.atomic():
|
|
10
|
-
Repository = apps.get_model('core', 'Repository')
|
|
11
|
-
Repository.objects.all().update(last_version=F('last_version') + 1)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class Migration(migrations.Migration):
|
|
15
|
-
|
|
16
|
-
dependencies = [
|
|
17
|
-
('core', '0021_add_signing_service_foreign_key'),
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
operations = [
|
|
21
|
-
migrations.RunPython(plus_one),
|
|
22
|
-
migrations.RenameField(
|
|
23
|
-
model_name='repository',
|
|
24
|
-
old_name='last_version',
|
|
25
|
-
new_name='next_version',
|
|
26
|
-
),
|
|
27
|
-
]
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.6 on 2020-03-17 19:43
|
|
2
|
-
|
|
3
|
-
import django.contrib.postgres.fields.jsonb
|
|
4
|
-
from django.db import migrations, models
|
|
5
|
-
import django.db.models.deletion
|
|
6
|
-
import uuid
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class Migration(migrations.Migration):
|
|
10
|
-
|
|
11
|
-
dependencies = [
|
|
12
|
-
('contenttypes', '0002_remove_content_type_name'),
|
|
13
|
-
('core', '0022_rename_last_version'),
|
|
14
|
-
]
|
|
15
|
-
|
|
16
|
-
operations = [
|
|
17
|
-
migrations.CreateModel(
|
|
18
|
-
name='Export',
|
|
19
|
-
fields=[
|
|
20
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
21
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
22
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
23
|
-
('params', django.contrib.postgres.fields.jsonb.JSONField(null=True)),
|
|
24
|
-
],
|
|
25
|
-
options={
|
|
26
|
-
'abstract': False,
|
|
27
|
-
},
|
|
28
|
-
),
|
|
29
|
-
migrations.CreateModel(
|
|
30
|
-
name='ExportedResource',
|
|
31
|
-
fields=[
|
|
32
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
33
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
34
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
35
|
-
('object_id', models.UUIDField()),
|
|
36
|
-
('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
|
|
37
|
-
('export', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='exported_resources', to='core.Export')),
|
|
38
|
-
],
|
|
39
|
-
options={
|
|
40
|
-
'abstract': False,
|
|
41
|
-
},
|
|
42
|
-
),
|
|
43
|
-
migrations.CreateModel(
|
|
44
|
-
name='Exporter',
|
|
45
|
-
fields=[
|
|
46
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
47
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
48
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
49
|
-
('pulp_type', models.TextField(default=None)),
|
|
50
|
-
('name', models.TextField(db_index=True, unique=True)),
|
|
51
|
-
],
|
|
52
|
-
options={
|
|
53
|
-
'abstract': False,
|
|
54
|
-
},
|
|
55
|
-
),
|
|
56
|
-
migrations.DeleteModel(
|
|
57
|
-
name='FileSystemExporter',
|
|
58
|
-
),
|
|
59
|
-
migrations.AddField(
|
|
60
|
-
model_name='export',
|
|
61
|
-
name='exporter',
|
|
62
|
-
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Exporter'),
|
|
63
|
-
),
|
|
64
|
-
migrations.AddField(
|
|
65
|
-
model_name='export',
|
|
66
|
-
name='task',
|
|
67
|
-
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='core.Task'),
|
|
68
|
-
),
|
|
69
|
-
migrations.CreateModel(
|
|
70
|
-
name='PulpExporter',
|
|
71
|
-
fields=[
|
|
72
|
-
('exporter_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='core_pulp_exporter', serialize=False, to='core.Exporter')),
|
|
73
|
-
('path', models.TextField()),
|
|
74
|
-
('last_export', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='core_pulp_exporter', to='core.Export')),
|
|
75
|
-
('repositories', models.ManyToManyField(related_name='core_pulp_exporter', to='core.Repository')),
|
|
76
|
-
],
|
|
77
|
-
options={
|
|
78
|
-
'default_related_name': '%(app_label)s_pulp_exporter',
|
|
79
|
-
},
|
|
80
|
-
bases=('core.exporter',),
|
|
81
|
-
),
|
|
82
|
-
]
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-03-27 19:14
|
|
2
|
-
|
|
3
|
-
import django.core.files.storage
|
|
4
|
-
from django.db import migrations, models
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0023_change_exporter_models'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.AlterField(
|
|
15
|
-
model_name='upload',
|
|
16
|
-
name='file',
|
|
17
|
-
field=models.FileField(max_length=255, storage=django.core.files.storage.FileSystemStorage(location='/var/lib/pulp/upload/'), upload_to=''),
|
|
18
|
-
),
|
|
19
|
-
]
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-03-30 16:53
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0024_use_local_storage_for_uploads'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.AddField(
|
|
15
|
-
model_name='task',
|
|
16
|
-
name='parent_task',
|
|
17
|
-
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='child_tasks', to='core.Task'),
|
|
18
|
-
),
|
|
19
|
-
]
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-03-31 17:49
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
import uuid
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class Migration(migrations.Migration):
|
|
9
|
-
|
|
10
|
-
dependencies = [
|
|
11
|
-
('core', '0025_task_parent_task'),
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
operations = [
|
|
15
|
-
migrations.CreateModel(
|
|
16
|
-
name='TaskGroup',
|
|
17
|
-
fields=[
|
|
18
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
19
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
20
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
21
|
-
('description', models.TextField()),
|
|
22
|
-
],
|
|
23
|
-
options={
|
|
24
|
-
'abstract': False,
|
|
25
|
-
},
|
|
26
|
-
),
|
|
27
|
-
migrations.AddField(
|
|
28
|
-
model_name='task',
|
|
29
|
-
name='task_group',
|
|
30
|
-
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='tasks', to='core.TaskGroup'),
|
|
31
|
-
),
|
|
32
|
-
]
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-04-07 15:47
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0026_task_group'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.CreateModel(
|
|
15
|
-
name='PulpExport',
|
|
16
|
-
fields=[
|
|
17
|
-
('export_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='core_pulp_export', serialize=False, to='core.Export')),
|
|
18
|
-
('sha256', models.CharField(max_length=64, null=True)),
|
|
19
|
-
('filename', models.CharField(max_length=4096, null=True)),
|
|
20
|
-
],
|
|
21
|
-
options={
|
|
22
|
-
'default_related_name': '%(app_label)s_pulp_export',
|
|
23
|
-
},
|
|
24
|
-
bases=('core.export',),
|
|
25
|
-
),
|
|
26
|
-
migrations.AlterField(
|
|
27
|
-
model_name='pulpexporter',
|
|
28
|
-
name='last_export',
|
|
29
|
-
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='last_export', to='core.PulpExport'),
|
|
30
|
-
),
|
|
31
|
-
]
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-04-13 16:39
|
|
2
|
-
|
|
3
|
-
import django.contrib.postgres.fields.jsonb
|
|
4
|
-
from django.db import migrations, models
|
|
5
|
-
import django.db.models.deletion
|
|
6
|
-
import uuid
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class Migration(migrations.Migration):
|
|
10
|
-
|
|
11
|
-
dependencies = [
|
|
12
|
-
('core', '0027_export_backend'),
|
|
13
|
-
]
|
|
14
|
-
|
|
15
|
-
operations = [
|
|
16
|
-
migrations.CreateModel(
|
|
17
|
-
name='Import',
|
|
18
|
-
fields=[
|
|
19
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
20
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
21
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
22
|
-
('params', django.contrib.postgres.fields.jsonb.JSONField(null=True)),
|
|
23
|
-
],
|
|
24
|
-
options={
|
|
25
|
-
'abstract': False,
|
|
26
|
-
},
|
|
27
|
-
),
|
|
28
|
-
migrations.CreateModel(
|
|
29
|
-
name='Importer',
|
|
30
|
-
fields=[
|
|
31
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
32
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
33
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
34
|
-
('pulp_type', models.TextField(default=None)),
|
|
35
|
-
('name', models.TextField(db_index=True, unique=True)),
|
|
36
|
-
],
|
|
37
|
-
options={
|
|
38
|
-
'abstract': False,
|
|
39
|
-
},
|
|
40
|
-
),
|
|
41
|
-
migrations.CreateModel(
|
|
42
|
-
name='PulpImport',
|
|
43
|
-
fields=[
|
|
44
|
-
('import_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='core_pulp_export', serialize=False, to='core.Import')),
|
|
45
|
-
],
|
|
46
|
-
options={
|
|
47
|
-
'default_related_name': '%(app_label)s_pulp_export',
|
|
48
|
-
},
|
|
49
|
-
bases=('core.import',),
|
|
50
|
-
),
|
|
51
|
-
migrations.CreateModel(
|
|
52
|
-
name='PulpImporter',
|
|
53
|
-
fields=[
|
|
54
|
-
('importer_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='core_pulp_importer', serialize=False, to='core.Importer')),
|
|
55
|
-
],
|
|
56
|
-
options={
|
|
57
|
-
'default_related_name': '%(app_label)s_pulp_importer',
|
|
58
|
-
},
|
|
59
|
-
bases=('core.importer',),
|
|
60
|
-
),
|
|
61
|
-
migrations.AddField(
|
|
62
|
-
model_name='import',
|
|
63
|
-
name='importer',
|
|
64
|
-
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Importer'),
|
|
65
|
-
),
|
|
66
|
-
migrations.AddField(
|
|
67
|
-
model_name='import',
|
|
68
|
-
name='task',
|
|
69
|
-
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='core.Task'),
|
|
70
|
-
),
|
|
71
|
-
migrations.CreateModel(
|
|
72
|
-
name='PulpImporterRepository',
|
|
73
|
-
fields=[
|
|
74
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
75
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
76
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
77
|
-
('source_repo', models.TextField()),
|
|
78
|
-
('repository', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Repository')),
|
|
79
|
-
('pulp_importer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='repo_map', to='core.PulpImporter')),
|
|
80
|
-
],
|
|
81
|
-
options={
|
|
82
|
-
'abstract': False,
|
|
83
|
-
},
|
|
84
|
-
),
|
|
85
|
-
]
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-04-21 17:12
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0028_import_importer_pulpimporter_pulpimporterrepository'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.AlterField(
|
|
15
|
-
model_name='export',
|
|
16
|
-
name='task',
|
|
17
|
-
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Task'),
|
|
18
|
-
),
|
|
19
|
-
]
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.12 on 2020-05-04 04:41
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def set_existing_task_groups_finished(apps, schema_editor):
|
|
7
|
-
TaskGroup = apps.get_model('core', 'TaskGroup')
|
|
8
|
-
TaskGroup.objects.all().update(all_tasks_dispatched=True)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class Migration(migrations.Migration):
|
|
12
|
-
|
|
13
|
-
dependencies = [
|
|
14
|
-
('core', '0029_export_delete'),
|
|
15
|
-
]
|
|
16
|
-
|
|
17
|
-
operations = [
|
|
18
|
-
migrations.AddField(
|
|
19
|
-
model_name='taskgroup',
|
|
20
|
-
name='all_tasks_dispatched',
|
|
21
|
-
field=models.BooleanField(default=False),
|
|
22
|
-
),
|
|
23
|
-
migrations.RunPython(set_existing_task_groups_finished, reverse_code=migrations.RunPython.noop, elidable=True),
|
|
24
|
-
]
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-05-05 13:05
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0030_taskgroup_all_tasks_dispatched'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.AlterField(
|
|
15
|
-
model_name='export',
|
|
16
|
-
name='task',
|
|
17
|
-
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='core.Task'),
|
|
18
|
-
),
|
|
19
|
-
]
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.11 on 2020-05-22 18:31
|
|
2
|
-
|
|
3
|
-
import django.contrib.postgres.fields.jsonb
|
|
4
|
-
from django.db import migrations
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('core', '0031_import_export_validate_params'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.RemoveField(
|
|
15
|
-
model_name='pulpexport',
|
|
16
|
-
name='filename',
|
|
17
|
-
),
|
|
18
|
-
migrations.RemoveField(
|
|
19
|
-
model_name='pulpexport',
|
|
20
|
-
name='sha256',
|
|
21
|
-
),
|
|
22
|
-
migrations.AddField(
|
|
23
|
-
model_name='pulpexport',
|
|
24
|
-
name='output_file_info',
|
|
25
|
-
field=django.contrib.postgres.fields.jsonb.JSONField(null=True),
|
|
26
|
-
),
|
|
27
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.12 on 2020-06-09 12:06
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('core', '0032_export_to_chunks'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.AlterField(
|
|
14
|
-
model_name='remoteartifact',
|
|
15
|
-
name='size',
|
|
16
|
-
field=models.BigIntegerField(null=True),
|
|
17
|
-
),
|
|
18
|
-
]
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Generated by Django 2.2.12 on 2020-06-23 13:57
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
import uuid
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class Migration(migrations.Migration):
|
|
9
|
-
|
|
10
|
-
dependencies = [
|
|
11
|
-
('core', '0033_increase_remote_artifact_size_field'),
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
operations = [
|
|
15
|
-
migrations.CreateModel(
|
|
16
|
-
name='GroupProgressReport',
|
|
17
|
-
fields=[
|
|
18
|
-
('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
19
|
-
('pulp_created', models.DateTimeField(auto_now_add=True)),
|
|
20
|
-
('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
|
|
21
|
-
('message', models.TextField()),
|
|
22
|
-
('code', models.CharField(max_length=36)),
|
|
23
|
-
('total', models.IntegerField(default=0)),
|
|
24
|
-
('done', models.IntegerField(default=0)),
|
|
25
|
-
('suffix', models.TextField(null=True)),
|
|
26
|
-
('task_group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='group_progress_reports', to='core.TaskGroup')),
|
|
27
|
-
],
|
|
28
|
-
options={
|
|
29
|
-
'unique_together': {('code', 'task_group')},
|
|
30
|
-
},
|
|
31
|
-
),
|
|
32
|
-
]
|