diff --git a/pulp_deb/app/__pycache__/constants.cpython-38.pyc b/pulp_deb/app/__pycache__/constants.cpython-38.pyc new file mode 100644 index 000000000..102567536 Binary files /dev/null and b/pulp_deb/app/__pycache__/constants.cpython-38.pyc differ diff --git a/pulp_deb/app/__pycache__/settings.cpython-38.pyc b/pulp_deb/app/__pycache__/settings.cpython-38.pyc new file mode 100644 index 000000000..98a008cba Binary files /dev/null and b/pulp_deb/app/__pycache__/settings.cpython-38.pyc differ diff --git a/pulp_deb/app/models/content/__pycache__/metadata.cpython-38.pyc b/pulp_deb/app/models/content/__pycache__/metadata.cpython-38.pyc new file mode 100644 index 000000000..6fea35b54 Binary files /dev/null and b/pulp_deb/app/models/content/__pycache__/metadata.cpython-38.pyc differ diff --git a/pulp_deb/app/serializers/__pycache__/content_serializers.cpython-38.pyc b/pulp_deb/app/serializers/__pycache__/content_serializers.cpython-38.pyc new file mode 100644 index 000000000..78bb2e1b4 Binary files /dev/null and b/pulp_deb/app/serializers/__pycache__/content_serializers.cpython-38.pyc differ diff --git a/pulp_deb/app/tasks/__pycache__/publishing.cpython-38.pyc b/pulp_deb/app/tasks/__pycache__/publishing.cpython-38.pyc new file mode 100644 index 000000000..ac7e23e88 Binary files /dev/null and b/pulp_deb/app/tasks/__pycache__/publishing.cpython-38.pyc differ diff --git a/pulp_deb/app/tasks/__pycache__/synchronizing.cpython-38.pyc b/pulp_deb/app/tasks/__pycache__/synchronizing.cpython-38.pyc new file mode 100644 index 000000000..6d94e63de Binary files /dev/null and b/pulp_deb/app/tasks/__pycache__/synchronizing.cpython-38.pyc differ diff --git a/pulp_deb/app/tasks/publishing.py b/pulp_deb/app/tasks/publishing.py index 95e65b030..0e28ba371 100644 --- a/pulp_deb/app/tasks/publishing.py +++ b/pulp_deb/app/tasks/publishing.py @@ -3,6 +3,10 @@ import shutil from contextlib import suppress from pathlib import Path +<<<<<<< HEAD +======= +import hashlib +>>>>>>> 2c118f1 (Generating checksum named metadata files for AptByHash (squashed)) from datetime import datetime, timezone from debian import deb822 @@ -271,6 +275,7 @@ def add_package(self, package): content_artifact=package.contentartifact_set.get(), ) published_artifact.save() + package_serializer = Package822Serializer(package, context={"request": None}) try: diff --git a/pulp_deb/app/viewsets/__pycache__/content.cpython-38.pyc b/pulp_deb/app/viewsets/__pycache__/content.cpython-38.pyc new file mode 100644 index 000000000..008d6df8c Binary files /dev/null and b/pulp_deb/app/viewsets/__pycache__/content.cpython-38.pyc differ