Devuan bug report logs - #625
amprolla generates InRelease without arch:all

version graph

Package: amprolla; Maintainer for amprolla is Devuan Developers <devuan-dev@lists.dyne.org>;

Reported by: Boian Bonev <bbonev@ipacct.com>

Date: Sun, 24 Oct 2021 00:52:02 UTC

Severity: normal

Found in version chimaera

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #15 received at 625@bugs.devuan.org (full text, mbox, reply):

Received: (at 625) by bugs.devuan.org; 25 Oct 2021 17:00:02 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 25 Oct 2021 17:00:02 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 5BFBDF60C5C
	for <625@bugs.devuan.org>; Mon, 25 Oct 2021 18:52:31 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1mf3D4-0005tx-DX
	for 625@bugs.devuan.org; Mon, 25 Oct 2021 17:52:30 +0100
Received: (nullmailer pid 23201 invoked by uid 1000);
	Mon, 25 Oct 2021 16:52:30 -0000
Date: Mon, 25 Oct 2021 17:52:30 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: 625@bugs.devuan.org
Subject: Re: bug#625: amprolla generates InRelease without arch:all
Message-ID: <YXbgzmgAT0QDrsU9@hindley.org.uk>
References: <mailman.522.1635036726.1807.devuan-bugs@lists.dyne.org>
 <YXUFdocUwBMyYjOH@hindley.org.uk>
 <e9444d1fca48086c67db76d1d033e005ab0d0e72.camel@ipacct.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="V9HfQo3fysRZ318d"
Content-Disposition: inline
In-Reply-To: <e9444d1fca48086c67db76d1d033e005ab0d0e72.camel@ipacct.com>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
[Message part 1 (text/plain, inline)]
Boian and Ralph,

Thanks. I think I understand this now. Documenting it here, so we have it as a
reference.

Previously arch:all packages were included in arch specific index files (both
Packages and Contents). Obviously that is a duplication and from the Bullseye
cycle Debian has moved to reduce that duplication.  This requires clients to use
arch:all indicies directly, for which 'all' has to be included in the Release
Architectures (as Boian pointed out).

However, so this can be done in stages, the 'No-Support-for-Architecture-all:
Packages'[1] header was introduced which temporarily excludes Packages indicies
from the migration.

The inclusion of 'all' in Architectures is controlled in DAK by the per-suite
separate_{package,contents}_architecture_all options.

If we set

 separate_package_architecture_all=no
 separate_contents_architecture_all=yes

in DAK, we get 'all' added to Release Architectures and also
'No-Support-for-Architecture-all: Packages'. WHen merging, amprolla can then
test for 'all' in Devuan's DAK Release file and propagate that and the
No-Support-for-Architecture-all header to the merged Release file.

I prefer this approach as it keeps the configuration of this in a single place
(DAK) and doesn't change the behaviour for older releases (beowulf and earlier)
that still have dupicated arch:all.

Patch to be tested attached. I will change the config of ceres so it can
be tested.

Any comments/problems anybody can see?

Thanks

Mark

[1]  https://wiki.debian.org/DebianRepository/Format#No-Support-for-Architecture-all

[0001-Include-all-in-Release-architectures-if-it-is-config.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Apr 26 19:58:07 2024;