postgrespro / pg_probackup

Backup and recovery manager for PostgreSQL
https://postgrespro.github.io/pg_probackup/
Other
715 stars 86 forks source link

Debian apt shows only latest version #285

Open deric opened 3 years ago

deric commented 3 years ago

Typically on Debian apt-cache madison shows all available versions

$ apt-cache madison pg-probackup-12
pg-probackup-12 | 2.4.7-1.f586c96e3d1dc6e2.buster | https://repo.postgrespro.ru/pg_probackup/deb buster/main-buster amd64 Packages

which allows easier downgrade in case that the latest release is broken. Would be possible to fix this?

gsmolk commented 3 years ago

Looks useful.

gsmolk commented 3 years ago

We would have to abandon reprepro in favour of something more modern, becase reprepro does not support packages with multiple versions.

halvaborsch commented 2 years ago

Is there any news? We cannot use postgrespro repo in our deployments now because we lost our version after the new version probackup was released. it creates difficulties. :cry:

gsmolk commented 2 years ago

@halvaborsch, which version do you use?

halvaborsch commented 2 years ago

We're using 2.4.9 for now but this's does not matter. Im talking about automatic deployment idempotent. Ones add apt repository and install the latest version we set its number in deployment configuration. Afterwards probackup has new release we cant longer reproduce that deployment with "No such version" error because our version was lost in Release file.

So workaround for us is use direct links for deb files... but its looks real weird.

Thank you!

gsmolk commented 2 years ago

We inherited this behavior from PostgreSQL repo, because we also use reprepro

halvaborsch commented 2 years ago

hm... not quite i can always use apt-archive.postgresql.org for all current and previous versions. would you have something like that for postgrespro products?

gsmolk commented 2 years ago

Hm, didn`t knew about it, thanks =)