package: reprepro
version: 3.9.2-1

reprepro always generates Contents-$arch files, even if nothing has
changed.  I have etch configured as a pull; this distribution doesn't
change anymore.  However, each time an export is done, it's contents
are generated.  Even with --export=changed.

Please add maybe --nogeneratecontents, and/or make it smarter and not
rebuild the file each time.

Additionally, it seems to take a very long time to generate the file,
when nothing has changed.  For instance, etch's Contents-i386 is 152M.
 My fileserver can write at 25M/s, so in theory it'll take just over 6
seconds to write the file.  However, as the attached log shows, it
takes extremely long to generate.
mir...@bigboy:~$ time reprepro -vb /mirror/reprepro/debian/ --export=changed 
export etch|while read line; do echo $(date): $line;done
Thu May 28 10:37:58 CDT 2009: making diffs between 
/mirror/debian/dists/etch/main/binary-i386/Packages and 
/mirror/debian/dists/etch/main/binary-i386/Packages.new:
Thu May 28 10:37:58 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:02 CDT 2009: making diffs between 
/mirror/debian/dists/etch/main/binary-amd64/Packages and 
/mirror/debian/dists/etch/main/binary-amd64/Packages.new:
Thu May 28 10:38:02 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/main/source/Sources and 
/mirror/debian/dists/etch/main/source/Sources.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/contrib/binary-i386/Packages and 
/mirror/debian/dists/etch/contrib/binary-i386/Packages.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/contrib/binary-amd64/Packages and 
/mirror/debian/dists/etch/contrib/binary-amd64/Packages.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/contrib/source/Sources and 
/mirror/debian/dists/etch/contrib/source/Sources.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/non-free/binary-i386/Packages and 
/mirror/debian/dists/etch/non-free/binary-i386/Packages.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/non-free/binary-amd64/Packages and 
/mirror/debian/dists/etch/non-free/binary-amd64/Packages.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:38:04 CDT 2009: making diffs between 
/mirror/debian/dists/etch/non-free/source/Sources and 
/mirror/debian/dists/etch/non-free/source/Sources.new:
Thu May 28 10:38:04 CDT 2009: file unchanged, not generating diff
Thu May 28 10:42:12 CDT 2009: Exporting etch...
Thu May 28 10:42:12 CDT 2009: generating Contents-i386...
Thu May 28 10:42:12 CDT 2009: generating Contents-amd64...

real    4m18.068s
user    4m13.252s
sys     0m3.216s

Reply via email to