From patchwork Wed Dec 8 21:59:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 738 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09DB1C433F5 for ; Wed, 8 Dec 2021 22:00:00 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web11.3087.1639000798795334904 for ; Wed, 08 Dec 2021 13:59:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RXbHLDoY; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id k37-20020a05600c1ca500b00330cb84834fso5226735wms.2 for ; Wed, 08 Dec 2021 13:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Xxcg3aWoo3tF3XVG/HIxkR0luOARuf7gLLld801GHok=; b=RXbHLDoYUV4orLJp0+oOXOOqtFChKG57jv3t+a+R93nob2anLlUC79byRcBxKCai1/ HRizdy91BtdOQZg+EFCKbYIak+1rdygWWwPuAsAdeeVctJ/jbel7kIJMufZ6LbFEYwks nUuMZVBZQ4NDWXSFsbJod4N/S+vJNoj0kumD1FCPsjdZV+ongeEIa2piG3YJ3hpB63Ol mDUNZE7jNJT6BdkhQ3A2QRCN7QmQozZk2De4DRWBiqO2r5yOtYy7PTA7mt31KnJOhZD5 d/FNZAQC104RdMKVCmVZpEMohCUyMtYeiWVc4T0CGiB+QByXYZGS6nWSDfNanREQ3AMu s7FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Xxcg3aWoo3tF3XVG/HIxkR0luOARuf7gLLld801GHok=; b=xVSvOPMIlAReWGRt4JYEfI9QF+6plIuYPLZ2G+CBPDfjfPDAbX81NECrE5FNMFsX3u 98a1oWANcpOSnBgmBh7q9xZSUechBJ/DZWCPOprSxQup4m/vwKhwd3o08rWD12EQ/750 1OAzwYlZWFA/Laa7QGcNTTrWtuTBR2vfwRJib7/m4kLMvDFKKJfnFYrDPudPX6OI6Ky9 wZ3L77xtMUQLJtwqo8u3gczny7BtjmzMJPp16NlkC81SuWDyneF9iOziXKo5M6Asep1n E6DQTuxofEnzGDOqtFydkBu+hCRRxEoVHTOiaMaEw2xtkKj2VxWdmRvoEhptNd7v7GNl JQ2w== X-Gm-Message-State: AOAM533ElhCadLwCosnjbg9C/7ivm0LjCTr/5h3XgnHzUeABuUN+gyKW XMAWk2L0Xmuj1WcHF8zDezjPao6FcHMCNw== X-Google-Smtp-Source: ABdhPJx8EFqcC7+3KGDjbfoKRjWJeuOOK2gurwJfyVwjbGxjAeRWMDOkdD4Z+qkoBcX8gLKQ7OQiHA== X-Received: by 2002:a05:600c:299:: with SMTP id 25mr1839348wmk.77.1639000797099; Wed, 08 Dec 2021 13:59:57 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id c6sm9177170wmq.46.2021.12.08.13.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 13:59:56 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 01/29] fetch: add a test for version check where compression changes Date: Wed, 8 Dec 2021 22:59:19 +0100 Message-Id: <20211208215947.1979470-1-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 08 Dec 2021 22:00:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/159367 Signed-off-by: Alexander Kanavin --- .../debian/pool/main/m/minicom/index.html | 59 +++++++++++++++++++ bitbake/lib/bb/tests/fetch.py | 6 ++ 2 files changed, 65 insertions(+) create mode 100644 bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html diff --git a/bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html b/bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html new file mode 100644 index 0000000000..4a1eb4de13 --- /dev/null +++ b/bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html @@ -0,0 +1,59 @@ + + + + Index of /debian/pool/main/m/minicom + + +

Index of /debian/pool/main/m/minicom

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ICO]NameLast modifiedSize

[PARENTDIR]Parent Directory  -
[   ]minicom_2.7-1+deb8u1.debian.tar.xz2017-04-24 08:22 14K
[   ]minicom_2.7-1+deb8u1.dsc2017-04-24 08:22 1.9K
[   ]minicom_2.7-1+deb8u1_amd64.deb2017-04-25 21:10 257K
[   ]minicom_2.7-1+deb8u1_armel.deb2017-04-26 00:58 246K
[   ]minicom_2.7-1+deb8u1_armhf.deb2017-04-26 00:58 245K
[   ]minicom_2.7-1+deb8u1_i386.deb2017-04-25 21:41 258K
[   ]minicom_2.7-1.1.debian.tar.xz2017-04-22 09:34 14K
[   ]minicom_2.7-1.1.dsc2017-04-22 09:34 1.9K
[   ]minicom_2.7-1.1_amd64.deb2017-04-22 15:29 261K
[   ]minicom_2.7-1.1_arm64.deb2017-04-22 15:29 250K
[   ]minicom_2.7-1.1_armel.deb2017-04-22 15:29 255K
[   ]minicom_2.7-1.1_armhf.deb2017-04-22 15:29 254K
[   ]minicom_2.7-1.1_i386.deb2017-04-22 15:29 266K
[   ]minicom_2.7-1.1_mips.deb2017-04-22 15:29 258K
[   ]minicom_2.7-1.1_mips64el.deb2017-04-22 15:29 259K
[   ]minicom_2.7-1.1_mipsel.deb2017-04-22 15:29 259K
[   ]minicom_2.7-1.1_ppc64el.deb2017-04-22 15:29 253K
[   ]minicom_2.7-1.1_s390x.deb2017-04-22 15:29 261K
[   ]minicom_2.7.1-1+b1_amd64.deb2018-05-06 08:14 262K
[   ]minicom_2.7.1-1+b1_arm64.deb2018-05-06 07:58 250K
[   ]minicom_2.7.1-1+b1_armel.deb2018-05-06 08:45 253K
[   ]minicom_2.7.1-1+b1_armhf.deb2018-05-06 10:42 253K
[   ]minicom_2.7.1-1+b1_i386.deb2018-05-06 08:55 266K
[   ]minicom_2.7.1-1+b1_mips.deb2018-05-06 08:14 258K
[   ]minicom_2.7.1-1+b1_mipsel.deb2018-05-06 12:13 259K
[   ]minicom_2.7.1-1+b1_ppc64el.deb2018-05-06 09:10 260K
[   ]minicom_2.7.1-1+b1_s390x.deb2018-05-06 08:14 257K
[   ]minicom_2.7.1-1+b2_mips64el.deb2018-05-06 09:41 260K
[   ]minicom_2.7.1-1.debian.tar.xz2017-08-13 15:40 14K
[   ]minicom_2.7.1-1.dsc2017-08-13 15:40 1.8K
[   ]minicom_2.7.1.orig.tar.gz2017-08-13 15:40 855K
[   ]minicom_2.7.orig.tar.gz2014-01-01 09:36 843K
[   ]minicom_2.8-2.debian.tar.xz2021-06-15 03:47 14K
[   ]minicom_2.8-2.dsc2021-06-15 03:47 1.8K
[   ]minicom_2.8-2_amd64.deb2021-06-15 03:58 280K
[   ]minicom_2.8-2_arm64.deb2021-06-15 04:13 275K
[   ]minicom_2.8-2_armel.deb2021-06-15 04:13 271K
[   ]minicom_2.8-2_armhf.deb2021-06-15 04:13 272K
[   ]minicom_2.8-2_i386.deb2021-06-15 04:13 285K
[   ]minicom_2.8-2_mips64el.deb2021-06-15 04:13 277K
[   ]minicom_2.8-2_mipsel.deb2021-06-15 04:13 278K
[   ]minicom_2.8-2_ppc64el.deb2021-06-15 04:13 286K
[   ]minicom_2.8-2_s390x.deb2021-06-15 03:58 275K
[   ]minicom_2.8.orig.tar.bz22021-01-03 12:44 598K

+
Apache Server at ftp.debian.org Port 80
+ diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index dc45eb2e13..6b77afe5f1 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py @@ -1346,6 +1346,12 @@ class FetchLatestVersionTest(FetcherTest): # http://ftp.debian.org/debian/pool/main/d/db5.3/ ("db", "/berkeley-db/db-5.3.21.tar.gz", "/debian/pool/main/d/db5.3/", r"(?Pdb5\.3_)(?P\d+(\.\d+)+).+\.orig\.tar\.xz") : "5.3.10", + # + # packages where the tarball compression changed in the new version + # + # http://ftp.debian.org/debian/pool/main/m/minicom/minicom_2.7.1.orig.tar.gz + ("minicom", "/debian/pool/main/m/minicom/minicom_2.7.1.orig.tar.gz", "", "") + : "2.8", } @skipIfNoNetwork()