bh@89: # Demo configuration file for publishpackages.py. The default config bh@89: # file used by publishpackages.py is publishpackages.cfg, so to use this bh@89: # file as the basis for your configuration, copy or rename this file and bh@89: # adapt it to your needs. bh@89: bh@89: [publishpackages] bh@249: # Distribution (e.g. etch, lenny, ...) and section (e.g. experimental, bh@249: # unstable, ...) for which to publish the packages bh@249: distribution: lenny bh@249: section: experimental bh@249: bh@89: # Username and host on which the treepackager runs. publishpackages.py bh@89: # has to be able to connect to that host as the builduser via ssh bh@89: # without knowning the password. This is best achieved with the bh@89: # ssh-agent. bh@89: build_user: builder bh@89: build_host: localhost bh@89: bh@89: # the program to run on build_host to list the filenames of the packages bh@89: # in question. Currently publishpackages.py assumes that the default bh@89: # configuration for that program works. bh@212: build_listpackages: ~/treepkg/bin/listpackages.py bh@89: bh@89: # Username and host on which to publish the packages. bh@89: # publishpackages.py uses ssh to execute commands on the publish_host to bh@89: # create directories and scp to copy the files from the local cache to bh@89: # the publish_host. bh@89: publish_user: builder bh@89: publish_host: localhost bh@89: bh@89: # the directory on the publish_host where the apt directories reside. bh@89: publish_dir: /home/ftp/apt/dists/ bh@89: bh@89: # Command to execute on the build host to update the apt archive bh@89: publish_apt_archive_update: /home/ftp/apt/update bh@89: bh@89: # local cache directory. publishpackages.py may delete it and its bh@255: # contents, so if you intend to run publishpackages.py on the same bh@255: # system for several remote instances of treepkg, make sure the bh@255: # directory name is unique enough, to avoid one publishpackages instance bh@255: # removing the files of another. bh@255: # bh@255: # The value is passed through the python functions os.expanduser and bh@255: # os.expandvars, so references to home directories of the form ~ or bh@255: # ~user at the beginning of the value and environment variable bh@255: # references of the form $VAR or ${VAR} are expanded. bh@255: cachedir: /tmp/${LOGNAME}/treepkg-package-cache/%(build_host)s