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

Re: Proposed New Incoming System



On Mon, Feb 11, 2002 at 08:57:31AM -0600, Scott M. Dier wrote:
> Colin Watson wrote:
> >   http://lists.debian.org/debian-devel-announce-0201/msg00014.html
> 
> For those of you using dupload, this 'works for me'. Remember to change 
> some of the options. :)
> 
> $cfg{'delayed'} = {
>          fqdn => "ftp-master.debian.org",
>          login => "sdier",
>          incoming => "/org/ftp.debian.org/incoming/DELAYED/7-day/",
>          visibleuser => "sdier",
>          visiblename => "debian.org",
>          fullname => "Scott M. Dier",
>          dinstall_runs => 1,
>          method => "scpb"
> };

I use this for a little more flexibility:

if (exists $ENV{DEB_NMU_DELAY}) {
    $delayed = "/DELAYED/$ENV{DEB_NMU_DELAY}-day";
}

$cfg{auric} = {
    fqdn => "ftp-master.debian.org",
    login => $ENV{DEBUSER} || getlogin() || $ENV{USER} || $ENV{LOGNAME},
    incoming => "/org/ftp.debian.org/incoming$delayed",
    visibleuser => getlogin() || $ENV{USER} || $ENV{LOGNAME},
    visiblename => "",
    fullname => "",
    dinstall_runs => 1,
    method => "scpb"
};

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: