From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6788114222392803328 X-Received: by 2002:aca:f4d0:: with SMTP id s199mr8401065oih.161.1586855430633; Tue, 14 Apr 2020 02:10:30 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a9d:3985:: with SMTP id y5ls622738otb.7.gmail; Tue, 14 Apr 2020 02:10:30 -0700 (PDT) X-Google-Smtp-Source: APiQypJlyTJI7L+GupjR40wOiLkMhauicYN9y346LoZi5bhzTEIKCpZYJTNEJq+kHcrZq3iM51Vm X-Received: by 2002:a05:6830:1453:: with SMTP id w19mr960976otp.230.1586855430031; Tue, 14 Apr 2020 02:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586855430; cv=none; d=google.com; s=arc-20160816; b=wy+XSJp6d1pjGl9v+2F/C52WyhFHEbMfacewYrn58a6oAWgGeknvfsAqGMTYyl08t3 adJeAoEx6ru9xkxUBppMnfiLo6/SaVSSAG84KaMFmPJXgYUhO0L/EaC5TSscer3C5hSm vSYfBbTkHsnDmSY2Zl3FHz4YvNuCs0JOEAVwx5P9t08R2eyWMOrUK0Gkxs6GaM/x6xvg hog9JPlmSCreksGheMeYexOIFm5Lki+N83zbXi+MrowoAwYH+R7c3zyff0nmuGn4cq5Z 5nMgfQVnIvkgMORFkGHHhI4Yuik+zcANpuxLXgoPjplUk/TsCo6fyE+uTx+yDA7bBXvx yM8A== 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=DgKyQKHj2RaLD00k6rJ/XOYBcfzE+DZynoTuOkFpA7o=; b=o0X5aX/46L+1pBPROiSLiMcBcI8sU0VCsl6qJLsZeo52OwJwqQh9ncI764qY81CMJB Vu0P4tnfpp1o8x13PzMc9Mg1n6SGxjA+zCG0NFdMcyjCvPXzJAuHfvzlyneAEitY64KF r0MmIF+UQRLK98SM6TBbPR9bJ2hp+w7BTc1P1y6T8UNV/BkxpJ6PGr0I0CdiumIykSL9 THwPDcdGaJlWKSV2y3DyktSqdiztvRYCFlWhTrhe60Yb5+RAIzEcY6uD1SvhkGgLQd3V uTiueoQkXmnB+O5fOH0sv8Eawx2/ll/fJ8CJR9+sh+0fqgcM81qq8NXaRIJrt7r49B22 s4uA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jca6xzk0; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com. [2607:f8b0:4864:20::82e]) by gmr-mx.google.com with ESMTPS id s12si553706oth.1.2020.04.14.02.10.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Apr 2020 02:10:30 -0700 (PDT) Received-SPF: pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) client-ip=2607:f8b0:4864:20::82e; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jca6xzk0; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qt1-x82e.google.com with SMTP id o10so9467170qtr.6 for ; Tue, 14 Apr 2020 02:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DgKyQKHj2RaLD00k6rJ/XOYBcfzE+DZynoTuOkFpA7o=; b=Jca6xzk0m4/CuoNgsnD5wJd75R0m+0nFEQ6+3OVcio3FykaMlbsYfN1CzvJoEbHOVh ZXkJLJYfJQq11Aj78RU1mepVq1e4SY5NOTKj3NYke+Y0i2sD+mR8wJq02/CN921uPs/J hFb3QDDFA71kKtt2KxsLvY/QmrkMXwz+Mqx5AXvIr3SXZ7A1n3wChMK75lcOzNa2Tsva 9nLTTPBxesxI39J//tbA7/Wf5SOZCl3+QJZuZ9m6uq0eWBi2uZvSpxdWEUyWyVNm+Xv7 HhfQ5neg82usCGMxj5FOeNC0eyLtZupDYTHwur2TX/3+ce7egXnZrbONp/AmOdI4XFqB ltMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DgKyQKHj2RaLD00k6rJ/XOYBcfzE+DZynoTuOkFpA7o=; b=I9z0qiHADwzt1rIfvd3XV2o1WdBPTz6kiyts0gjvJlQjTlTauntTOZx9DoEafC52Fw 6LVnQFc4RgKaFIjWIlqSjF6SLd4QxuJKjaMMhtRMvXErjze8Qtu/k8B+XvbYbVv/+j7R j8LLPAi3Gl0Vez34fBkROktU1s+LzRD44amBuJAo/xNAeP5oHRG8Ita8pbCjIZc4TTqT jkzSrCMQ7qPc/dDFSyecz7h15LA44cmwDzcqhzJQQqTMeVOTImHxJDF+XvjLUXKzJkbN RqGk9fa6cUILpH8ZQ6FJnnYTOjo+lD+/ohAuaWlHuQXeQt1/VsqqfNi9LwLCkL70niVe DMYg== X-Gm-Message-State: AGi0PubjaAaeZGEs1v9CDGr0HRl+tTe98qRsvsu5nfbuz/4CQIx0V1hD qFkVDeGheqDPHJXm1Y9+CbZgqGIlno9Eg0GS1tY= X-Received: by 2002:ac8:19f5:: with SMTP id s50mr15552372qtk.186.1586855429680; Tue, 14 Apr 2020 02:10:29 -0700 (PDT) MIME-Version: 1.0 References: <20200326134325.8672-1-henning.schild@siemens.com> <20200326134325.8672-6-henning.schild@siemens.com> <20200414085450.78432297@md1za8fc.ad001.siemens.net> In-Reply-To: <20200414085450.78432297@md1za8fc.ad001.siemens.net> From: vijai kumar Date: Tue, 14 Apr 2020 14:40:18 +0530 Message-ID: Subject: Re: [PATCHv8 05/29] base-apt: add deb-src packages as well To: Henning Schild Cc: isar-users , Baurzhan Ismagulov , Jan Kiszka Content-Type: text/plain; charset="UTF-8" X-TUID: vZdwYS7RfIcz 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. 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? [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. > > > >