From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>,
"kweihmann@outlook.com" <kweihmann@outlook.com>,
"jasper@fancydomain.eu" <jasper@fancydomain.eu>
Cc: "martin@mko.dev" <martin@mko.dev>,
"Daniel.Baumgart@iris-sensing.net"
<Daniel.Baumgart@iris-sensing.net>,
"bitbake-devel@lists.openembedded.org"
<bitbake-devel@lists.openembedded.org>
Subject: Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3
Date: Wed, 10 Nov 2021 12:46:48 +0000 [thread overview]
Message-ID: <f815b01f00eb3271ea947442cd6837fa27cefb3f.camel@linuxfoundation.org> (raw)
In-Reply-To: <3101a847508371b09b2949434f9ca09c672a7097.camel@iris-sensing.com>
On Tue, 2021-11-09 at 11:26 +0000, Jasper Orschulko wrote:
>
>
> > e) fetcher output is deterministic
> > (i.e. if you fetch configuration XXX now it will match in future
> > exactly in
> > a clean build with a new DL_DIR)
>
> check. When a fixed refspec is set within the recipe, the fetcher will
> check, if all repositories in the repo manifest are set to a fixed
> refspec as well and otherwise throw an error.
When you say "fixed refspec", will that be a definitive sha revision or a tag?
We always force resolution of tags as they tend to cause problems and can change
even if it is bad form.
> > f) network access is expected to work with the standard linux proxy
> > variables
> > environment but only in the do_fetch tasks)
>
> this should work, as we keep the GIT_PROXY_COMMAND environment and run
> repo via runfetchcmd(). Not further tested though.
If you're using runfetchcmd that should work.
>
> > g) access during parsing has to be minimal, a "git ls-remote" for an
> > AUTOREV
> > git recipe might be ok but you can't expect to checkout a git tree
>
> unfortunately, do to the nature of repo, we need to clone the manifest
> repo, so that we can run "git ls-remote" on the referenced git repos
> and therefore ensure that
This is potentially a big issue. Cloning operations during parsing is pretty
horrible. We'd not expect any thing being written out like that during a parse.
It would probably work "ok" for one recipe but if you start getting the hundreds
of git recipes we have in some layers, it wouldn't scale if we allowed that :(.
Not sure what to recommend here but it is definitely problematic.
>
Cheers,
Richard
next prev parent reply other threads:[~2021-11-10 12:46 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 13:31 [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3 Jasper Orschulko
2021-11-05 13:31 ` [oe-core][PATCH 2/2] base.bbclass: Add sysroot deps for repo fetcher Jasper Orschulko
2021-11-05 13:35 ` [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3 Konrad Weihmann
2021-11-05 13:47 ` Jasper Orschulko
2021-11-05 14:09 ` Jasper Orschulko
2021-11-05 14:20 ` Konrad Weihmann
2021-11-05 14:53 ` Jasper Orschulko
2021-11-05 15:34 ` Jasper Orschulko
2021-11-06 9:43 ` Richard Purdie
2021-11-09 11:26 ` Jasper Orschulko
2021-11-10 12:46 ` Richard Purdie [this message]
2021-11-10 13:52 ` Jasper Orschulko
2021-11-10 16:33 ` Richard Purdie
2021-11-11 11:42 ` Jasper Orschulko
2021-11-24 16:04 ` Jasper Orschulko
2021-11-10 23:55 ` Peter Kjellerstedt
2021-11-11 10:04 ` Jasper Orschulko
2021-11-11 11:34 ` Peter Kjellerstedt
2021-11-11 12:10 ` Jasper Orschulko
2021-11-11 14:11 ` Peter Kjellerstedt
2021-11-11 15:08 ` Jasper Orschulko
2021-11-11 19:20 ` Alexander Kanavin
2021-11-12 12:22 ` Jasper Orschulko
2021-11-15 12:59 ` Jasper Orschulko
2021-11-15 13:05 ` Alexander Kanavin
2021-11-15 13:12 ` Jasper Orschulko
2021-11-05 14:20 ` Alexander Kanavin
2021-11-05 15:04 ` Alexander Kanavin
2021-11-05 15:24 ` Jasper Orschulko
2021-11-05 17:46 ` Alexander Kanavin
2021-11-05 18:05 ` Jasper Orschulko
2021-11-05 18:45 ` Alexander Kanavin
2021-11-05 20:32 ` Jasper Orschulko
2021-11-06 6:39 ` Alexander Kanavin
2021-11-07 9:05 ` Richard Purdie
2021-11-08 11:55 ` Jasper Orschulko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f815b01f00eb3271ea947442cd6837fa27cefb3f.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=Daniel.Baumgart@iris-sensing.net \
--cc=Jasper.Orschulko@iris-sensing.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=jasper@fancydomain.eu \
--cc=kweihmann@outlook.com \
--cc=martin@mko.dev \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox