Package: reprepro
Version: 5.1.1-1
Severity: wishlist

The apt.postgresql.org repo is running reprepro and has served us
well, so thanks for this really nice and stable piece of software!

We are serving several postgresql-XX source packages in parallel, and
each of them builds a libpq5.deb. To allow them not to conflict, we
divert all libpq5 binaries except the default one to other components
other than "main". Additionally, builds for beta and devel versions of
PostgreSQL are completely diverted to these per-version components.

Now when the default PostgreSQL version changes, we upload new
packages with the components updated, but as not all binaries/sources
receive new versions in the same component, there's cruft left behind.
Here's the situation after postgresql-11 has moved from "11" to "main":

$ reprepro lsbycomponent postgresql-11 | grep sid-pgdg-testing
postgresql-11 |        11.0-1.pgdg+2 |     sid-pgdg-testing | main | amd64, 
i386, ppc64el, source
postgresql-11 |      11~rc1-1.pgdg+1 |     sid-pgdg-testing |   11 | amd64, 
i386, ppc64el, source

$ reprepro lsbycomponent postgresql-10 | grep sid-pgdg-testing
postgresql-10 |      10.5-2.pgdg+1 |     sid-pgdg-testing | main | amd64, i386, 
ppc64el, source

$ reprepro lsbycomponent libpq5 | grep sid-pgdg-testing
libpq5 |                                        11.0-1.pgdg+2 |     
sid-pgdg-testing | main | amd64, i386, ppc64el
libpq5 |                                        10.5-2.pgdg+1 |     
sid-pgdg-testing |   10 | amd64, i386, ppc64el
libpq5 |                                      11~rc1-1.pgdg+1 |     
sid-pgdg-testing |   11 | amd64, i386, ppc64el

To clean up, I'd like to remove the postgresql-11 source from "11":

$ reprepro -C 11 removesrc sid-pgdg-testing postgresql-11
Action 'removesrc' cannot be restricted to a component!
neither --component nor -C make sense here.
To ignore use --ignore=unusedoption.
There have been errors!

I think the operation does make sense. Could you allow/implement it?

Thanks,
Christoph

Reply via email to