[Piuparts-devel] Bug#608898: #608898 piuparts: should support testing a package from the archive and a local version

Andreas Beckmann debian at abeckmann.de
Wed Nov 9 15:40:12 UTC 2011


On Tuesday, 4. January 2011 14:33:35 Holger Levsen wrote:
> <h01ger> i want to be able to do: piuparts -d lenny -d squeeze -d sid -a
> piuparts -finally piuparts_0.39_all.deb

Doesn't 
    piuparts -d lenny -d squeeze -d sid piuparts_0.39_all.deb
do what you want?

> <h01ger> atm i have to run piuparts twice and wait til 0.39 is in sid
>
> This is because one has to either supply (a) .changes file(s), or .deb(s)
> or package names retrievable by apt.
>
> I would like to be able to test a non-uploaded packages upgradability
> before it hits the archive with one piuparts run, the above should first
> install piuparts in lenny, then upgrade to squeeze, then upgrade to sid,
> then install the local package.

Just tested with current develop branch:

$ ./run-piuparts-git --log-file=p-sTUN.0.log \
    -d squeeze -d wheezy -d unstable ../piuparts_0.42_all.deb

$ grep -E 'Setting up piuparts|PASS' p-sTUN.0.log
  Setting up piuparts (0.38) ...
  Setting up piuparts (0.41) ...
  Setting up piuparts (0.42) ...
3m15.2s INFO: PASS: Upgrading between Debian distributions.
3m15.2s INFO: PASS: All tests.

So this seems to work (at least in the current version).

Or do you want this instead:
Lets assume, testpkg is available in the following versions:
6+squeeze, 7+wheezy, 99+sid, 999+local

piuparts -d squeeze -d wheezy -d sid -a testpkg \
   --finally testpkg_999+local.deb

create squeeze
install testpkg 6+squeeze
distupgrade wheezy => installs testpkg 7+wheezy
distupgrade sid => installs testpkg 999+local instead of 99+sid
install testpkg 999+local

?

Andreas





More information about the Piuparts-devel mailing list