Skip to content
Snippets Groups Projects
Commit ed145e09 authored by Jenkins for Software Heritage's avatar Jenkins for Software Heritage
Browse files

New upstream version 1.10.1

parents 9c994d93 a4cb325a
No related branches found
Tags debian/upstream/0.2.37
No related merge requests found
Metadata-Version: 2.1
Name: swh.vault
Version: 1.10.0
Version: 1.10.1
Summary: Software Heritage vault
Home-page: https://forge.softwareheritage.org/diffusion/DVAU/
Author: Software Heritage developers
......
Metadata-Version: 2.1
Name: swh.vault
Version: 1.10.0
Version: 1.10.1
Summary: Software Heritage vault
Home-page: https://forge.softwareheritage.org/diffusion/DVAU/
Author: Software Heritage developers
......
......@@ -10,13 +10,13 @@ from swh.vault.cookers import get_cooker
@app.task(name=__name__ + ".SWHCookingTask")
def vault_cook_bundle(bundle_type, swhid):
def cook_vault_bundle(bundle_type, swhid):
"""Main task to cook a bundle."""
get_cooker(bundle_type, CoreSWHID.from_string(swhid)).cook()
# TODO: remove once the scheduler handles priority tasks
@app.task(name=__name__ + ".SWHBatchCookingTask")
def vault_batch_cook_bundle(bundle_type, swhid):
def cook_vault_bundle_batch(bundle_type, swhid):
"""Temporary task for the batch queue."""
get_cooker(bundle_type, CoreSWHID.from_string(swhid)).cook()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment