Debian Bug report logs - #1025814
dput-ng: dcut: taunting documentation about 0-day upload differences

version graph

Package: dput-ng; Maintainer for dput-ng is dput-ng Maintainers <[email protected]>; Source for dput-ng is src:dput-ng (PTS, buildd, popcon).

Reported by: Vagrant Cascadian <[email protected]>

Date: Fri, 9 Dec 2022 19:06:06 UTC

Severity: minor

Tags: moreinfo

Found in version dput-ng/1.33

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], dput-ng Maintainers <[email protected]>:
Bug#1025814; Package dput-ng. (Fri, 09 Dec 2022 19:06:08 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], dput-ng Maintainers <[email protected]>. (Fri, 09 Dec 2022 19:06:08 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Vagrant Cascadian <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dput-ng: dcut: taunting documentation about 0-day upload differences
Date: Fri, 09 Dec 2022 11:04:46 -0800
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], dput-ng Maintainers <[email protected]>:
Bug#1025814; Package dput-ng. (Sun, 11 Dec 2022 12:21:04 GMT) (full text, mbox, link).


Message #8 received at [email protected] (full text, mbox, reply):

From: Mattia Rizzolo <[email protected]>
To: Vagrant Cascadian <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: Bug#1025814: dput-ng: dcut: taunting documentation about 0-day upload differences
Date: Sun, 11 Dec 2022 13:19:57 +0100
[Message part 1 (text/plain, inline)]
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  `-
[signature.asc (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from Mattia Rizzolo <[email protected]> to [email protected]. (Sun, 11 Dec 2022 12:21:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:08:10 2025; Machine Name: buxtehude

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.