The original issue is here: https://pagure.io/pagure/issue/1497 but it was agreed that pagure-importer is a correct place for the actual implementation.
Login to comment on this ticket.