Skip to content

Commit

Permalink
Generating checksum named metadata files for AptByHash (squashed)
Browse files Browse the repository at this point in the history
Closes pulp#795
  • Loading branch information
adamsanaglo authored and Andrew Cheng committed Aug 31, 2023
1 parent 3c4db49 commit b625e6f
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 0 deletions.
Binary file added pulp_deb/app/__pycache__/constants.cpython-38.pyc
Binary file not shown.
Binary file added pulp_deb/app/__pycache__/settings.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions pulp_deb/app/tasks/publishing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
Binary file not shown.

0 comments on commit b625e6f

Please sign in to comment.