[Piuparts-devel] speeding up detect_well_known_errors

Andreas Beckmann debian at abeckmann.de
Thu Jan 5 00:13:08 UTC 2012


piatti.git feature/speedup-detect-well-known-errors

commit ae866baa0f8302d037f0ada2664064417d0f30a7
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu Jan 5 01:07:12 2012 +0100

    speedup detect_well_known_errors

    cache the output of ls -tr1 (once for all packages)
    use grep to extract information for the current package
    this is much faster than running ls for each package

    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

commit a634393a21fb3ee48fcbcb8ba1937d36c8c507b4
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu Jan 5 01:07:12 2012 +0100

    simplify/cleanup detect_well_known_errors

    merge the loops, reduce verboseness, skip missing sections
    remove the 'unknown failures' report if it's empty

    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>



More information about the Piuparts-devel mailing list