[Piuparts-devel] Bug#648177: piuparts.py: code synchronization, de-duplication, ...

Andreas Beckmann debian at abeckmann.de
Mon Nov 14 11:08:32 UTC 2011


Package: piuparts
Version: 0.41
Followup-For: Bug #648177

Hi,

here are some additional cleanup patches that should not introduce
functional difference. As always, git branches are in

    git://github.com/anbe42/piuparts.git

cleanup/compute-changes
    compute the changes in restore_selections()

    Avoid code duplication, pass the selections to restore_selections()
    and compute the changes there.

cleanup/apt-get-update-clean
    consolidate apt-get {update,clean}

    Stop scattering apt-get clean/update all over the place.
    Run apt-get update only after updating the sources.list.
    Run apt-get clean only from pack_into_tgz() before creating a
    tarball and from save_meta_data() before recording chroot state
    for later comparison.

Andreas





More information about the Piuparts-devel mailing list