From patchwork Fri Nov 22 05:48:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "cedric.hombourger@siemens.com" X-Patchwork-Id: 229 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 22 Nov 2024 06:48:45 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oa1-f57.google.com (mail-oa1-f57.google.com [209.85.160.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AM5mi9u016356 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 22 Nov 2024 06:48:45 +0100 Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-29679484764sf1655341fac.1 for ; Thu, 21 Nov 2024 21:48:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732254518; cv=pass; d=google.com; s=arc-20240605; b=TsyMrsylWXONI23ntorrX1qAd1DnCfcay/L5U5J2ovoRwv32L1/vqt9g4p4DBo6+Op cyi7SvUsdQKzARtOr8ZEK8TO8bszycENLks3dNospRJ6ilHNeB4By1Dc251VbiskZI0h 2vt+UxGKXKVq3gXVGJHPeGAhxPXgY6Wi1ILyK7vh54wH8WuYlVizFF/U5WvFUIsNWHtm DtvwHUuCW6ynD4o2wigDGwCwtAmGZvC+zyRBXT4lFS0T1sLE1BKZ4+XGCrUtLB5XBbj2 UE+eRWzQ4xYxdKdmWFqDkaFFVn4wtEaEBwDf2ZbZk2gsUwARaAX9vFQT2X84Jzk5f+/s 1eFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KcCrBrynXrcFygZSEF1DBLTDWflkpRNBIgoyBtwAZTQ=; fh=g6AymwBCgBqAQJ1/GpOc41dnjLYRDKfU7NB/8vqMsdk=; b=Os9uRHupCT5hnPSq5iH02F0072yX9k00gWZf7TWCRz7Hw6236SDC68Z2G2qahUt6tR W1FCNQCRv0DEBeLhI8xQTp0+sAkhp1sFeyD9kqJ7F/tC590EIzRoVs8cm9oJ8loHdCaI jVniN3ZyN6nqUn4RFP/EhNwxxkmpIAWdqcFDDF6DZVZ/fo/ehn5RTnvngHeoUjHfBUew GJw3lYgb/D26eq9+QPi5vxgUvLfRnPNB6+DW38IHSgCNQaLuvUXV6Eeqy2Gozdw/GvBe XWQIB+VVut5p9FvRauTw0OXv9a7+2ht8iuA4VmA6fVNV1+GpjB1+ryHvkOevC5fFOgBx zS0g==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=VREhi5FR; spf=pass (google.com: domain of fm-1212295-202411220548352270d81d0c038a84df-1uomut@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-1212295-202411220548352270d81d0c038a84df-1uoMut@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1732254518; x=1732859318; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=KcCrBrynXrcFygZSEF1DBLTDWflkpRNBIgoyBtwAZTQ=; b=bD+f2Zp0xgs1MFYUepVUYnx/Tg2w2TENXpZmlpBeSajWmH9/9dpMAZwbNgUVl/Ss/5 HM+wHQ9UBfW9ft943S19KLWsDZHGWYs1v7uE4F/QZUJREU67ZIFiY9r95ekhBhuWPSGf Cz6XQedP/PKme8wDNtY54XlYyvUVEtk6Vtw4fTElDtpn/+g5K67GAZO8dW821SXt64kL 9UH3dg4eXOlthNbW1nMImxcd8+t+Y39CYG5X1MFsh9PNfUzjL96KsJodri3rqh/yygLZ doRmSv/CAgkBJd75meD1nnze6he8+FKoXnGZBujWYdNlR56trlYxyUOWG0Cny0rGDFku VeEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732254518; x=1732859318; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KcCrBrynXrcFygZSEF1DBLTDWflkpRNBIgoyBtwAZTQ=; b=YE0gL9mG8TMSj07Tjm4uA3xZdxpXOn1Ln/Cl7GlBgzk8cdJ40cltJwlMfieKAbgMke VT9+qxkIpYBCHeUsAamxjvzJhlfzbIHkXL9GQcKpt6nVAcVwX/88AtWUhteK5d6KXOTZ QWMoDYLvwIDmkhlRkvOXrLm9idSrTyMefqf9W65Ja9qhY3IuD09s9fpV7FGX2VT1r4gd Ger3KEO83bQMbFV87i4cFrqx8PkV326u+3Zj6U295WrDUqt6/cCD1s7O9TaAvzOloiX5 MXBpel1/o9Q+0t4fnwjwcL2tDbB7mPpnfDfSsnycY4eCQa7ijVABaP/keHj0iderE0fe x5wA== X-Forwarded-Encrypted: i=2; AJvYcCWoMEIYvtnXZqwKeHvbAxOE3ovoQWJd5IVMND3/X0SLYWiTXcwAE7ocGWZHHurua6GLtuZLD18=@isar-build.org X-Gm-Message-State: AOJu0YwTJtYTc6cIoG0RzPHhdqwTn+NreCkdHC+aPcFWBbCfYS8aCK+h BzSzIB0Ct7yuIZCx76Dg5rknRqMqew0mgHxDJ7IDoYAFpdyMcPT4 X-Google-Smtp-Source: AGHT+IH9Sg2aSsacf052pexLHabi5musv8mhA9U2Bsr0k2HOElSwx6UsETdbrgBkSUGGocPgj9zbsg== X-Received: by 2002:a05:6870:c990:b0:296:e166:bb3d with SMTP id 586e51a60fabf-29720edd343mr1612398fac.32.1732254518317; Thu, 21 Nov 2024 21:48:38 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:8190:b0:288:4a7a:3e88 with SMTP id 586e51a60fabf-296fcca2d10ls1425071fac.2.-pod-prod-04-us; Thu, 21 Nov 2024 21:48:37 -0800 (PST) X-Received: by 2002:a05:6870:5306:b0:259:88b4:976 with SMTP id 586e51a60fabf-29720fed022mr1615330fac.43.1732254517249; Thu, 21 Nov 2024 21:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732254517; cv=none; d=google.com; s=arc-20240605; b=LZ88Zf9bfVwdoPv9tVwGMb2k3chZIfr64KZhawiRbTa3YU9j+EjqVhGH+3aR+H80Ry m0n5c5/PMmh5eMLXXOGWBm+3wQ0Ccl+wgrH4iWv+lW1WCDCE2pcxFgZHtS4L08D8ZRi9 7rcpaAx/cTFkTNyQZvGU51OLKqyuQGZEPQK7ZJ7flUPYmuVI16tdRwWDRWw8sfqbmjcX hs6/5WkulWCLCdrCWmz0E3ClDLsvcO41XusWoCYq01c1ZjJn7meB7QTQ7pnyCaAuHQnl bSgOHlSCEeJ2IdA5SoiwcJIhkQkE6rHXOB9k9OD5Fihyn2t8euq8E4hg/z51sW6pSdSE Nh/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=XZiVF2X0BHKRGweebsnS8LbTm16YCKFH+FE9vBWWRLw=; fh=1z37pEVhqwMLlkT4FDzOga7XBsM6Rzv6sXOq0pipxqo=; b=hLxU4ck9Dw0u8LFSqEfSz6GLhVW6CfsE4CQTrrTMHKRb0cr3HQyJfRhxkQDfpafcSn SAM6lHchwWSkHb08gsSB2PR/ZqUAm/zqUAbpUXR2Sor9dI+fK7/nIOD7P/6bn5q0q9vE 5YxjNlcN6LVeSZAh07eurA+mDQrsFOCRKNtu/y1l6SEcI3eTlrhsBTI5ZZBiUGxmoGf/ WLXR1Rop1SarUTnNzBQ1hBu36AMr4xReNAUNzukz/p7cu6AiJ8ficBeF6Y7bwCjNtf1t xyL3Xt1oDPWkHb7dCFuBgQq8VqFhq6k+1RF1l0F02jkrIOyzmqimWQwe7bFJG2QIJJCi aMsA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=VREhi5FR; spf=pass (google.com: domain of fm-1212295-202411220548352270d81d0c038a84df-1uomut@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-1212295-202411220548352270d81d0c038a84df-1uoMut@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-228.siemens.flowmailer.net (mta-65-228.siemens.flowmailer.net. [185.136.65.228]) by gmr-mx.google.com with ESMTPS id 006d021491bc7-5f06980eb66si42101eaf.1.2024.11.21.21.48.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Nov 2024 21:48:37 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1212295-202411220548352270d81d0c038a84df-1uomut@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) client-ip=185.136.65.228; Received: by mta-65-228.siemens.flowmailer.net with ESMTPSA id 202411220548352270d81d0c038a84df for ; Fri, 22 Nov 2024 06:48:35 +0100 X-Patchwork-Original-From: "'Cedric Hombourger' via isar-users" From: "cedric.hombourger@siemens.com" To: isar-users@googlegroups.com Cc: Cedric Hombourger Subject: [PATCH 0/3] repository: small fixes for repo_{contains,del}_packages Date: Fri, 22 Nov 2024 06:48:13 +0100 Message-Id: <20241122054816.3371334-1-cedric.hombourger@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1212295:519-21489:flowmailer X-Original-Sender: cedric.hombourger@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=VREhi5FR; spf=pass (google.com: domain of fm-1212295-202411220548352270d81d0c038a84df-1uomut@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-1212295-202411220548352270d81d0c038a84df-1uoMut@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Cedric Hombourger Reply-To: Cedric Hombourger Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= repo_del_package should only remove binary packages (.deb), not previously added source packages. repo_contains_package should not assume that the name of downloaded .deb files will match filenames used by reprepro. Cedric Hombourger (3): repository: repo_del_package should not remove source packages repository: align repo_contains_package signature with other repo functions repository: make repo_contains_package query the package database meta/classes/repository.bbclass | 40 ++++++++++++++++------ meta/recipes-devtools/base-apt/base-apt.bb | 5 ++- 2 files changed, 34 insertions(+), 11 deletions(-)