[Piuparts-devel] Bug#648177: piuparts.py: code synchronization, de-duplication, ...
Andreas Beckmann
debian at abeckmann.de
Wed Nov 9 11:55:33 UTC 2011
Package: piuparts
Version: 0.41
Severity: normal
Tags: patch
This bug tracks several patches made available in git branches of
git://github.com/anbe42/piuparts.git
These patches target code cleanup without introducing functional
differences.
cleanup/consistent-variable-names
use consistent variable names for package lists
use consistent naming of the variables of package lists:
* packages - a list of package names
* package_files - a list of .debs
* package_list - if undecided
cleanup/use-chroot-relative
use chroot.relative() more often to build filenames
use self.relative("...") to build a path name instead of
manually doing it via os.path.join(self.name, "...")
cleanup/scriptsdir-check
check for settings.scriptsdir inside run_scripts()
move the check for settings.scriptsdir inside run_scripts(),
no need to replicate it before every call
Andreas
More information about the Piuparts-devel
mailing list