From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6607733288662466560 X-Received: by 2002:a50:a550:: with SMTP id z16-v6mr2570858edb.12.1538741349589; Fri, 05 Oct 2018 05:09:09 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:3553:: with SMTP id s19-v6ls1838419eja.6.gmail; Fri, 05 Oct 2018 05:09:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV639Ga1pLJZ08ORn5hk5ub255SRhUDXPmayqyAgnH5mssvjQZ69GYsMxmuDZ7saoMMzTvikw X-Received: by 2002:a17:906:b390:: with SMTP id o16-v6mr1384531ejz.14.1538741349150; Fri, 05 Oct 2018 05:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538741349; cv=none; d=google.com; s=arc-20160816; b=PZgu6pPTtbicNIUrLwLFIGNGqpOfFZsjjUwDbUksUgdE/2MJKYdNYx8f+o4MUs2WQn 4eYUk01BOL0D0SSgcBorKBGXVbIy/FkM1P10lo6qjpyuzyMz2J8KoBrsTe5nITqW7W9B fSOqnTX1ZYz0lLgtPw26sam8qgXCdwA5J2N3mRWJA0Wj7kNiAi+2AKgSZfd3BQ4HlDZt TaQheZHEUCCzai0eo1sxqocMEAcTVKU/vj6RRLm9Z5b/FMw87OdtEh8qq8GqB7SRqHFn Y8vDYIMVIX5STmQqQKToHX5Nn0btsGjXoabQRqlgO5Rpwa4qR+l6sc/ZanUF58J9bazg mv6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:subject:message-id:in-reply-to:references:to:user-agent:from :content-disposition:mime-version; bh=1X84ox1Kxa3e9y6kQmw7Iws7HT1cuYPhBMFIyLQOEq8=; b=Quvu2XM33PF02QYFE/JcKoiIayt/rPvUbOwBrjDpLEdKKq+UtrOHIu8dJb+oS0m1LA nk4dhT3QbtKNHmO+8VE0WtbIwzi4nibKtWO3k/tmCuh2gOGLQNeVsliWgaHI1LA8JwOW dikiuuiiHxZl1r70D/3J00Cc4PJEE6xEYzvGY4QJ1kVwANICvwWd1W+zjWikQRttIPFj RUfYwdOjWI9i4Llm1t+oA/oqGOpexOsuLRbqo2GhBVxe3BofL+jrMLCmsHBG5a8m68j3 wrD3FaSZGOVNdoco47QRCMxfDkE18R88n3l+HtkPGdDiZoqS7tmF90CM5DGu3il4buBa QV5A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id b23-v6si378652edn.1.2018.10.05.05.09.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 05:09:09 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of ch@denx.de) client-ip=212.18.0.10; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42RT7m5dKGz1qw01; Fri, 5 Oct 2018 14:09:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42RT7m5Qynz1qvlH; Fri, 5 Oct 2018 14:09:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id WOnXozFLdkHo; Fri, 5 Oct 2018 14:09:07 +0200 (CEST) X-Auth-Info: EGmvH5UiuwjLQuXYp+LDGtckwxEx2uNpfML9UmyXPyw= Received: from localhost (ipservice-092-217-103-050.092.217.pools.vodafone-ip.de [92.217.103.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 5 Oct 2018 14:09:07 +0200 (CEST) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha256"; boundary="===============1448953535487244781==" MIME-Version: 1.0 Content-Disposition: inline From: Claudius Heine User-Agent: alot/0.7 To: Baurzhan Ismagulov , isar-users@googlegroups.com References: <20181002121907.18476-1-mosipov@ilbers.de> <20181002121907.18476-10-mosipov@ilbers.de> <20181004090311.GA12890@yssyq.m.ilbers.de> In-Reply-To: <20181004090311.GA12890@yssyq.m.ilbers.de> Message-ID: <153874134595.16094.2206458362812855964@ardipi> Subject: Re: [PATCH 9/9] doc: Creation of local apt repo caching upstream Debian packages Date: Fri, 05 Oct 2018 14:09:05 +0200 X-TUID: R6VvhegoCloR --===============1448953535487244781== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Baurzhan, Quoting Baurzhan Ismagulov (2018-10-04 11:03:11) > On Tue, Oct 02, 2018 at 04:02:54PM +0200, Claudius Heine wrote: > > > +# Uncomment this to enable use of cached base repository > > > +#ISAR_USE_CACHED_BASE_REPO ?=3D "1" > > = > > No that doesn't make sense to me. > > = > > In my opinion its very important to not have such flags or commands. Ca= ching > > and reproducible builds should be the default operation, upgrading or > > removing the cache should be an extra step. > = > The first step is to provide the mechanism which is usable manually or > automatically. Defining policy and setting it as default is best done whe= n the > feature has been stabilized; I'd be reluctant to slap a new feature as de= fault > as soon as it is introduced. I'd suggest to address that in later steps. = That > said, the option doesn't take it away from you -- just set it to true in = your > configuration. Ok, but then the machanism should be designed that way so that this feature can be enabled all the time, and the build should work on the first= run with this setting enabled as well. > > Also please avoid those binary settings like `ISAR_USE_CACHED_BASE_REPO= `. > > That just bad design because it leads to every tiny setting having an o= wn > > variable. Use FEATURE variables with entries like: > > = > > `ISAR_BUILD_FEATURE =3D "cross-build use-cache ..."` > > = > > Yes cross-builds should have been done like this as well IMO. > = > Hmm, that's an interesting idea. Conceptually, I fail to see any differen= ce > from boolean vars: One still has boolean feature names for every tiny set= ting. If you do 'bitbake -e ..' you see all used features in one variable instead of searching for many different variables all over to find what features are enabled. > I personally don't like features since they are difficult to remove from > default settings. I don't know if I understand you correctly here. I think you meant that removing an entry from a variable is difficult. If that is the case, then you could just do: ISAR_BUILD_FEATURE_remove =3D "use-cache" As documented here: [1] If you meant something different, please explain further. Cheers, Claudius [1] https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-u= ser-manual.html#removing-override-style-syntax > = > = > With kind regards, > Baurzhan. > = > -- = > You received this message because you are subscribed to the Google Groups= "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to isar-users+unsubscribe@googlegroups.com. > To post to this group, send email to isar-users@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/isar-users/20181004090311.GA12890%40yssyq.m.ilbers.de. > For more options, visit https://groups.google.com/d/optout. -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153 Keyserver: hkp://pool.sks-keyservers.net --===============1448953535487244781== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEb/LlnwDGvCgx2GTBEXPLGZgIsVMFAlu3VFwACgkQEXPLGZgI sVOfdxAAgdOSOg1SJJtiuIBva41RvkcX2rSbEGbqBvIpmerOXt12vZkTmQaj0erf otXh+tjZD5GeU0YvARBNh+dGu3T+NFDqzS6p7AYYz2jr8gdWiMSLpnMC4UyMWDer 1J3dt5KHp/iQZSx7RCyhljqzdn5LMtiETufH7FZ4LfgzykcNrnuILrfvl3k7fdjO uVLfHFp44elFx2dNe34AR3JRCEJU4AkaeLoVu5vRU+vaOm7cavcxo7aJRDD3RcXD WEExtJUQy0Xdpl2ZKSVRCPBmflloNtSo/vQF6kNIfAWwaKsIIMG7HYdJPV+JgOP+ REoxOYw+z3BdJCV5ZhNrFC2HOV9tPLJUlHZO8Si91tQHbXmsQvV4xvMbYQKnBfU9 zDMEBUacPNYAH5CnGMGj1zje3LicWSB0HMTDObD6m7fXRn7snCGoB2CO41fRlIhc LZWtFszIgrrfDk+CRoWLEGj3EzCrYqx5ykuk7q8XpmGy7iL4JXrY9mw60oKkNBGM j9gLIdRsTECfDHMRBYDKB34V+OKGb4F07nGY9Xk4kNTWKM00jvFIpXQKQm73xWL2 mFiSRhylQJs6aZ9F6iOd2yoBDvr54IwxpPb3u6Fs9/IyuKBuHe+KeMwTs/BOt/Lh ZGBXq2N2v7qmNyW5LI97YFPyNY/k4Ff71ChUZq7O5zXGzO2ENKg= =hSnV -----END PGP SIGNATURE----- --===============1448953535487244781==--