Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/__init__.py
Show All 15 Lines | |||||
TASK_NAMES = { | TASK_NAMES = { | ||||
'orchestrator_all': 'swh.indexer.tasks.SWHOrchestratorAllContentsTask', | 'orchestrator_all': 'swh.indexer.tasks.SWHOrchestratorAllContentsTask', | ||||
'orchestrator_text': 'swh.indexer.tasks.SWHOrchestratorTextContentsTask', | 'orchestrator_text': 'swh.indexer.tasks.SWHOrchestratorTextContentsTask', | ||||
'mimetype': 'swh.indexer.tasks.SWHContentMimetypeTask', | 'mimetype': 'swh.indexer.tasks.SWHContentMimetypeTask', | ||||
'language': 'swh.indexer.tasks.SWHContentLanguageTask', | 'language': 'swh.indexer.tasks.SWHContentLanguageTask', | ||||
'ctags': 'swh.indexer.tasks.SWHCtagsTask', | 'ctags': 'swh.indexer.tasks.SWHCtagsTask', | ||||
'fossology_license': 'swh.indexer.tasks.SWHContentFossologyLicenseTask', | 'fossology_license': 'swh.indexer.tasks.SWHContentFossologyLicenseTask', | ||||
'rehash': 'swh.indexer.tasks.SWHRecomputeChecksumsTask', | 'rehash': 'swh.indexer.tasks.SWHRecomputeChecksumsTask', | ||||
'revision_metadata_task': 'swh.indexer.tasks.SWHRevisionMetadataTask', | |||||
ardumont: Can you please drop the SWH prefix (and the Task suffix as well), that's redundant (we are in a… | |||||
ardumontUnsubmitted Done Inline Actions
I was unclear, i was just speaking about the other new one introduced here OriginMetadataTask. Since everything is touched now... and that impacts the production anyway. Could you please also remove the suffix Task from all those tasks? Thanks in advance. ardumont: > same for the other task.
I was unclear, i was just speaking about the other new one… | |||||
ardumontUnsubmitted Done Inline ActionsProduction change: 017daf371998539e1ee12be821a0cf4e009d1f42 ardumont: Production change: 017daf371998539e1ee12be821a0cf4e009d1f42 | |||||
'origin_intrinsic_metadata_task': | |||||
'swh.indexer.tasks.SWHOriginMetadataTask', | |||||
} | } | ||||
__all__ = [ | __all__ = [ | ||||
'INDEXER_CLASSES', 'TASK_NAMES', | 'INDEXER_CLASSES', 'TASK_NAMES', | ||||
] | ] |
Can you please drop the SWH prefix (and the Task suffix as well), that's redundant (we are in a swh module, as per the fqdn shows already).
I'm trying to progressively remove that when i stumble upon it, same for the other task.