Closed tfoote closed 10 years ago
Apparently reprepro was keeping the unreferenced files around after removing them. Now the invalidation, both removes the files from the distro and then clears all unreferenced. 4a002854cc5e69a2c83e4a2deb3124dbdbebb3f3
The sourcedebs need to clear all architectures at once instead of one at a time since they all share the same sourcedeb.
working on the sync script here: https://github.com/ros-infrastructure/reprepro-updater/commit/733ff6de70e9e7e707681d06cc603dbb91c76793
With the new patch above and a slight fix to it, a new sourcedeb job removes the orig.tar.gz before uploading the new one.
running ['reprepro', '-b', '/var/www/repos/building', '-T', 'dsc', '-V', 'removefilter', u'precise', 'Package (== ros-hydro-serial )']
removing 'ros-hydro-serial' from 'precise|main|source'...
Exporting indices...
Successfully created '/var/www/repos/building/dists/precise/Release.gpg.new'
Successfully created '/var/www/repos/building/dists/precise/InRelease.new'
Deleting files no longer referenced...
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4-7precise.debian.tar.gz
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4-7precise.dsc
running ['reprepro', '-b', '/var/www/repos/building', '-T', 'dsc', '-V', 'removefilter', u'quantal', 'Package (== ros-hydro-serial )']
removing 'ros-hydro-serial' from 'quantal|main|source'...
Exporting indices...
Successfully created '/var/www/repos/building/dists/quantal/Release.gpg.new'
Successfully created '/var/www/repos/building/dists/quantal/InRelease.new'
Deleting files no longer referenced...
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4-7quantal.debian.tar.gz
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4-7quantal.dsc
running ['reprepro', '-b', '/var/www/repos/building', '-T', 'dsc', '-V', 'removefilter', u'raring', 'Package (== ros-hydro-serial )']
removing 'ros-hydro-serial' from 'raring|main|source'...
Exporting indices...
Successfully created '/var/www/repos/building/dists/raring/Release.gpg.new'
Successfully created '/var/www/repos/building/dists/raring/InRelease.new'
Deleting files no longer referenced...
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4-7raring.debian.tar.gz
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4-7raring.dsc
deleting and forgetting pool/main/r/ros-hydro-serial/ros-hydro-serial_1.1.4.orig.tar.gz
running ['reprepro', '-v', '-b', '/var/www/repos/building', 'deleteunreferenced']
This should fix this issue. I'll close when I see a new debinc come in from non test repositories.
It worked for hrpsys-0.0.1-7 w/o two tries! http://jenkins.ros.org/job/ros-groovy-hrpsys_sourcedeb/
This is due to an md5sum collision on the orig.tar.gz The correct solution is to create a deb with a diff to the orig.tar.gz to upload instead of uploading a new orig tarball.
As a work around a second run of the sourcedeb usually works.