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@89: # contents. The value is passed through the python functions bh@89: # os.expanduser and os.expandvars, so references to home directories of bh@89: # the form ~ or ~user at the beginning of the value and environment bh@89: # variable references of the form $VAR or ${VAR} are expanded. bh@89: cachedir: /tmp/${LOGNAME}/treepkg-package-cache