From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1206C35FFA for ; Wed, 19 Mar 2025 11:19:49 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.920286.1324496 (Exim 4.92) (envelope-from ) id 1turSU-0007c4-Sd; Wed, 19 Mar 2025 11:19:38 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 920286.1324496; Wed, 19 Mar 2025 11:19:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1turSU-0007bx-OK; Wed, 19 Mar 2025 11:19:38 +0000 Received: by outflank-mailman (input) for mailman id 920286; Wed, 19 Mar 2025 11:19:38 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1turST-0007br-Vq for xen-devel@lists.xenproject.org; Wed, 19 Mar 2025 11:19:38 +0000 Received: from mail177-1.suw61.mandrillapp.com (mail177-1.suw61.mandrillapp.com [198.2.177.1]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 098a4657-04b4-11f0-9ffa-bf95429c2676; Wed, 19 Mar 2025 12:19:35 +0100 (CET) Received: from pmta14.mandrill.prod.suw01.rsglab.com (localhost [127.0.0.1]) by mail177-1.suw61.mandrillapp.com (Mailchimp) with ESMTP id 4ZHmSk2rldzBsV1sl for ; Wed, 19 Mar 2025 11:19:34 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id c829fb28c761432fa62736717d7fa88d; Wed, 19 Mar 2025 11:19:34 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 098a4657-04b4-11f0-9ffa-bf95429c2676 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1742383174; x=1742653174; bh=QZlgajSwl2RyvJxOJcrVQvdG5kLVYpqv9rSSpBokbkc=; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=j4n/Fp+awWbp8DNH4qJqAUBHUPopke+68uM+FyFHaJ+Ujcoiplsa0ya8EbotfbdlT nPN2hDculpZQuPuL6Z+g4KpIQbrE2m9cEPC87YC2BhZ7prqjB2G2CSydogfal7hryw vj3CSzXvAxmankdSsofax/zbvcQDG3whWU1kj8ob/NfxhuTcA01rxKLAK6e34ryGAi V90Yz8aaov2Lpr5eaQg1yYQHE2F6Z7nvvA2RlrzFnJTjHMCXVKh0s07czZvAnLGRzY tgvmOl/mIiAnfnt+addiiGicXYBZ4N+kZ401c+fw3bL5QSEk3LTAqvHhbGFeQdSo1B OPM5+KrjWrnTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1742383174; x=1742643674; i=anthony.perard@vates.tech; bh=QZlgajSwl2RyvJxOJcrVQvdG5kLVYpqv9rSSpBokbkc=; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=s10mKYcdhoeeDjDSskJLQp7MFjVrWEVpvMsdM9T7b9P9f4/Sx2KNAQqnjOsXZV+o6 emEnQF5fMy6ms031fA9kvSdr1S+0fiRlOp9eUgYheu7WoJ7BxuDhK+gUztL34Xr+9L oCzxIVAyLy1XG2CQrRNxdVQEmfcHhCpAGKW9v2jeuQhYdOpUBgWoO5eky6+Q0RX6Tn /I6oS0vMnvv3tNSMGShsoppKSvIeITxJnAQtX0YNnSUoArK6H427FQHeeQRMeHwURd G7pKSgaNn5w1f0HyUsfY7NOQjfZVpx9rt3aqW2qQliEkJdQYyEbtrfhVeEUCW3cJ6E Lr0RmZZUsDj8Q== From: "Anthony PERARD" Subject: =?utf-8?Q?Re:=20[PATCH=20v1=201/2]=20docs/xen-headers:=20use=20alphabetical=20sorting=20for=20@incontents?= X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1742383171925 To: "=?utf-8?Q?Marek=20Marczykowski-G=C3=B3recki?=" Cc: xen-devel@lists.xenproject.org, "=?utf-8?Q?Fr=C3=A9d=C3=A9ric=20Pierret=20(fepitre)?=" , "Andrew Cooper" , "Michal Orzel" , "Jan Beulich" , "Julien Grall" , "=?utf-8?Q?Roger=20Pau=20Monn=C3=A9?=" , "Stefano Stabellini" Message-Id: References: <09f34b27d576d1067cc38eaa202aebebb0478cff.1742317309.git-series.marmarek@invisiblethingslab.com> In-Reply-To: <09f34b27d576d1067cc38eaa202aebebb0478cff.1742317309.git-series.marmarek@invisiblethingslab.com> X-Native-Encoded: 1 X-Report-Abuse: =?UTF-8?Q?Please=20forward=20a=20copy=20of=20this=20message,=20including=20all=20headers,=20to=20abuse@mandrill.com.=20You=20can=20also=20report=20abuse=20here:=20https://mandrillapp.com/contact/abuse=3Fid=3D30504962.c829fb28c761432fa62736717d7fa88d?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20250319:md Date: Wed, 19 Mar 2025 11:19:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Mar 18, 2025 at 06:01:56PM +0100, Marek Marczykowski-G=C3=B3recki w= rote: > From: Fr=C3=A9d=C3=A9ric Pierret (fepitre) > > It makes the build reproducible with fileordering flags > > Signed-off-by: Fr=C3=A9d=C3=A9ric Pierret (fepitre) > --- > docs/xen-headers | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/xen-headers b/docs/xen-headers > index 8c434d77e20e..98ffe814500b 100755 > --- a/docs/xen-headers > +++ b/docs/xen-headers > @@ -331,7 +331,7 @@ sub output_index () { >

Starting points

>
    > END > - foreach my $ic (sort { $a->{Seq} <=3D> $b->{Seq} or $a->{Title} cmp = $b->{Title} } @incontents) { > + foreach my $ic (sort { $a->{Href} cmp $b->{Href} } @incontents) { Why is `Seq` been ignored? As I understand, the index is supposed to use it as first ordering key. Comment in that same file: # extra syntax: # `incontents ... # make a table of contents entry; they # will be sorted by increasing seq, and # shortname will be used as the anchor tar= get Also, we already have a fix for reproducible build: e18dadc5b709 ("docs: use predictable ordering in generated documentatio= n") Would it be enough to replace `Title` by `Href` for the second sorting key instead? Thanks, -- Anthony Perard | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech