It adds metadata collection for Gitea.
(Reminder: swh-loader-metadata is a package that hooks into other loaders; so the upgrade needs to happen on loaders)
Staging:
* [ ] Configure Gitea credentials in loader configuration, to match listers if any (there should already be GitHub credentials, same as the listers)
* [ ] Upgrade package on workers
* [ ] Restart workers
* [ ] Reset journal client on the `swh.journal.objects.raw_extrinsic_metadata` topic (to actually run the new SWORD metadata mapping)
* [ ] Schedule a run (with `lister_name=gitea` and `lister_instance_name` set)
* [ ] Make sure the metadata is loaded in swh-storage: `select * from raw_extrinsic_metadata where target = 'swh:1:ori:...' and format = 'gitea-repository-json' limit 1;`)
Production:
* [ ] Configure Gitea credentials in loader configuration, to match listers if any (there should already be GitHub credentials, same as the listers)
* [ ] Upgrade package on workers
* [ ] Restart workers
* [ ] so previous puppet changes can be applied
* [ ] Reset journal client on the `swh.journal.objects.raw_extrinsic_metadata` topic (to actually run the new SWORD metadata mapping)
* [ ] Schedule a run (with `lister_name=gitea` and `lister_instance_name` set)
* [ ] Make sure the metadata is loaded in swh-storage: `select * from raw_extrinsic_metadata where target = 'swh:1:ori:...' and format = 'gitea-repository-json' limit 1;`)