[buildd-tools-devel] Bug#622102: Bug#622102: buildd does not find any distrubutions after upgrade

Philipp Kern pkern at debian.org
Wed Jan 25 09:24:31 UTC 2012


On Thu, Jan 19, 2012 at 03:02:58PM -0600, Runningen, Jeffrey M wrote:
> I'm testing it with a .builddrc based on the sample buildd.conf from the package, but with the fields I plan to use uncommented.  This .builddrc is:
> 
> $distributions = [ {
>         dist_name => ["unstable", "testing"],
>         built_architecture => undef,
>         wanna_build_ssh_host => "buildd.debian.org",
>         wanna_build_ssh_user => "buildd_arch",
>         wanna_build_ssh_socket => "",
>         wanna_build_ssh_options => [],
>         wanna_build_db_name => "arch/build-db",
>         wanna_build_db_user => $Buildd::username,
>         dupload_local_queue_dir => "upload",
>         no_auto_build => [],
>         weak_no_auto_build => [],
>         logs_mailed_to => $admin_mail,
>         sbuild_chroot => undef,
> } ];

You'd need to use a proper list here, e.g.:

@distributions = (
    {
        dist_name => ["sid"],
        built_architecture => 's390x',

        wanna_build_ssh_host => "buildd.debian.org",
        wanna_build_ssh_user => "wb-buildd",
        wanna_build_ssh_socket => 'buildd.debian.org.ssh',
        wanna_build_ssh_options => [],
        wanna_build_db_user => "buildd_s390x-zappa",

        dupload_local_queue_dir => "upload",

        logs_mailed_to => 'address1 at domain.tld,address at domain.tld',
    }
);

You can also populate a hash called $defaults with common values.

> $upload_queues = [ {
>         dupload_local_queue_dir => "upload",
>         dupload_archive_name => "anonymous-ftp-master",
> },
> {
>         dupload_local_queue_dir => "upload-security",
>         dupload_archive_name => "security",
> } ];

Same here:

@upload_queues = (
        {
                dupload_local_queue_dir => "upload",
                dupload_archive_name => "anonymous-ftp-master",
        },
        […]
);

Kind regards
Philipp Kern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20120125/445b3358/attachment.pgp>


More information about the Buildd-tools-devel mailing list