Subject: debmirror: --rsync-extra should download the "extrafiles" file too

From: Raphaël Hertzog <[email-masked]>
Date: Fri, 21 Sep 2018 11:43:29 +0200

Package: debmirror
Version: 1:2.30
Severity: wishlist

Official Debian mirrors have a GPG-signed "extrafiles" file in their root
directory. This files lists many files that are present in the mirror
(including all those that can be retrieved via --rsync-extra) and there
are now tools that rely on this file (simple-cdd for example, see
#909299).

So it would be nice if debmirror could mirror that file... it could
possibly do it automatically as soon as the user indicated its desire
to download other extra files through use of "--rsync-extra". Or
it could be a new item among the list of items that can be passed
to this parameter.

I guess there should also be an option to say "mirror all files listed in
extrafiles". Feel free to clone this bug if you want to handle this
request separately.

-- System Information:
Debian Release: buster/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debmirror depends on:
ii  bzip2                    1.0.6-9
pn  libdigest-md5-perl       <none>
pn  libdigest-sha-perl       <none>
ii  liblockfile-simple-perl  0.208-1
ii  libwww-perl              6.35-2
ii  perl [libnet-perl]       5.26.2-7
ii  rsync                    3.1.2-2.2
ii  xz-utils                 5.2.2-1.3

Versions of packages debmirror recommends:
ii  ed     1.14.2-2
ii  gpgv   2.2.10-1
ii  patch  2.7.6-3

Versions of packages debmirror suggests:
ii  gnupg  2.2.10-1

-- no debconf information