diff options
author | Valerie R Young <spectranaut@riseup.net> | 2016-10-24 16:15:22 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-10-25 00:18:39 +0200 |
commit | df98a2d7da2a0690e479c5ef44b31e77dec971a7 (patch) | |
tree | 6315fb05f5f236d35597276281c70878d3ee1c2a /cucumber/features/support/hooks.rb | |
parent | ef373331a692ac8d0d81cd65b68b396504097aaa (diff) | |
download | jenkins.debian.net-df98a2d7da2a0690e479c5ef44b31e77dec971a7.tar.xz |
reproducible debian: handle new packages with multiple versions
This commit fixes a bug introduced by 07849060
Commit 07849060 changed the UPSERT that added new packages to the sources
table into an INSERT. If the new package has two versions for (suite, arch)
in debian archive, then the INSERT to sources will fail on unique constraint.
The changes in this commit provide the same functionality without the UPSERT:
there will be no failure, instead only the second source encountered in
archive will be saved.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'cucumber/features/support/hooks.rb')
0 files changed, 0 insertions, 0 deletions