diff --git a/swh/indexer/tasks.py b/swh/indexer/tasks.py --- a/swh/indexer/tasks.py +++ b/swh/indexer/tasks.py @@ -13,6 +13,7 @@ from .fossology_license import ContentFossologyLicenseIndexer from .rehash import RecomputeChecksums from .metadata import RevisionMetadataIndexer, OriginMetadataIndexer +from .origin_head import OriginHeadIndexer logging.basicConfig(level=logging.INFO) @@ -39,6 +40,12 @@ Indexer = OriginMetadataIndexer +class OriginHead(Task): + task_queue = 'swh_indexer_origin_head' + + Indexer = OriginHeadIndexer + + class ContentMimetype(Task): """Task which computes the mimetype, encoding from the sha1's content.