From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7195569008379166720 X-Received: by 2002:a67:ef89:0:b0:3ea:aa81:5fae with SMTP id r9-20020a67ef89000000b003eaaa815faemr1561977vsp.22.1675377924794; Thu, 02 Feb 2023 14:45:24 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1f:2dc5:0:b0:3e1:ac74:4df7 with SMTP id t188-20020a1f2dc5000000b003e1ac744df7ls542640vkt.10.-pod-prod-gmail; Thu, 02 Feb 2023 14:45:23 -0800 (PST) X-Google-Smtp-Source: AK7set+1DjKAFd7BUMum9WfmCl85eWc02DZc1tdsPcetUmGRbLgxFi1pmL+Cqkyai1DUGIfZUDZP X-Received: by 2002:a05:6122:65a:b0:3ea:8d22:bc9c with SMTP id h26-20020a056122065a00b003ea8d22bc9cmr4077013vkp.7.1675377923332; Thu, 02 Feb 2023 14:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675377923; cv=none; d=google.com; s=arc-20160816; b=aYE59QknUq6cpK3/XwtqJBHmw3+MZNzQbYRJApH/6Aj2+VLmzX2w2QaiBGMLCNLYSD hkrsbiunYm9fFBn3UJX3b0/AZv2UR9CWcWS/A4XA9hzI3M5UCTt8Y2lwQ8FBGYKLO04P 29gs3XrNZjMB167LYZbCBwGB2j8vzZKpiazlwuqttiqW9nvBCDmvnoPJO9B08F+AoE9s KkcXai2ro91cY+V7HJ43YWFsSAYV6ZiZum0jjvsGh9uZ6W7JdxaJNmEcoEDbki6qlPID SUUvxn5Z8Eezcmry+tYkns50uVolcc+pZ34gfvMcR0Eg8xaMzOlO1mllhlspEnFkDWE3 gE6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Ybyt0KeuDz7VASaoxZg2+63S/Tqh42RzkWrpb1txnIY=; b=w8ChUYSKJcrfA2iZ3TyoVJGjjzc3dstoFDAODXmqhz0xiyJ2FWwPrm0PqV1mL4bEZl ObJGj/g6BJ4QT+9c0vPEPn8R1AcyKPj3rVuwdq4r06aHuXQPOI5+Aa9WjEckMUAGBS/v wGU0uDSHnLTCDneggtwDOLAi9BWc9k+OtGHm7x+AjM2DpAzexip1lCbbPz5wtBGCR/mo j+cJHUhrWCV8EQmvSMpl7UZMG8lou3DrMU6w3nwIf5gfVG/aT7Aicv4MokoMwMeKnARq Kbd6JeppYC5xlMas1Vh3p1T5huoL6bmp2Q2rO3tEF8eEgmCz7FtYhm1cHnfu+SHRIbbm 7OGA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WsWvfD7T; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com. [2607:f8b0:4864:20::836]) by gmr-mx.google.com with ESMTPS id d27-20020a05612212db00b003e1874cbfc8si44976vkp.4.2023.02.02.14.45.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Feb 2023 14:45:23 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::836 as permitted sender) client-ip=2607:f8b0:4864:20::836; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WsWvfD7T; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qt1-x836.google.com with SMTP id bb40so3760579qtb.2 for ; Thu, 02 Feb 2023 14:45:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ybyt0KeuDz7VASaoxZg2+63S/Tqh42RzkWrpb1txnIY=; b=WsWvfD7TJ8jxMQDeq7xFCr6Wnib11mX4Qnvdb4N6gSSettoa+O9hyYTl6TWgBrR2ES Om3T8M4AeX0TlUxSDEil8gxNHaEg3cfVwss7KrK/qh47Se2Ix4664WIwj9l36+O5vDIM fxugCWhgab1eK1H4pqpVpi4y42TpKgbwVOXzvtOcYwGtdEsCxzUOyXb+cw1OIbNQpQYM 4NeA8bexHLYOTpsqfQpDivLXlz1ftOrsojcU6e6t39cy/9EY/SyescEBjfnPJLmW4GSZ b2FHFY46az4TgS8azTNckGK0356Vbbh38AXoivro+rit5OBIXFUsoFno6kfjA/1GHFrk CF/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ybyt0KeuDz7VASaoxZg2+63S/Tqh42RzkWrpb1txnIY=; b=PSSw9y1ABgZti8/Xzcz9wt50B4blyfFqIN6gpnqepB9bAWYRj8Wc2jJCbbQ61/6TuY 07LyLj3dcpBPXqRPPL9Qo7iok4s5ch/yweKxmnPBAkVHAea54XBSF8xM0GB2Vs8wE5C2 Q07CIEOSl3TnpZpZQQDAs44MOgLQZ0xopuDkLx0n84IZWmAONBvDQ3upnp6jIWetzB3Y v/EFzT6W6LoObpuEoJ+t23mspuw2GwS5BuoHaVypEcSnjs4AmjIf7NDvoB7rExCqqXI4 ZnmNe4gW+T4xRLl/14hfRbrtmfCdH9HdleP7SKQm/BLCSinl3Lyxk+ypvvOuK7Xk3sX2 hckQ== X-Gm-Message-State: AO0yUKUVKZb9v1StaRjFiI6xAQFxkR8lJ7cydGYe+bba9Hun34171TeY tVI+Ek3vq6QALE3qSCla/Ag6RaYj8cgFhsrZJs1a0QbHlA== X-Received: by 2002:a05:622a:1043:b0:3a8:ede:4d62 with SMTP id f3-20020a05622a104300b003a80ede4d62mr950637qte.42.1675377922972; Thu, 02 Feb 2023 14:45:22 -0800 (PST) MIME-Version: 1.0 References: <51601d94-280d-b903-785c-3bef73f75fb1@siemens.com> <20230202211419.4188241f@md1za8fc.ad001.siemens.net> In-Reply-To: <20230202211419.4188241f@md1za8fc.ad001.siemens.net> From: "Roberto A. Foglietta" Date: Thu, 2 Feb 2023 23:44:46 +0100 Message-ID: Subject: Re: [PATCH] Revert "dpkg: sbuild allows extra arguments via DPKG_SBUILD_EXTRA_ARGS" To: Henning Schild Cc: Jan Kiszka , isar-users , Uladzimir Bely Content-Type: text/plain; charset="UTF-8" X-TUID: ByRngZX8yzJC On Thu, 2 Feb 2023 at 21:14, Henning Schild wrote: > > Am Thu, 2 Feb 2023 20:06:12 +0100 > schrieb "Roberto A. Foglietta" : > > > On Thu, 2 Feb 2023 at 15:42, Jan Kiszka > > wrote: > > > > > > From: Jan Kiszka > > > > > > This reverts commit 6d5fbbab9c9e3c894cbc9cf18180fb0057f82f20. > > > > > > There are no concrete use cases for this interface known. Adding it > > > without an idea what it should be good for can create downstream > > > problems as the class evolves and also motivate inappropriate use of > > > this low-level interface in recipes. > > > > Open-source is about empowering the users and unless illegal use of > > it, there is no any reason to judge the use they do of it. It is hard > > to think that a variable would motivate an "inappropriate use" unless > > the user did not find a way to address a problem and the go to look in > > that class. At that point, it might find a quick solution in that > > variable without the need of overload the entire class in the top > > layer and modify the class loosing the upstream updates. I agree that > > there is no reason to documenting that variable. It is > > self-explanatory and quick to identify for those get deep into the > > dpkg class. > > All EXTRA_ARGS switches are very dangerous because they allow very > unintended hacks. We have several of them and some of them have caused > some serious fun. Especially if people use them "code-injection-style" > > like EXTRA = "; true; sudo fun" > Some people might play funny tricks in their projects and no one could prevent this but what has to do with ISAR? Why do we need to worry about that? Overloading the class or function would not allow them to play any trick they want? They can append or prepend whatever they want in every class and every function they want. Why are extra arguments variables such a problem and :append or :prepend or .bbclassappend are not? Best regards, R-