Package: piuparts
Version: 1.1.5
Severity: normal
File: /etc/piuparts/scripts/pre_install_database-server
Tags: patch
Dear Maintainer,
Piuparts scripts in /etc/piuparts/scripts/* case match over ${PIUPARTS_OBJECTS%%=*}, which
works on piuparts.d.o (which calls piuparts with `--apt ${PKGNAME}=${VERSION}`) but not on
salsa ci (since it calls piuparts with `/path/to/${PKGNAME}_${VERSION}_${ARCH}.deb`). I
think the script also doesn't work when a .change or when multiple packages are supplied.
I attach a PoC patch which fixes the problem for me, but I believe other scripts are
affected as well. I can submit a file for other scripts too but but I'm unsure the
proposed the logic is the way to go.
Thanks for maintaining piuparts!