Plan to be defined further:
- [x] Prepare repository with the correct flag (has-debian-branches, ...) [1]
- [x] Prepare ci [2] (already done)
- [x] Prepare git repository hosting server (tate) so debian package build happens out of a tag
- [x] rDLDMD7350b5bdf6943f30cda72339307757fbc517b7a6: Prepare debian package
- [x] debian builds ok? yes [4]
- [ ] ~~Create new sentry issue for the loader~~
- [ ] ~~Prepare puppet manifest for new service swh-worker@loader_metadata~~
- [ ] Adapt swh-worker@loader_git manifest to optionally install the dependency on loader metadata
- [ ] Deploy
[1] https://docs.softwareheritage.org/devel/tutorials/add-new-package.html
[2] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DLDMD/
[3]
```
root@tate:/srv/phabricator# phabricator-setup-hook /srv/phabricator/repos/258 post-receive-swh-modules
Hook post-receive-swh-modules successfully installed on /srv/phabricator/repos/258:
lrwxrwxrwx 1 phabricator phabricator 39 Apr 26 12:57 post-receive -> ../../../hooks/post-receive-swh-modules
root@tate:/srv/phabricator# ls -lah repos/258/hooks/post-receive
lrwxrwxrwx 1 phabricator phabricator 39 Apr 26 12:57 repos/258/hooks/post-receive -> ../../../hooks/post-receive-swh-modules
```
[4] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DLDMD/job/gbp-buildpackage/