From: Raphael Lisicki <raphael.lisicki@siemens.com>
To: isar-users@googlegroups.com
Cc: Henning Schild <henning.schild@siemens.com>,
"[ext] Jan Kiszka" <jan.kiszka@siemens.com>
Subject: Re: do_adjust_git in dpkg-base.bbclass not working for gitsm fetcher
Date: Wed, 2 Dec 2020 18:10:12 +0100 [thread overview]
Message-ID: <6bba3846-74ef-b89f-b15e-4743ffd78287@siemens.com> (raw)
In-Reply-To: <20201201164029.00af5bd5@md1za8fc.ad001.siemens.net>
Thanks for your answers. I know well about the pains of the submodules.
>
> SRC_URI = "gitsm://foo.git;destsuffix=${P}"
> SRCREV = "0815"
>
> becomes
>
> SRC_URI = "git://foo.git;destsuffix=${P};name=main
> SRCREV_main = "0815"
> SRC_URI += "git://bar.git;destsuffix=${P}/modules/bar;name=module1
> SRC_URI += "git://baz.git;destsuffix=${P}/mod/baz;name=module2
> SRCREV_module1 = "1234"
> SRCREV_module2 = "abcd"
>
This sounds like a feasible workaround. Happily, I was able to just
switch to the git fetcher.
Simply adding "and ud.type != 'gitsm'" would also fix this for certain
cases (mine :D ) . Given that it is known that gitsm is not working
properly, such a best-effort fix might also be an option.
raphael
next prev parent reply other threads:[~2020-12-02 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 10:41 Raphael Lisicki
2020-12-01 11:41 ` Jan Kiszka
2020-12-01 15:40 ` Henning Schild
2020-12-01 16:44 ` Jan Kiszka
2020-12-01 18:51 ` Henning Schild
2020-12-02 17:10 ` Raphael Lisicki [this message]
2020-12-02 18:03 ` Jan Kiszka
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=6bba3846-74ef-b89f-b15e-4743ffd78287@siemens.com \
--to=raphael.lisicki@siemens.com \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/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