pulpcore 3.85.31__tar.gz → 3.85.33__tar.gz
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.
- {pulpcore-3.85.31 → pulpcore-3.85.33}/CHANGES.md +52 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/PKG-INFO +2 -2
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/__init__.py +1 -1
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/__init__.py +1 -1
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/apps.py +1 -1
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/repository.py +1 -2
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/vulnerability_report.py +3 -1
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/content/handler.py +37 -19
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/content/test_handler.py +120 -1
- pulpcore-3.85.33/pulpcore/tests/unit/models/test_caching_and_retention.py +271 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_vulnerability_report.py +32 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore.egg-info/PKG-INFO +2 -2
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore.egg-info/SOURCES.txt +1 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore.egg-info/requires.txt +1 -1
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pyproject.toml +3 -3
- {pulpcore-3.85.31 → pulpcore-3.85.33}/CODE_OF_CONDUCT.md +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/COMMITMENT +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/CONTRIBUTING.md +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/COPYRIGHT +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/LICENSE +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/MANIFEST.in +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/README.md +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/ci_requirements.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/functest_requirements.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/manage.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/migrations/0001_initial.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/migrations/0002_alter_rhsmcertguard_contentguard_ptr_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/migrations/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/models.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/serializers.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/app/viewsets.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/pytest_plugin.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/rhsm/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/rhsm/rhsm_check_path.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/api/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/api/test_rhsm_certguard.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/api/test_x509_certguard.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.crt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.key +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/trusted_but_expired.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/uber.cert +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert-key.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713-key.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840-key.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985-key.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172-key.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/certificates/ca.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/genca.sh +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/keys/ca.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/certificates/ca.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/certificates/client.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/certificates/server.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/certificates/un_urlencoded_cert.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/certificates/untrusted_client.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/genall.sh +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/genca.sh +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/genclient.sh +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/gensrv.sh +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/keys/ca.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/keys/client.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/artifacts/x509/keys/server.pem +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/conftest.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/functional/constants.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/unit/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/unit/certdata.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_certguard/tests/unit/test_rhsm_check_path.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/migrations/0001_initial_squashed_0016_add_domain.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/migrations/0017_alter_filealternatecontentsource_alternatecontentsource_ptr_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/migrations/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/modelresource.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/models.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/serializers.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/tasks/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/tasks/publishing.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/tasks/synchronizing.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/app/viewsets.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/manifest.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/pytest_plugin.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_acs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_auto_publish.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_bad_sync.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_content_labels.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_crud_content_unit.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_crud_remotes.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_domains.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_download_policies.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_generic_list.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_labels.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_mime_types.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_publish.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_pulp_export.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_rbac.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_remote_settings.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/functional/api/test_sync.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/unit/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/unit/test_safe_paths.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulp_file/tests/unit/test_serializers.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/access_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/authentication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/checks.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/entrypoint.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/files.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/global_access_conditions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/importexport.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/loggers.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/manage.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/add-signing-service.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/analyze-publication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/clean-up-progress-reports.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/datarepair-2327.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/datarepair.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/dump-permissions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/dump-publications-to-fs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/handle-artifact-checksums.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/migrationstat.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/openapi.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/rebasemigrations.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/remove-plugin.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/remove-signing-service.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/repository-size.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/reset-admin-password.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/rotate-db-key.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/management/commands/shell.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0001_squashed_0090_char_to_text_field.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0091_systemid.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0092_alter_upload_options.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0093_add_info_field_repositoryversion.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0094_protect_repository_content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0095_artifactdistribution.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0096_alter_task_logging_cid.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0097_remove_telemetry_task_schedule.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0098_pulp_labels.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0099_versions_field.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0100_upstreampulp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0101_add_domain.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0102_add_domain_relations.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0103_alter_export_task.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0104_delete_label.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0105_abstract_uuid_gen.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0106_alter_artifactdistribution_distribution_ptr_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0107_distribution_hidden.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0108_task_versions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0109_contentartifact_relative_path_index.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0110_apiappstatus.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0111_task_enc_args_task_enc_kwargs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0112_alter_upstreampulp_options.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0113_headercontentguard.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0114_remove_task_args_remove_task_kwargs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0115_compositecontentguard.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0116_alter_remoteartifact_md5_alter_remoteartifact_sha1_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0117_task_unblocked_at.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0118_task_core_task_unblock_2276a4_idx_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0119_grouprole_core_groupr_object__250e22_idx_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0120_get_url_removal.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0121_add_profile_artifacts_table.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0122_record_last_replication_timestamp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0123_upstreampulp_q_select.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0124_task_deferred_task_immediate.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0125_openpgpdistribution_openpgpkeyring_openpgppublickey_and_more.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0126_remoteartifact_failed_at.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0127_remove_upstreampulp_pulp_label_select.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0128_domain_pulp_labels.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0129_content_pulp_labels.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0130_upstreampulp_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0131_distribution_checkpoint_publication_checkpoint.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0132_alter_content_options.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0132_task_profile_options.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0133_repositoryversion_content_ids.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0134_task_insert_trigger.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0135_task_pulp_task_resources_index.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0136_delete_basedistribution.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0137_appstatus.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/0138_vulnerabilityreport.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/migrations/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/mime_types.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/modelresource.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/access_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/acs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/analytics.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/domain.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/exporter.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/fields.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/generic.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/importer.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/openpgp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/progress.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/publication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/role.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/status.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/storage.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/task.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/upload.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/models/vulnerability_report.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/netutil.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/openpgp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/protobuf/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/protobuf/analytics_pb2.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/pulp_hashlib.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/pulpcore_gunicorn_application.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/redis_connection.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/response.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/role_util.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/access_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/acs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/domain.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/exporter.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/fields.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/importer.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/openpgp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/orphans.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/progress.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/publication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/purge.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/reclaim.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/repair.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/repository.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/status.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/task.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/upload.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/user.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/serializers/vulnerability_report.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/settings.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/analytics.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/export.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/importer.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/migrate.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/orphan.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/purge.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/reclaim_space.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/repository.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/telemetry.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/test.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/tasks/upload.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/templates/rest_framework/api.html +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/templatetags/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/templatetags/pulp_urls.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/urls.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/util.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/views/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/views/importer.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/views/orphans.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/views/repair.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/views/status.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/access_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/acs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/custom_filters.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/domain.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/exporter.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/importer.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/openpgp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/orphans.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/publication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/reclaim.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/repository.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/task.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/upload.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/user.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/viewsets/vulnerability_report.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/app/wsgi.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/backends.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/cache/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/cache/cache.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/constants.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/content/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/content/authentication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/content/entrypoint.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/content/instrumentation.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/download/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/download/base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/download/factory.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/download/file.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/download/http.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/exceptions/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/exceptions/base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/exceptions/plugin.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/exceptions/validation.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/filters.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/metrics.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/middleware.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/migrations.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/openapi/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/openapi/hooks.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/access_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/actions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/apps.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/authentication/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/cache/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/constants.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/download/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/exceptions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/files.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/importexport.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/migrations.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/modelresources.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/models/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/models/role.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/publication_utils.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/pulp_hashlib.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/replica.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/repo_version_utils.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/responses.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/serializers/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/serializers/content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/stages/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/stages/api.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/stages/artifact_stages.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/stages/content_stages.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/stages/declarative_version.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/stages/models.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/storage.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/sync.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/tasking.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/util.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/viewsets/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/plugin/viewsets/content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/pytest_plugin.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/responses.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/_util.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/entrypoint.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/kafka.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/storage.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/tasks.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tasking/worker.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_access_policy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_api_docs.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_api_root_rewrite.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_artifact_distribution.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_auth.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_correlation_id.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_crd_artifacts.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_crud_domains.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_filter.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_login.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_openapi_schema.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_openpgp.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_replication.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_repos.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_role.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_root_endpoint.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_scoping.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_signing_service.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_status.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_task_purge.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_tasking.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_upload.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_users_groups.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/test_workers.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_checkpoint.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_content_access.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_content_cache.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_content_delivery.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_content_directory.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_content_path.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_content_promotion.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_contentguard.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_crud_repos.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_distributions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_filesystemexport.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_labels.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_migrate.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_orphans.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_pagination.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_prn.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_proxy.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_pulpimport.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_reclaim_disk_space.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_repair.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_repo_versions.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_tasks.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/api/using_plugin/test_unlinking_repo.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/assets/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/content_with_coverage.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/functional/utils.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/performance/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/performance/test_performance.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/conftest.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/content/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/content/test_heartbeat.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/download/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/download/test_downloader_base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/download/test_downloader_factory.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/download/test_downloader_file.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/metrics/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/metrics/conftest.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/metrics/test_aiohttp_instrumentation.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/metrics/test_django_instrumentation.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/migration/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/models/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/models/test_base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/models/test_content.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/models/test_remote.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/models/test_repository.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/models/test_task.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/roles/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/roles/test_adjust_roles.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/roles/test_roles.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_domain.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_fields.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_orphans_cleanup.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_pulpexport.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_repository.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/serializers/test_user.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/stages/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/stages/test_artifactdownloader.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/stages/test_stages.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_cache.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_chunked_file.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_content_guard.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_files.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_import_checks.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_pulp_urls.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_settings.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_util.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/test_viewsets.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/viewsets/__init__.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore/tests/unit/viewsets/test_viewset_base.py +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore.egg-info/dependency_links.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore.egg-info/entry_points.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/pulpcore.egg-info/top_level.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/setup.cfg +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/test_requirements.txt +0 -0
- {pulpcore-3.85.31 → pulpcore-3.85.33}/unittest_requirements.txt +0 -0
|
@@ -8,6 +8,58 @@
|
|
|
8
8
|
|
|
9
9
|
[//]: # (towncrier release notes start)
|
|
10
10
|
|
|
11
|
+
## 3.85.33 (2026-10-22) {: #3.85.33 }
|
|
12
|
+
|
|
13
|
+
### REST API {: #3.85.33-rest-api }
|
|
14
|
+
|
|
15
|
+
#### Bugfixes {: #3.85.33-rest-api-bugfix }
|
|
16
|
+
|
|
17
|
+
- Fixed responses for a distribution being cached from the previous repository version, and served until the cache entry expired, when they were requested while a new version was being created.
|
|
18
|
+
[#8246](https://github.com/pulp/pulpcore/issues/8246)
|
|
19
|
+
|
|
20
|
+
#### Improved Documentation {: #3.85.33-rest-api-doc }
|
|
21
|
+
|
|
22
|
+
- Modernized documentation around signing docs.
|
|
23
|
+
- Separated and improved documentation around the database encryption key.
|
|
24
|
+
|
|
25
|
+
### Plugin API {: #3.85.33-plugin-api }
|
|
26
|
+
|
|
27
|
+
No significant changes.
|
|
28
|
+
|
|
29
|
+
### Pulp File {: #3.85.33-pulp-file }
|
|
30
|
+
|
|
31
|
+
No significant changes.
|
|
32
|
+
|
|
33
|
+
### Pulp Cert Guard {: #3.85.33-pulp-cert-guard }
|
|
34
|
+
|
|
35
|
+
No significant changes.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 3.85.32 (2026-10-14) {: #3.85.32 }
|
|
40
|
+
|
|
41
|
+
### REST API {: #3.85.32-rest-api }
|
|
42
|
+
|
|
43
|
+
#### Bugfixes {: #3.85.32-rest-api-bugfix }
|
|
44
|
+
|
|
45
|
+
- Fixed directory listings for published content displaying publication time instead of repository added date.
|
|
46
|
+
- Fixed vulnerability report rescans to update existing reports.
|
|
47
|
+
- Removed parent directory sizes and fixed wrong last modified timestamp in content app listings.
|
|
48
|
+
|
|
49
|
+
### Plugin API {: #3.85.32-plugin-api }
|
|
50
|
+
|
|
51
|
+
No significant changes.
|
|
52
|
+
|
|
53
|
+
### Pulp File {: #3.85.32-pulp-file }
|
|
54
|
+
|
|
55
|
+
No significant changes.
|
|
56
|
+
|
|
57
|
+
### Pulp Cert Guard {: #3.85.32-pulp-cert-guard }
|
|
58
|
+
|
|
59
|
+
No significant changes.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
11
63
|
## 3.85.31 (2026-09-23) {: #3.85.31 }
|
|
12
64
|
|
|
13
65
|
### REST API {: #3.85.31-rest-api }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulpcore
|
|
3
|
-
Version: 3.85.
|
|
3
|
+
Version: 3.85.33
|
|
4
4
|
Summary: Pulp Django Application and Related Modules
|
|
5
5
|
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
6
6
|
Project-URL: Homepage, https://pulpproject.org
|
|
@@ -31,7 +31,7 @@ Requires-Dist: django-filter<=25.1,>=23.1
|
|
|
31
31
|
Requires-Dist: django-guid<3.6,>=3.3.0
|
|
32
32
|
Requires-Dist: django-import-export<5.0,>=2.9
|
|
33
33
|
Requires-Dist: django-lifecycle<=1.2.4,>=1.0
|
|
34
|
-
Requires-Dist: djangorestframework<3.
|
|
34
|
+
Requires-Dist: djangorestframework<3.19,>=3.14.0
|
|
35
35
|
Requires-Dist: djangorestframework-queryfields<=1.1.0,>=1.0
|
|
36
36
|
Requires-Dist: drf-access-policy<1.5.1,>=1.1.2
|
|
37
37
|
Requires-Dist: drf-nested-routers<=0.94.2,>=0.93.4
|
|
@@ -194,8 +194,6 @@ class Repository(MasterModel):
|
|
|
194
194
|
resource = CreatedResource(content_object=version)
|
|
195
195
|
resource.save()
|
|
196
196
|
|
|
197
|
-
self.invalidate_cache()
|
|
198
|
-
|
|
199
197
|
return version
|
|
200
198
|
|
|
201
199
|
def initialize_new_version(self, new_version):
|
|
@@ -1357,6 +1355,7 @@ class RepositoryVersion(BaseModel):
|
|
|
1357
1355
|
self.repository.save()
|
|
1358
1356
|
self.save()
|
|
1359
1357
|
self._compute_counts()
|
|
1358
|
+
transaction.on_commit(self.repository.invalidate_cache)
|
|
1360
1359
|
self.repository.cleanup_old_versions()
|
|
1361
1360
|
repository.on_new_version(self)
|
|
1362
1361
|
except Exception:
|
|
@@ -131,7 +131,9 @@ class VulnerabilityReportScanner:
|
|
|
131
131
|
"""
|
|
132
132
|
|
|
133
133
|
vuln_report, created = await sync_to_async(VulnerabilityReport.objects.update_or_create)(
|
|
134
|
-
|
|
134
|
+
pulp_domain=get_domain(),
|
|
135
|
+
content=content,
|
|
136
|
+
defaults={"vulns": vulns},
|
|
135
137
|
)
|
|
136
138
|
await vuln_report.repo_versions.aadd(repo_version)
|
|
137
139
|
|
|
@@ -599,6 +599,18 @@ class Handler:
|
|
|
599
599
|
Set of strings representing the files and directories in the directory listing.
|
|
600
600
|
"""
|
|
601
601
|
|
|
602
|
+
def update_date(dates, name, timestamp):
|
|
603
|
+
current_date = dates.get(name, None)
|
|
604
|
+
if current_date is None:
|
|
605
|
+
dates[name] = timestamp
|
|
606
|
+
elif current_date < timestamp:
|
|
607
|
+
dates[name] = timestamp
|
|
608
|
+
|
|
609
|
+
def update_content_date(content_dates, content_id, timestamp):
|
|
610
|
+
current_date = content_dates.get(content_id, None)
|
|
611
|
+
if current_date is None or current_date < timestamp:
|
|
612
|
+
content_dates[content_id] = timestamp
|
|
613
|
+
|
|
602
614
|
def file_or_directory_name(directory_path, relative_path):
|
|
603
615
|
result = re.match(r"({})([^\/]*)(\/*)".format(re.escape(directory_path)), relative_path)
|
|
604
616
|
return "{}{}".format(result.groups()[1], result.groups()[2])
|
|
@@ -612,6 +624,7 @@ class Handler:
|
|
|
612
624
|
directory_list = set()
|
|
613
625
|
dates = {}
|
|
614
626
|
content_to_find = {}
|
|
627
|
+
content_dates = {}
|
|
615
628
|
sizes = {}
|
|
616
629
|
artifacts_to_find = {}
|
|
617
630
|
|
|
@@ -622,12 +635,14 @@ class Handler:
|
|
|
622
635
|
for pa in pas:
|
|
623
636
|
name = file_or_directory_name(path, pa.relative_path)
|
|
624
637
|
directory_list.add(name)
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
638
|
+
content_id = pa.content_artifact.content_id
|
|
639
|
+
update_content_date(content_dates, content_id, pa.pulp_created)
|
|
640
|
+
content_to_find.setdefault(content_id, set()).add(name)
|
|
641
|
+
if not name.endswith("/"):
|
|
642
|
+
if pa.content_artifact.artifact:
|
|
643
|
+
sizes[name] = pa.content_artifact.artifact.size
|
|
644
|
+
else:
|
|
645
|
+
artifacts_to_find[pa.content_artifact.pk] = name
|
|
631
646
|
|
|
632
647
|
if repo_version or publication.pass_through:
|
|
633
648
|
cas = ContentArtifact.objects.select_related("artifact").filter(
|
|
@@ -636,22 +651,25 @@ class Handler:
|
|
|
636
651
|
for ca in cas:
|
|
637
652
|
name = file_or_directory_name(path, ca.relative_path)
|
|
638
653
|
directory_list.add(name)
|
|
639
|
-
|
|
640
|
-
content_to_find
|
|
641
|
-
if
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
654
|
+
update_content_date(content_dates, ca.content_id, ca.pulp_created)
|
|
655
|
+
content_to_find.setdefault(ca.content_id, set()).add(name)
|
|
656
|
+
if not name.endswith("/"):
|
|
657
|
+
if ca.artifact:
|
|
658
|
+
sizes[name] = ca.artifact.size
|
|
659
|
+
else:
|
|
660
|
+
artifacts_to_find[ca.pk] = name
|
|
645
661
|
|
|
646
662
|
if directory_list:
|
|
647
663
|
# Find the dates the content got added to the repository
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
664
|
+
for rc in content_repo_ver._content_relationships():
|
|
665
|
+
if rc.content_id in content_to_find:
|
|
666
|
+
content_dates[rc.content_id] = rc.pulp_created
|
|
667
|
+
|
|
668
|
+
# Prefer repository membership dates, then aggregate the newest date per entry.
|
|
669
|
+
for content_id, names in content_to_find.items():
|
|
670
|
+
for name in names:
|
|
671
|
+
update_date(dates, name, content_dates[content_id])
|
|
672
|
+
|
|
655
673
|
# Find the sizes for on_demand artifacts
|
|
656
674
|
r_artifacts = RemoteArtifact.objects.filter(
|
|
657
675
|
content_artifact__in=artifacts_to_find.keys(), size__isnull=False
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import uuid
|
|
2
|
-
from datetime import timedelta
|
|
2
|
+
from datetime import datetime, timedelta, timezone
|
|
3
|
+
from types import SimpleNamespace
|
|
3
4
|
from unittest.mock import AsyncMock, Mock
|
|
4
5
|
|
|
5
6
|
import pytest
|
|
@@ -13,9 +14,11 @@ from pulpcore.plugin.models import (
|
|
|
13
14
|
ContentArtifact,
|
|
14
15
|
Distribution,
|
|
15
16
|
Publication,
|
|
17
|
+
PublishedArtifact,
|
|
16
18
|
Remote,
|
|
17
19
|
RemoteArtifact,
|
|
18
20
|
Repository,
|
|
21
|
+
RepositoryContent,
|
|
19
22
|
RepositoryVersion,
|
|
20
23
|
)
|
|
21
24
|
|
|
@@ -194,6 +197,122 @@ async def create_distribution(remote, repository=None):
|
|
|
194
197
|
)
|
|
195
198
|
|
|
196
199
|
|
|
200
|
+
@pytest.mark.asyncio
|
|
201
|
+
@pytest.mark.parametrize("use_publication", (False, True))
|
|
202
|
+
async def test_list_directory_metadata(monkeypatch, use_publication):
|
|
203
|
+
"""Directory metadata is derived from its descendants without a directory size."""
|
|
204
|
+
old_timestamp = datetime(2026, 1, 1, tzinfo=timezone.utc)
|
|
205
|
+
new_timestamp = datetime(2026, 1, 2, tzinfo=timezone.utc)
|
|
206
|
+
|
|
207
|
+
directory_content = SimpleNamespace(
|
|
208
|
+
relative_path="directory/old.rpm",
|
|
209
|
+
pulp_created=old_timestamp,
|
|
210
|
+
content_id=uuid.uuid4(),
|
|
211
|
+
artifact=None,
|
|
212
|
+
pk=uuid.uuid4(),
|
|
213
|
+
)
|
|
214
|
+
newer_directory_content = SimpleNamespace(
|
|
215
|
+
relative_path="directory/new.rpm",
|
|
216
|
+
pulp_created=new_timestamp,
|
|
217
|
+
content_id=uuid.uuid4(),
|
|
218
|
+
artifact=SimpleNamespace(size=20),
|
|
219
|
+
pk=uuid.uuid4(),
|
|
220
|
+
)
|
|
221
|
+
file_content = SimpleNamespace(
|
|
222
|
+
relative_path="file.rpm",
|
|
223
|
+
pulp_created=old_timestamp,
|
|
224
|
+
content_id=uuid.uuid4(),
|
|
225
|
+
artifact=SimpleNamespace(size=10),
|
|
226
|
+
pk=uuid.uuid4(),
|
|
227
|
+
)
|
|
228
|
+
content_artifacts = [directory_content, newer_directory_content, file_content]
|
|
229
|
+
|
|
230
|
+
content_artifact_manager = Mock()
|
|
231
|
+
content_artifact_manager.select_related.return_value.filter.return_value = content_artifacts
|
|
232
|
+
monkeypatch.setattr(
|
|
233
|
+
"pulpcore.content.handler.ContentArtifact",
|
|
234
|
+
SimpleNamespace(objects=content_artifact_manager),
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
remote_artifact_manager = Mock()
|
|
238
|
+
remote_artifact_manager.filter.return_value.values_list.return_value = []
|
|
239
|
+
monkeypatch.setattr(
|
|
240
|
+
"pulpcore.content.handler.RemoteArtifact",
|
|
241
|
+
SimpleNamespace(objects=remote_artifact_manager),
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
repo_version = SimpleNamespace(content=[], _content_relationships=lambda: [])
|
|
245
|
+
|
|
246
|
+
if use_publication:
|
|
247
|
+
publication_manager = Mock()
|
|
248
|
+
publication_manager.select_related.return_value.filter.return_value = [
|
|
249
|
+
SimpleNamespace(
|
|
250
|
+
relative_path=entry.relative_path,
|
|
251
|
+
pulp_created=entry.pulp_created,
|
|
252
|
+
content_artifact=entry,
|
|
253
|
+
)
|
|
254
|
+
for entry in content_artifacts
|
|
255
|
+
]
|
|
256
|
+
publication = SimpleNamespace(
|
|
257
|
+
repository_version=repo_version,
|
|
258
|
+
pass_through=False,
|
|
259
|
+
published_artifact=publication_manager,
|
|
260
|
+
)
|
|
261
|
+
source = (None, publication)
|
|
262
|
+
else:
|
|
263
|
+
source = (repo_version, None)
|
|
264
|
+
|
|
265
|
+
directory_list, dates, sizes = await Handler().list_directory(*source, "")
|
|
266
|
+
|
|
267
|
+
assert directory_list == {"directory/", "file.rpm"}
|
|
268
|
+
assert dates["directory/"] == new_timestamp
|
|
269
|
+
assert "directory/" not in sizes
|
|
270
|
+
assert sizes["file.rpm"] == file_content.artifact.size
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
@pytest.mark.asyncio
|
|
274
|
+
@pytest.mark.django_db
|
|
275
|
+
async def test_publication_listing_uses_repository_content_date():
|
|
276
|
+
"""Publication dates fall back to repo dates, aggregated across directory children."""
|
|
277
|
+
older_repository_date = datetime(2026, 1, 1, tzinfo=timezone.utc)
|
|
278
|
+
newer_repository_date = datetime(2026, 1, 3, tzinfo=timezone.utc)
|
|
279
|
+
publication_date = datetime(2026, 1, 4, tzinfo=timezone.utc)
|
|
280
|
+
repository = await create_repository()
|
|
281
|
+
repo_version = await RepositoryVersion.objects.acreate(repository=repository, number=1)
|
|
282
|
+
publication = await Publication.objects.acreate(repository_version=repo_version)
|
|
283
|
+
|
|
284
|
+
for path, repository_date in (
|
|
285
|
+
("packages/file.rpm", older_repository_date),
|
|
286
|
+
("packages/nested/file.rpm", newer_repository_date),
|
|
287
|
+
):
|
|
288
|
+
content = await create_content()
|
|
289
|
+
content_artifact = await create_content_artifact(content)
|
|
290
|
+
membership = await RepositoryContent.objects.acreate(
|
|
291
|
+
content=content, repository=repository, version_added=repo_version
|
|
292
|
+
)
|
|
293
|
+
membership.pulp_created = repository_date
|
|
294
|
+
await membership.asave(update_fields=("pulp_created",))
|
|
295
|
+
|
|
296
|
+
published_artifact = await PublishedArtifact.objects.acreate(
|
|
297
|
+
publication=publication,
|
|
298
|
+
content_artifact=content_artifact,
|
|
299
|
+
relative_path=path,
|
|
300
|
+
)
|
|
301
|
+
published_artifact.pulp_created = publication_date
|
|
302
|
+
await published_artifact.asave(update_fields=("pulp_created",))
|
|
303
|
+
|
|
304
|
+
directory_list, dates, _ = await Handler().list_directory(None, publication, "")
|
|
305
|
+
|
|
306
|
+
assert directory_list == {"packages/"}
|
|
307
|
+
assert dates["packages/"] == newer_repository_date
|
|
308
|
+
|
|
309
|
+
child_list, child_dates, _ = await Handler().list_directory(None, publication, "packages/")
|
|
310
|
+
|
|
311
|
+
assert child_list == {"file.rpm", "nested/"}
|
|
312
|
+
assert child_dates["file.rpm"] == older_repository_date
|
|
313
|
+
assert child_dates["nested/"] == newer_repository_date
|
|
314
|
+
|
|
315
|
+
|
|
197
316
|
@pytest.mark.asyncio
|
|
198
317
|
@pytest.mark.django_db
|
|
199
318
|
async def test_pull_through_remote_artifact_exists(request123, tmp_path):
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import hashlib
|
|
2
|
+
import uuid
|
|
3
|
+
from datetime import timedelta
|
|
4
|
+
from unittest import mock
|
|
5
|
+
|
|
6
|
+
import pytest
|
|
7
|
+
|
|
8
|
+
from pulpcore.app.models import (
|
|
9
|
+
Content,
|
|
10
|
+
ContentArtifact,
|
|
11
|
+
PublishedArtifact,
|
|
12
|
+
)
|
|
13
|
+
from pulpcore.app.util import cache_key
|
|
14
|
+
|
|
15
|
+
from pulp_file.app.models import (
|
|
16
|
+
FileContent,
|
|
17
|
+
FileDistribution,
|
|
18
|
+
FilePublication,
|
|
19
|
+
FileRepository,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
UNSET = object()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def pub_factory(repo_version=None, pass_through=False, create_pa=False):
|
|
26
|
+
if repo_version is None:
|
|
27
|
+
repo_version = FileRepository.objects.create(
|
|
28
|
+
name=f"repo-{uuid.uuid4().hex[:8]}"
|
|
29
|
+
).versions.first()
|
|
30
|
+
pub = FilePublication.objects.create(
|
|
31
|
+
repository_version=repo_version, complete=True, pass_through=pass_through
|
|
32
|
+
)
|
|
33
|
+
if create_pa:
|
|
34
|
+
for ca in ContentArtifact.objects.filter(content__in=repo_version.content.all()):
|
|
35
|
+
PublishedArtifact.objects.create(
|
|
36
|
+
publication=pub, content_artifact=ca, relative_path=ca.relative_path
|
|
37
|
+
)
|
|
38
|
+
return pub
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def dist_factory(repo=None, pub=None, name=None):
|
|
42
|
+
assert [repo, pub].count(None) == 1, "Exactly one of repo or pub must be provided"
|
|
43
|
+
name = name or f"dist-{uuid.uuid4().hex[:8]}"
|
|
44
|
+
return FileDistribution.objects.create(
|
|
45
|
+
name=name, base_path=name, repository=repo, publication=pub
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def update_dist(dist, repo=UNSET, pub=UNSET):
|
|
50
|
+
assert (repo, pub).count(UNSET) == 1, "Exactly one of repo or pub must be provided"
|
|
51
|
+
# Clear the other fields to ensure mutual exclusivity
|
|
52
|
+
if repo is not UNSET:
|
|
53
|
+
dist.publication = None
|
|
54
|
+
dist.repository = repo
|
|
55
|
+
if pub is not UNSET:
|
|
56
|
+
dist.repository = None
|
|
57
|
+
dist.publication = pub
|
|
58
|
+
dist.save()
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def publish(repo_version, pass_through=True):
|
|
62
|
+
"""
|
|
63
|
+
Create and complete a publication through the Publication context manager.
|
|
64
|
+
|
|
65
|
+
`CreatedResource` is mocked out because it requires a current Task, which isn't set up in
|
|
66
|
+
unit tests. This still runs the `__exit__` finalization that invalidates caches and records
|
|
67
|
+
distributed publications.
|
|
68
|
+
"""
|
|
69
|
+
with mock.patch("pulpcore.app.models.publication.CreatedResource"):
|
|
70
|
+
with FilePublication.create(repo_version, pass_through=pass_through) as pub:
|
|
71
|
+
pass
|
|
72
|
+
return pub
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def invalidated_base_paths(mock_cache):
|
|
76
|
+
"""Collect the set of base_paths passed to a mocked `Cache().delete`."""
|
|
77
|
+
paths = set()
|
|
78
|
+
for call in mock_cache.return_value.delete.call_args_list:
|
|
79
|
+
base_key = call.kwargs.get("base_key")
|
|
80
|
+
if base_key is None and call.args:
|
|
81
|
+
base_key = call.args[0]
|
|
82
|
+
if isinstance(base_key, str):
|
|
83
|
+
paths.add(base_key)
|
|
84
|
+
elif base_key is not None:
|
|
85
|
+
paths.update(base_key)
|
|
86
|
+
return paths
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def create_version(repo, add=None, remove=None):
|
|
90
|
+
"""
|
|
91
|
+
Create a RepositoryVersion adding and/or removing content by path.
|
|
92
|
+
"""
|
|
93
|
+
assert add or remove, "at least one of add or remove must be specified"
|
|
94
|
+
with repo.new_version() as repo_version:
|
|
95
|
+
for path in add or []:
|
|
96
|
+
digest = hashlib.sha256(path.encode()).hexdigest()
|
|
97
|
+
content = FileContent.objects.create(relative_path=path, digest=digest)
|
|
98
|
+
repo_version.add_content(Content.objects.filter(pk=content.pk))
|
|
99
|
+
ContentArtifact.objects.create(content=content, relative_path=path)
|
|
100
|
+
for path in remove or []:
|
|
101
|
+
ca = ContentArtifact.objects.get(relative_path=path)
|
|
102
|
+
repo_version.remove_content(Content.objects.filter(pk=ca.content_id))
|
|
103
|
+
for path in add or []:
|
|
104
|
+
ca = ContentArtifact.objects.get(relative_path=path)
|
|
105
|
+
assert repo_version.content.filter(pk=ca.content_id).exists(), (
|
|
106
|
+
f"{path!r} not found in repository version content"
|
|
107
|
+
)
|
|
108
|
+
for path in remove or []:
|
|
109
|
+
ca = ContentArtifact.objects.get(relative_path=path)
|
|
110
|
+
assert not repo_version.content.filter(pk=ca.content_id).exists(), (
|
|
111
|
+
f"{path!r} should not be in repository version content after removal"
|
|
112
|
+
)
|
|
113
|
+
return repo_version
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
@pytest.mark.django_db
|
|
117
|
+
class TestCacheInvalidationOnDistributionUpdate:
|
|
118
|
+
"""
|
|
119
|
+
Repointing a distribution changes the content it serves, so its cache must be invalidated.
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
def test_invalidates_when_publication_switched(self, settings):
|
|
123
|
+
"""Repointing a distribution to a different publication invalidates its cache."""
|
|
124
|
+
settings.CACHE_ENABLED = True
|
|
125
|
+
pub1 = pub_factory(pass_through=True)
|
|
126
|
+
pub2 = pub_factory(pass_through=True)
|
|
127
|
+
dist = dist_factory(pub=pub1)
|
|
128
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
129
|
+
update_dist(dist, pub=pub2)
|
|
130
|
+
assert cache_key(dist.base_path) in invalidated_base_paths(mock_cache)
|
|
131
|
+
|
|
132
|
+
def test_invalidates_when_repository_switched(self, settings):
|
|
133
|
+
"""Repointing a distribution to a different repository invalidates its cache."""
|
|
134
|
+
settings.CACHE_ENABLED = True
|
|
135
|
+
repo1 = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
136
|
+
repo2 = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
137
|
+
create_version(repo1, add=["v1.txt"])
|
|
138
|
+
create_version(repo2, add=["v2.txt"])
|
|
139
|
+
dist = dist_factory(repo=repo1)
|
|
140
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
141
|
+
update_dist(dist, repo=repo2)
|
|
142
|
+
assert cache_key(dist.base_path) in invalidated_base_paths(mock_cache)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
@pytest.mark.django_db
|
|
146
|
+
class TestCacheInvalidationOnPublicationCreate:
|
|
147
|
+
"""
|
|
148
|
+
Creating a new publication changes the content served by distributions that resolve the
|
|
149
|
+
latest publication for their repository. Their caches must be invalidated.
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
def test_invalidates_repository_distribution(self, settings):
|
|
153
|
+
"""Creating a publication invalidates a distribution serving via its repository."""
|
|
154
|
+
settings.CACHE_ENABLED = True
|
|
155
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
156
|
+
version = create_version(repo, add=["some-file.txt"])
|
|
157
|
+
dist = dist_factory(repo=repo)
|
|
158
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
159
|
+
publish(version)
|
|
160
|
+
assert cache_key(dist.base_path) in invalidated_base_paths(mock_cache)
|
|
161
|
+
|
|
162
|
+
def test_invalidates_multiple_distributions_on_same_repository(self, settings):
|
|
163
|
+
"""Creating a publication must invalidate ALL distributions serving that repository."""
|
|
164
|
+
settings.CACHE_ENABLED = True
|
|
165
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
166
|
+
version = create_version(repo, add=["some-file.txt"])
|
|
167
|
+
dist1 = dist_factory(repo=repo)
|
|
168
|
+
dist2 = dist_factory(repo=repo)
|
|
169
|
+
dist3 = dist_factory(repo=repo)
|
|
170
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
171
|
+
publish(version)
|
|
172
|
+
invalidated = invalidated_base_paths(mock_cache)
|
|
173
|
+
assert cache_key(dist1.base_path) in invalidated
|
|
174
|
+
assert cache_key(dist2.base_path) in invalidated
|
|
175
|
+
assert cache_key(dist3.base_path) in invalidated
|
|
176
|
+
|
|
177
|
+
def test_invalidates_repository_distribution_for_older_version(self, settings):
|
|
178
|
+
"""Publishing an older repository version still invalidates the repository distribution."""
|
|
179
|
+
settings.CACHE_ENABLED = True
|
|
180
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
181
|
+
v1 = create_version(repo, add=["v1.txt"])
|
|
182
|
+
create_version(repo, add=["v2.txt"])
|
|
183
|
+
dist_repo = dist_factory(repo=repo)
|
|
184
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
185
|
+
publish(v1)
|
|
186
|
+
invalidated = invalidated_base_paths(mock_cache)
|
|
187
|
+
assert cache_key(dist_repo.base_path) in invalidated, "repo dist should be invalidated"
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
@pytest.mark.django_db
|
|
191
|
+
class TestCacheInvalidationOnPublicationDelete:
|
|
192
|
+
"""
|
|
193
|
+
Deleting the publication currently served by a distribution changes what that distribution
|
|
194
|
+
serves, so its cache must be invalidated.
|
|
195
|
+
"""
|
|
196
|
+
|
|
197
|
+
# -- Positive cases: the deleted publication is what the distribution serves --
|
|
198
|
+
|
|
199
|
+
def test_invalidates_repository_distribution_when_latest_deleted(self, settings):
|
|
200
|
+
"""Deleting the repository's latest publication invalidates a repository distribution."""
|
|
201
|
+
settings.CACHE_ENABLED = True
|
|
202
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
203
|
+
version = create_version(repo, add=["some-file.txt"])
|
|
204
|
+
pub = pub_factory(version, pass_through=True)
|
|
205
|
+
dist = dist_factory(repo=repo)
|
|
206
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
207
|
+
pub.delete()
|
|
208
|
+
assert cache_key(dist.base_path) in invalidated_base_paths(mock_cache)
|
|
209
|
+
|
|
210
|
+
# -- Negative cases: the deleted publication is NOT what the distribution serves --
|
|
211
|
+
|
|
212
|
+
def test_ignores_repository_distribution_when_deleted_not_latest_for_repository(self, settings):
|
|
213
|
+
"""Deleting an older publication must not invalidate the repository distribution."""
|
|
214
|
+
settings.CACHE_ENABLED = True
|
|
215
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
216
|
+
v1 = create_version(repo, add=["v1.txt"])
|
|
217
|
+
v2 = create_version(repo, add=["v2.txt"])
|
|
218
|
+
pub1 = pub_factory(v1, pass_through=True)
|
|
219
|
+
pub2 = pub_factory(v2, pass_through=True)
|
|
220
|
+
# Force pub2 to be the newest (latest for the repository).
|
|
221
|
+
FilePublication.objects.filter(pk=pub1.pk).update(
|
|
222
|
+
pulp_created=pub2.pulp_created - timedelta(seconds=1)
|
|
223
|
+
)
|
|
224
|
+
dist_repo = dist_factory(repo=repo) # serves pub2, which remains the latest publication
|
|
225
|
+
with mock.patch("pulpcore.app.models.publication.Cache") as mock_cache:
|
|
226
|
+
pub1.delete()
|
|
227
|
+
invalidated = invalidated_base_paths(mock_cache)
|
|
228
|
+
assert cache_key(dist_repo.base_path) not in invalidated, (
|
|
229
|
+
"repo dist should NOT be invalidated (pub2 still latest)"
|
|
230
|
+
)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
@pytest.mark.django_db
|
|
234
|
+
class TestCacheInvalidationOnRepositoryVersionCreate:
|
|
235
|
+
"""
|
|
236
|
+
While a new repository version is being created, the repository's distributions are still
|
|
237
|
+
served from the previous one, and a response computed then can be put into the cache.
|
|
238
|
+
Clearing the cache only when the version is started would leave that response there until
|
|
239
|
+
it expires, so the cache must be cleared once the new version is complete.
|
|
240
|
+
"""
|
|
241
|
+
|
|
242
|
+
def test_invalidates_once_new_version_is_complete(
|
|
243
|
+
self, settings, django_capture_on_commit_callbacks
|
|
244
|
+
):
|
|
245
|
+
"""Creating a repository version invalidates the cache after the version is complete."""
|
|
246
|
+
settings.CACHE_ENABLED = True
|
|
247
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
248
|
+
dist = dist_factory(repo=repo)
|
|
249
|
+
complete_at_invalidation = []
|
|
250
|
+
|
|
251
|
+
def record(*args, base_key=None, **kwargs):
|
|
252
|
+
if base_key is not None and cache_key(dist.base_path) in base_key:
|
|
253
|
+
complete_at_invalidation.append(repo.versions.latest("number").complete)
|
|
254
|
+
|
|
255
|
+
with mock.patch("pulpcore.app.models.repository.Cache") as mock_cache:
|
|
256
|
+
mock_cache.return_value.delete.side_effect = record
|
|
257
|
+
with django_capture_on_commit_callbacks(execute=True):
|
|
258
|
+
version = create_version(repo, add=["some-file.txt"])
|
|
259
|
+
assert version.complete
|
|
260
|
+
assert True in complete_at_invalidation
|
|
261
|
+
|
|
262
|
+
def test_ignores_version_without_changes(self, settings, django_capture_on_commit_callbacks):
|
|
263
|
+
"""A new version that changes nothing is discarded and leaves the cache alone."""
|
|
264
|
+
settings.CACHE_ENABLED = True
|
|
265
|
+
repo = FileRepository.objects.create(name=f"repo-{uuid.uuid4().hex[:8]}")
|
|
266
|
+
dist_factory(repo=repo)
|
|
267
|
+
with mock.patch("pulpcore.app.models.repository.Cache") as mock_cache:
|
|
268
|
+
with django_capture_on_commit_callbacks(execute=True):
|
|
269
|
+
with repo.new_version():
|
|
270
|
+
pass
|
|
271
|
+
mock_cache.return_value.delete.assert_not_called()
|
|
@@ -2,6 +2,7 @@ from unittest.mock import AsyncMock, Mock, patch
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
+
from pulpcore.app.models import VulnerabilityReport
|
|
5
6
|
from pulpcore.app.tasks.vulnerability_report import VulnerabilityReportScanner
|
|
6
7
|
from pulpcore.constants import OSV_QUERY_URL
|
|
7
8
|
|
|
@@ -72,3 +73,34 @@ class TestVulnerabilityReportScanner:
|
|
|
72
73
|
assert result == expected_response
|
|
73
74
|
mock_post.assert_called_once_with(url=OSV_QUERY_URL, json=osv_data)
|
|
74
75
|
mock_response.json.assert_called_once()
|
|
76
|
+
|
|
77
|
+
@pytest.mark.asyncio
|
|
78
|
+
async def test_save_vulnerability_report_updates_existing_report(self):
|
|
79
|
+
content = Mock()
|
|
80
|
+
repo_version = Mock()
|
|
81
|
+
domain = Mock()
|
|
82
|
+
existing_report = Mock(
|
|
83
|
+
vulns=[{"id": "GHSA-old-vulnerability"}],
|
|
84
|
+
repo_versions=Mock(aadd=AsyncMock()),
|
|
85
|
+
)
|
|
86
|
+
scanner = VulnerabilityReportScanner(AsyncMock(), AsyncMock(), Mock())
|
|
87
|
+
updated_vulns = [{"id": "GHSA-new-vulnerability"}]
|
|
88
|
+
|
|
89
|
+
def update_or_create(**kwargs):
|
|
90
|
+
assert kwargs == {
|
|
91
|
+
"content": content,
|
|
92
|
+
"pulp_domain": domain,
|
|
93
|
+
"defaults": {"vulns": updated_vulns},
|
|
94
|
+
}
|
|
95
|
+
existing_report.vulns = kwargs["defaults"]["vulns"]
|
|
96
|
+
return existing_report, False
|
|
97
|
+
|
|
98
|
+
with (
|
|
99
|
+
patch.object(VulnerabilityReport.objects, "update_or_create", update_or_create),
|
|
100
|
+
patch("pulpcore.app.tasks.vulnerability_report.get_domain", return_value=domain),
|
|
101
|
+
patch.object(scanner.updated, "aincrement", new_callable=AsyncMock),
|
|
102
|
+
):
|
|
103
|
+
await scanner._save_vulnerability_report(updated_vulns, content, repo_version)
|
|
104
|
+
|
|
105
|
+
assert existing_report.vulns == updated_vulns
|
|
106
|
+
existing_report.repo_versions.aadd.assert_awaited_once_with(repo_version)
|