Bug#1031782: Please don’t enforce --allow-dist-rename

2023-03-07 Thread Stefano Rivera
Control: found -1 debmirror/1:2.37

> Trying to mirror several suites from extended-lts currently fails with
> the following output.

I can reproduce that with:
$ debmirror --method=http -h deb.freexian.com -r extended-lts -d \
  stretch,stretch-lts --keyring=/root/archive-key.gpg \
  --rsync-extra=none freexian-mirror --exclude='.*' --include='apache2' \
  --omit-suite-symlinks -v

It works if I *only* mirror stretch or stretch-lts, but not the pair of
them into the same archive.

stretch has this in InRelease:

Origin: Freexian
Label: Freexian-Extended-LTS
Suite: stretch
Codename: stretch
Version: 9
Date: Mon, 06 Mar 2023 14:55:10 UTC
Architectures: amd64 i386 armhf
Components: main contrib non-free
Description: Debian 9 Stretch

stretch-lts has this in InRelease:

Origin: Freexian
Label: Freexian-Extended-LTS
Suite: stretch
Codename: stretch-lts
Version: 9
Date: Mon, 06 Mar 2023 14:55:34 UTC
Architectures: amd64 i386 armhf
Components: main contrib non-free
Description: Extended LTS Updates for Debian 9 Stretch

I repeat these in the bug, because Freexian is considering changing this
metadata to avoid breaking tools like debmirror here. So it may not be
reproducible with Freexian Extended LTS for much longer.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Bug#1031782: Please don’t enforce --allow-dist-rename

2023-02-22 Thread David Prévot
Package: debmirror
Version: 1:2.35+deb11u1
Severity: normal
X-Debbugs-Cc: dpre...@evolix.fr

Hi,

Trying to mirror several suites from extended-lts currently fails with
the following output.

> The directory for a dist should be its codename, not a suite.
> Use --allow-dist-rename to have debmirror do the conversion automatically.

Using --omit-suite-symlinks unfortunately does not allow to bypass the
rename_distdir() call, so I had to comment those checks in order to
mirror extended-lts containing directory $suite and $suite-lts (e.g.,
stretch and stretch-lts) both set with “Suite: $suite” (e.g., Suite:
stretch).

Regards

David


signature.asc
Description: PGP signature