From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6788114222392803328 X-Received: by 2002:a7b:c7d6:: with SMTP id z22mr293212wmk.73.1586971803794; Wed, 15 Apr 2020 10:30:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:4088:: with SMTP id n130ls627820wma.2.canary-gmail; Wed, 15 Apr 2020 10:30:03 -0700 (PDT) X-Google-Smtp-Source: APiQypIRtyT/iBm8w1F+Szbl5C3cYt5CVsrxMvoGgMyvZj9aZh2klI/+t+17rkGY4m1ajk66Zaxm X-Received: by 2002:a1c:7215:: with SMTP id n21mr275535wmc.145.1586971803267; Wed, 15 Apr 2020 10:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586971803; cv=none; d=google.com; s=arc-20160816; b=AYDjrTA4+K4/qrlVgmoXkaW1hk94b8NG9hFbHgiPsCOEnLHPCTvk3jr0B0wSPN34uv jpsoIFuKrIJ0UsnjC4KBPUCv3RvoQQavgHbiZ+kBNf95a4e3dMgSlNv/eTpTLVVY11/u LHrPWs3VMPD7/xBBcmw3YaPExyEjTpPrSlaSJAzW0hlz0Zwi0jsKiXfBRbPrSA7UOZvh /vUVykEqVzYPHx2P/2RJs5gMVx5v0NwYNio6wzWPE4Hjamxuc3e78Y8hrN1Bv6HRQtwq oxa41pyywSElCwfYnZEmR66uCBNo+eZm/DoY3o1VqkCLIHJWBo16BqolL3rkLSxVECHB YVBQ== 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=Yirh1E+ziA0polE3KA1dFFXCEWeqj2ADfeepYINUO+A=; b=tiIj6ybqaUmsapwGX8B0RAnqJ9Zvm8v6FTi8MlbFKSViVcAEvUQ7ZsPbHpO2qFGIhx 1iQqF91rSogW8eeAPJXRLdygG/kIAZ3njg+NyouLA0hF8V/cEUcMq2iNuEkxxtGOG4sr Y+ftNgl1vNbXQm46GvafCI6crdsLK7l1m2Jq0M33uEriqUCuwSTCXq2s6eknSvkngxfa lh8EqzUpTsKeHQTiNwJyelECvXIyffdq0Ut6pUyu2LSzKPjbJHPjJvIzjH9JLfTra86g /5gz0npu9KP/5BeGimB8PZaVtIUfnPM1wz7OfTMjgye79Ccnbjb5k6Xq5UhYpER+tP+n 2gjA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id g78si15793wmg.0.2020.04.15.10.30.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2020 10:30:03 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 03FHU1al028482 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Apr 2020 19:30:02 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.56.163]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 03FHU1Ts028273; Wed, 15 Apr 2020 19:30:01 +0200 Date: Wed, 15 Apr 2020 19:29:59 +0200 From: Henning Schild To: vijai kumar Cc: isar-users , Baurzhan Ismagulov , Jan Kiszka Subject: Re: [PATCHv8 05/29] base-apt: add deb-src packages as well Message-ID: <20200415192959.1a7ddf7f@md1za8fc.ad001.siemens.net> In-Reply-To: References: <20200326134325.8672-1-henning.schild@siemens.com> <20200326134325.8672-6-henning.schild@siemens.com> <20200414085450.78432297@md1za8fc.ad001.siemens.net> X-Mailer: Claws Mail 3.17.4 (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: bhgqjQ1KrsNe On Tue, 14 Apr 2020 14:40:18 +0530 vijai kumar wrote: > On Tue, Apr 14, 2020 at 12:24 PM Henning Schild > wrote: > > > > Am Fri, 10 Apr 2020 20:31:27 +0530 > > schrieb vijai kumar : > > > > > On Thu, Mar 26, 2020 at 7:13 PM Henning Schild > > > wrote: > > > > > > > > From: Henning Schild > > > > > > > > So far the deb-src packages downloaded via "apt://" where not > > > > cached. This commit fixes that and includes those packages into > > > > the cache. > > > > > > > > Signed-off-by: Henning Schild > > > > --- > > > > meta/classes/base-apt-helper.bbclass | 7 +++++++ > > > > meta/classes/image-cache-extension.bbclass | 4 ++++ > > > > meta/classes/repository.bbclass | 14 ++++++++++++++ > > > > 3 files changed, 25 insertions(+) > > > > > > > + reprepro -b "${dir}" --dbdir "${dbdir}" -C main -P source \ > > > > + includedsc "${codename}" \ > > > > > > > > > Hi Henning, > > > > > > Any specific issue you faced which prompted you to use -P source? > > > Just trying to understand why priority is source here. > > I had an issue with section, wanted to know > > > > I honestly do not remember why that is there. Just looking at the > > manpage its seems there will be some guessing going on for "section" > > and "priority" if they are not given. Maybe i ran into a case where > > the prio could not be guessed or was incorrect ... but i am really > > just guessing myself. > > > > Is that prio incorrect or does it differ from what other repos have? > > > > If we are talking about > > https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities > > > > "source" does not seem to be a valid value. > > > > You probably ran into some sort if issue and did not just stumble > > over this line. Maybe you explaining your initial problem will help > > understand how to proceed here. > > Hi Henning, > > Yes. I had an issue with adding an source package(makedev) to repo. It > complains of not able to find a valid Section. Then I looked back at > the man page, which says it is guessing the Section and Priority. > Looking at the code, seems like you have taken care of overriding > Priority. > > I believe you have taken that input from the 'Debian repository > format' wiki[1]? which suggests to use 'source' as an alternative. For > section there is no such recommendation though. It is possible that i took the same path and came up with the implementation we have, i do not remember anymore. > So, I am thinking to use either the value 'source' or '-' as in [2]. > Since those are optional fields, right now, I am planning to skip > looking into provisions to extract them from the dsc file (something > like dscextract). I don't find any issue in these values for section > and priority, do you see any? I would suggest you play with possible values for your case. Later run them against CI. In a next step find why a certain implementation works and why others do not. That will hopefully lead to a correct implementation and a meaningful justification (commit message). Henning > [1] https://wiki.debian.org/DebianRepository/Format > [2] > https://www.debian.org/doc/debian-policy/ch-controlfields.html#files > > Thanks, > Vijai Kumar K > > > > > > Henning > > > > > Thanks, > > > Vijai Kumar K > > > > > > > > > > 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 view this > > > > discussion on the web visit > > > > https://groups.google.com/d/msgid/isar-users/20200326134325.8672-6-henning.schild%40siemens.com. > > > > > >