Re: Delayed NMU with dupload
On Sun, Mar 14, 2004 at 01:54:04PM -0500, Adam Kessel wrote:
> My understanding is that it should be as simple as:
>
> dupload --to delayed libid3tag_0.15.0b-3.1.changes
>
> I'm a little confused about how dupload works, however, and the manpage
> isn't quite answering my questions.
>
> I get:
>
> dupload note: no announcement will be sent.
> Uploading (ftp) to ftp-master.debian.org:/org/ftp.debian.org/incoming/DELAYED/7-day/
> [ job libid3tag_0.15.0b-3.1 from libid3tag_0.15.0b-3.1.changes
> libid3tag_0.15.0b-3.1.dsc, md5sum ok
> libid3tag0-dev_0.15.0b-3.1_i386.deb, md5sum ok
> libid3tag0_0.15.0b-3.1_i386.deb, md5sum ok
> libid3tag_0.15.0b-3.1.diff.gz, md5sum ok
> libid3tag_0.15.0b-3.1.changes ok ]
> Uploading (ftp) to delayed (ftp-master.debian.org)
> [ Uploading job libid3tag_0.15.0b-3.1
> libbid3tag_0.15.0b-3.1.dsc 0.6 kB, ok
> libid3tag0-dev_0.15.0b-3.1_i386.deb 33.7 kB, ok
> libid3tag0_0.15.0b-3.1_i386.deb 33.1 kB, ok
> libid3tag_0.15.0b-3.1.diff.gz 3.6 kB, ok
> libid3tag_0.15.0b-3.1.changes 1.1 kB, ok
> ajkessel@ftp-master.debian.org's password:
>
> But my gluck password is apparently not the password for scp to
> ftp-master. As I understand it, I shouldn't even need an account on
> ftp-master (and probably I don't have one), because I should use ftp and
> not scp to upload packages.
ftp-master has been a restricted machine since a couple of months ago.
You won't have an account unless you have a special reason for one (in
which case you'll know about it), no.
> But if I change dupload.conf for delayed to use ftp rather than scpb, I
> get:
>
> libid3tag_0.15.0b-3.1.dsc 0.6 kBdupload fatal error: Can't upload libid3tag_0.15.0b-3.1.dsc: Could not create file.
> at /usr/bin/dupload line 506
>
> Presumably this is because /org/ftp.debian.org/incoming/DELAYED/7 is not
> accessible through anonymous FTP.
Correct.
Tollef Fog Heen opened a delayed queue on gluck a little while ago. My
.dupload.conf rune for this reads as follows:
if (exists $ENV{DEB_NMU_DELAY}) {
$delayed = "/DELAYED/$ENV{DEB_NMU_DELAY}-day";
}
# Tollef Fog Heen's DELAYED queue
$cfg{'tfheen-delayed'} = {
fqdn => "gluck.debian.org",
login => $ENV{DEBUSER} || getlogin() || $ENV{USER} || $ENV{LOGNAME},
incoming => "~tfheen$delayed",
dinstall_runs => 1,
method => "scpb",
};
I then do 'DEB_NMU_DELAY=7 dupload --to tfheen-delayed foo.changes'.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: