t-rex-tileserver / t-rex

t-rex is a vector tile server specialized on publishing MVT tiles from your own data
https://t-rex.tileserver.ch/
MIT License
556 stars 69 forks source link

choose dist-depending dependencies, version and package name by switch #261

Closed tobwen closed 3 years ago

tobwen commented 3 years ago

summary

This patch allows to select the depedencies for different distributions by switch --variant. A unique package version and name is chosen, which is different for each distribution.

examples

notes

  1. The naming schema doesn't suite the official Debian Packaging Guide. The version suffix ~bullseye is usually quicker to recognize than ~deb11u1.
  2. Currently supported distributions: Ubuntu Focal Fossa (20.04, LTS), Debian Buster (10) and Debian Bullseye (11). Focal is the default (by the author's design).
  3. Tasks still need to be created in the GitHub actions, which builds and packages t-rex under the different distributions.