Package: dput-ng
Version: 1.33
Severity: minor
X-Debbugs-Cc: [email protected]
From the dcut manpage:
-d, --days=DAYS
Reschedule the upload to DAYS days. Takes a
numeric argument from 0 to 15 corresponding to
the respective delayed queues. Note, 0-day is
not the same as uploading to incoming
straight.
So, 0-day is not the same as uploading directly, that much is clear, but
... how is it different? Does that mean I should not use 0-day? Where
is documentation about the differences? Does it really matter for any
practical purposes?
Maybe it would be better to provide some reference where to look for
more information, or if it doesn't really make much difference, just
leave the comment about 0-day not being the same out entirely.
Thanks for maintaining dput-ng!
live well,
vagrant
-- System Information:
Debian Release: 11.5
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), (13, 'testing'), (12, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64, i386
Kernel: Linux 5.10.0-19-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dput-ng depends on:
ii python3 3.9.2-3
ii python3-dput 1.33
dput-ng recommends no packages.
Versions of packages dput-ng suggests:
pn dput-ng-doc <none>
pn python3-twitter <none>
-- no debconf information
Control: tag -1 moreinfo
On Fri, Dec 09, 2022 at 11:04:46AM -0800, Vagrant Cascadian wrote:
> -d, --days=DAYS
>
> Reschedule the upload to DAYS days. Takes a
> numeric argument from 0 to 15 corresponding to
> the respective delayed queues. Note, 0-day is
> not the same as uploading to incoming
> straight.
>
> So, 0-day is not the same as uploading directly, that much is clear, but
> ... how is it different?
Well, uploading directly means uploading to ftp:/pub/UploadQueue/
whereas uploading to 0-day means uploading to
ftp:/pub/UploadQueue/DELAYED/0-day/ ...
(incidentally, that mention of "incoming" is also wrong: incoming is the
archive (hmm is it only a suite nowadays?) where uploads are accepted
*into* before dinstall; it has nothing to do with the uploading queues
AFAIK)
> Does that mean I should not use 0-day? Where
> is documentation about the differences? Does it really matter for any
> practical purposes?
Practical differences for the uploader however… I'm not really aware of
any indeed.
> Maybe it would be better to provide some reference where to look for
> more information, or if it doesn't really make much difference, just
> leave the comment about 0-day not being the same out entirely.
This part is quite old, and I'm not aware of the actual facts.
ISTR that word-of-mouth told me in the past that uploading to 0-day
would delay the upload for 1 queued run (i.e. 15 minutes if the
configuration hasn't changed), but this has never been proved to me, so
no idea really. I'm CCing debian-dak in the hope that somebody will
shine some light.
I have a nagging sensation that the answer lies in the code :>
https://salsa.debian.org/ftp-team/dak/-/blob/master/tools/debianqueued-0.9/debianqueued
if somebody wants to read and figure it out.
Note that it *is* relevant when rescheduling a delayed upload, as there
is no way with .commands files to move an upload from the /DELAYED/
directories into the main queue directory for immediate processing, so
rescheduling to 0-day is AFAIK the only way to make a deferred upload to
skip the rest of the wait.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
More about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.