From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6662603828652670976 X-Received: by 2002:a1c:c00c:: with SMTP id q12mr255444wmf.5.1551779606337; Tue, 05 Mar 2019 01:53:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:eb09:: with SMTP id s9ls4047145wrn.12.gmail; Tue, 05 Mar 2019 01:53:25 -0800 (PST) X-Google-Smtp-Source: APXvYqy/JE5RBbmR6z1TfTYvFC3t50dg0lPDf+wVtUhAJ3aPQo5WwgufYb5Lb5qtIu7oDf4T4gQs X-Received: by 2002:a05:6000:10c1:: with SMTP id b1mr1261841wrx.30.1551779605427; Tue, 05 Mar 2019 01:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551779605; cv=none; d=google.com; s=arc-20160816; b=GGSTpV+rTPOEWO93MpAZ0ZsjlMwhcnY08/qNQ4N4j3DiBxdEnKV3zNXi2FFwO/ToJ8 dkOTVnwM8Oy/vFujD2IsWI6ZsKOXhkt144h4nJ4eBRylOCGze5p6JdqnEv4SKLH3jGNz K9dhZpkB3SeSpzJJHzHxwrHLjD6P33BZLYHWD8AKESJl8ymY+dJswNOvPKKZ11/W5RdW zQ8iqdRqbEC+DnpPPgA17dbjcrfJO8NuBaBlqNWnoULxskwMRfGP0H6/Apg0dRlzYPFO +v9J18PiqUId0DEUk5k3TQf1oDLHS3WJORYDfgU2sR02d7H2EqSfi52ydI7wJtkCcFsC nsRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=as8mPUYStlPBljUb5noNXbNtzYnhHPnZUB1eCvf+Z1w=; b=PmUKR3/E7u0boorMVQv6PAvQCQO5i8vK76eKXRyABtdAaAAJpONzhmyPutPx4M9hWO ygY0x8Dwsneu9vy2DFkFLu5NgeKaE90YmmsVTL3q62Kc0mkqzkdZsLeTG/bJkv83bONt OeeDyIoASA3hp7Oe3L6if2W0d+HyZtJJvGr9kolusv3201S+fwXMtUM1po4zT9QUhv4e f66oGIk1UfnWEEoSqTQN7jPTrUifKsV5RhFS12BUGx5OZRNiUSs3styjAJOIbeiew0m5 7qCRLrlzTRjRtYMu2AtGAEeYk1QOsECES13QXDuhKAkCz0vwRp9qvucSaqpqsw6O4WGk eOlQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id t22si502112wmj.2.2019.03.05.01.53.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 01:53:25 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id x259rOZw023794 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Mar 2019 10:53:25 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.69.211]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x259rOSY023865; Tue, 5 Mar 2019 10:53:24 +0100 Date: Tue, 5 Mar 2019 10:53:24 +0100 From: Henning Schild To: Baurzhan Ismagulov Cc: Subject: Re: RFC: base-apt caching improvements Message-ID: <20190305105324.26909a7b@md1za8fc.ad001.siemens.net> In-Reply-To: <20190301173841.GG1419@yssyq.m.ilbers.de> References: <20190227100536.10caef1d@md1za8fc.ad001.siemens.net> <20190301173841.GG1419@yssyq.m.ilbers.de> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: Y+7wpV+adySP Am Fri, 1 Mar 2019 18:38:41 +0100 schrieb Baurzhan Ismagulov : > On Wed, Feb 27, 2019 at 10:05:36AM +0100, Henning Schild wrote: > > So instead we should go and download all debs and sources of the > > currently installed packages of all rootfs-es (target and its > > buildchroots) explicitly and reprepro from there. > > Thanks for the clear description. I agree this approach is better. > Should we look at that? I currently do not have the time do work on it. So i decided to write down my findings and document them, for anyone to implement it. Or for myself to implement it eventually. If you want to work on it, go ahead! > > This still lacks filtering out all the packages from isar-apt but > > could be an improvement to our current way. > > We have isar-apt filtering in place, which could be adapted to the new > solution. Or does it have problems? I wrote something in a reply. The current implementation can be improved by reading deb meta-data with dpkg-deb. When looping over all installing packages and fetching sources, the isar-apt packages will fail. So you need to detect their "isar-apt"-ness before you start downloading, the current approach detects it before reprepro. Henning > With kind regards, > Baurzhan. >