[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set up an upload queue on an Alioth project?



Le mer, 16/06/2004 à 19:41 +0200, Enrico Zini a écrit :
> Hello,
> 
> We'd like to set up an upload queue on our Debian-NP Alioth project.
> We've been told by the Alioth staff, when asking them to provide such a
> service, that:
> 
>   mini-dinstall and dput/dupload work nice, and I don't see why
>   Gforge/Alioth would need to duplicate their functionality.

Roland Mas precisely has just installed debpool, following the request
of the Gnome team.  

It is just enough to copy/usr/share/doc/debpool/examples/Config.pm in
~/.debpool/ and to modify the usual variables in order to reflect your
configuration, like this:

~/.debpool/Config.pm:
---
$Options{'archive_dir'} = '/org/alioth.debian.org/chroot/home/groups/
pkg-gnome/htdocs/debian';
$Options{'db_dir'} = "/var/lib/gforge/chroot/home/users/surcouf-guest/.
debpool/db";
$Options{'db_dir_mode'} = 0750;
$Options{'db_file_mode'} = 0640;
$Options{'dists_dir'} = "$Options{'archive_dir'}/dists";
$Options{'dists_dir_mode'} = 0775;
$Options{'dists_file_mode'} = 0664;
$Options{'incoming_dir'} = "$Options{'archive_dir'}/incoming";
$Options{'incoming_dir_mode'} = 01775;
$Options{'installed_dir'} = "$Options{'archive_dir'}/installed";
$Options{'installed_dir_mode'} = 0755;
$Options{'installed_file_mode'} = 0664;
$Options{'pool_dir'} = "$Options{'archive_dir'}/pool";
$Options{'pool_dir_mode'} = 0755;
$Options{'pool_file_mode'} = 0664;

$Options{'dists'} = {
    'unstable' => 'sid',
    'experimental' => 'experimental'
};

$Options{'sections'} = [ 'main' ];
$Options{'archs'} = [ 'i386' ];

$Options{'release_origin'} = 'Debian';
$Options{'release_label'} = 'Debian';
$Options{'release_description'} = 'Debian Gnome Team';

$Options{'log_file'} = '/var/lib/gforge/chroot/home/users/surcouf-
guest/.debpool/debpool.log';

$Options{'rollback'} = 1;
$Options{'rebuild-files'} = 1;
$Options{'rebuild-dbs'} = 1;
$Options{'rebuild-all'} = 1;
---


Then, it any more but does not remain to configure crond as follows so
that it launches debpool regularly:

---
# every ten minutes
0,10,20,30,40,50 *      * * *           /usr/bin/debpool --nodaemon
---

Have a nice debpool day ! ;-)

-- 
Raphaël 'SurcouF' Bordet
surcouf@debianfr.net
#debianfr@undernet | http://www.debianfr.net

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: