service/debian-archive: improve new suite docs authored by Jérôme Charaoui's avatar Jérôme Charaoui
...@@ -116,17 +116,18 @@ Packages are probably in more than one suite. Run `show-all-packages` again at t ...@@ -116,17 +116,18 @@ Packages are probably in more than one suite. Run `show-all-packages` again at t
## Add a new suite ## Add a new suite
As an example below, the branch used for the current version of the As an example below, the branch used for the current version of the tor package
tor-browser package is `debian-0.4.8`, but replace that with the branch for the is `debian-0.4.8`, but replace that with the branch for the current version
current version that's currently used if it's different. that's currently used if it's different. Commands run on `palmeri` must be
executed as the `tordeb` user.
1. Make sure you have [sufficient access](#adding-one-s-pgp-key-to-the-keyring-allowing-uploads) 1. Make sure you have [sufficient access](#adding-one-s-pgp-key-to-the-keyring-allowing-uploads)
2. On the `debian-0.4.8` branch, enable building a source package for the suite 2. On the `debian-0.4.8` branch, enable building a source package for the suite
in `debian/misc/build-tor-sources` in `debian/misc/build-tor-sources` and `debian/misc/backport`
3. On the `debian-ci` branch, add the binary build job for the new suite in the 3. On the `debian-ci` branch, add the binary build job for the new suite in the
job matrix in `debian/.debian-ci.yml` job matrix in `debian/.debian-ci.yml`
4. On `palmeri`, add the suite in 4. On `palmeri`, cd to `/srv/deb.torproject.org/reprepro/conf`, add the suite
`/srv/deb.torproject.org/reprepro/conf/gen-suites` and run the script in the `gen-suites` script and run it
5. Merge the `debian-ci` branch into `debian-0.4.8`, then push the changes to 5. Merge the `debian-ci` branch into `debian-0.4.8`, then push the changes to
the git repository (in the `tpo/core/debian/tor` project) and let the CI the git repository (in the `tpo/core/debian/tor` project) and let the CI
pipeline run. pipeline run.
... ...
......