Your message dated Sun, 31 May 2009 15:49:00 +0200
with message-id <[email protected]>
and subject line Re: Bug#530894: control of when to generate Contents-$arch 
files
has caused the Debian Bug report #530894,
regarding control of when to generate Contents-$arch files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
530894: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530894
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
I've looked at the code, and when full recreation of all index files is
not requested, then it is only generated when something in that
architecture has changed.

So it seems there is no bug but only --export and export are supposed to
do something different from what you expected.

Thus I'm closing this bug and will extend the description of export in
the manpage a bit.

Hochachtungsvoll,
        Bernhard R. Link


--- End Message ---

Reply via email to