[Piuparts-devel] for review: preview/compute-urls

Andreas Beckmann debian at abeckmann.de
Wed Jun 13 14:28:04 UTC 2012


On 2012-06-03 11:22, Holger Levsen wrote:
> I think there should be defaults:
> 
> mirror = cdn.debian.net
> distro = sid
> area = main
> arch = $(dpkg --print-architecture)

reworked the first part to apply some defaults except for distro where
we require one of distro or upgrade-test-distros to be set.

preview/compute-urls-v2:
Andreas Beckmann (7):
      lib/conf: add get_mirror() method
      lib/conf: add get_distro() method
      lib/conf: add get_area() method
      lib/conf: add get_arch() method
      lib/conf: add get_{packages,sources}_url() methods
      lib/conf: get_packages_url(): add optional distro argument
      document mirror/distro/area/arch piuparts.conf settings

> same. piuparts.conf.sample should have sensible defaults like described above 
> and should work out of the box.

Updated some settings in piuparts.conf.sample.


Andreas



More information about the Piuparts-devel mailing list