All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: "Frédéric Martinsons" <frederic.martinsons@gmail.com>
Cc: openembedded-core@lists.openembedded.org, alex.kiernan@gmail.com
Subject: Re: [OE-core] [PATCH 4/5] devtool: add support for multiple git url inside a cargo based recipe
Date: Sun, 26 Mar 2023 20:01:41 +0200	[thread overview]
Message-ID: <CANNYZj_B6vmr86JBZ-DPzJnJ=g9DHAvOwAt6=vPANHGDGcgkgA@mail.gmail.com> (raw)
In-Reply-To: <CA+cAkeqFrnuoSL5Z2d1MrPNv3VbmLfUPV0w0BBQ-w3Jd2-A3YA@mail.gmail.com>

I'm fine with v2, except for the zvariant recipe, that should probably
go to meta-rust (which itself should go to meta-oe, with cleanups).

Alex

On Sun, 26 Mar 2023 at 16:58, Frédéric Martinsons
<frederic.martinsons@gmail.com> wrote:
>
> I submit a V2 series where I made modifications you suggested, I choose to use a more
> generic type (git-dependency instead of cargo-dep) since I foresee that could be used also
> for npm based recipe (see https://bugzilla.yoctoproject.org/show_bug.cgi?id=11015)
>
> For the moment, I let the example recipe in oe-core because I don't know where it should
> go (or even if I should keep it or remove it)
>
> On Sun, 26 Mar 2023 at 07:15, Frédéric Martinsons <frederic.martinsons@gmail.com> wrote:
>>
>> Ah, good idea, I'll try that and provide a V2 of this series if it fits.
>>
>> On Sat, 25 Mar 2023 at 20:02, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
>>>
>>> On Sat, 25 Mar 2023 at 10:01, Frederic Martinsons
>>> <frederic.martinsons@gmail.com> wrote:
>>> > @@ -72,6 +73,8 @@ python () {
>>> >                      url_data.type == 'npmsw' or url_data.type == 'crate' or
>>> >                      'type' in parm and parm['type'] == 'kmeta'):
>>> >                  local_srcuri.append(url)
>>> > +            if url in cargo_git_deps:
>>> > +                local_srcuri.append(url)
>>>
>>> Come to think of it, it's better to use the same type parameter with a
>>> special value as in kernel recipes:
>>>
>>> git://.....;type=cargo-dep;...
>>>
>>> This would avoid the ugly special variable.
>>>
>>> Alex


  reply	other threads:[~2023-03-26 18:02 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25  9:00 [PATCH 0/5] Extend cargo based recip support frederic.martinsons
2023-03-25  9:00 ` [PATCH 1/5] cargo_common.bbclass: Support local github repos frederic.martinsons
2023-03-25  9:00 ` [PATCH 2/5] cargo_common.bbclass: add support of user in url for patch frederic.martinsons
2023-03-25  9:00 ` [PATCH 3/5] rust-example: provide a recipe for zvariant frederic.martinsons
2023-03-25 18:51   ` [OE-core] " Alexander Kanavin
2023-03-25 20:43     ` Frédéric Martinsons
2023-03-26 16:55       ` Alexander Kanavin
2023-03-27  4:09         ` Frédéric Martinsons
2023-03-27  6:40           ` Alexander Kanavin
2023-03-27  8:18             ` Alex Kiernan
2023-03-27  8:30               ` Frédéric Martinsons
2023-03-27  8:42                 ` Alex Kiernan
2023-03-27  8:52                   ` Frédéric Martinsons
2023-03-27 10:24                     ` Alex Kiernan
2023-03-25  9:00 ` [PATCH 4/5] devtool: add support for multiple git url inside a cargo based recipe frederic.martinsons
2023-03-25 18:55   ` [OE-core] " Alexander Kanavin
2023-03-26  5:15     ` Frédéric Martinsons
2023-03-25 19:02   ` Alexander Kanavin
2023-03-26  5:15     ` Frédéric Martinsons
2023-03-26 14:58       ` Frédéric Martinsons
2023-03-26 18:01         ` Alexander Kanavin [this message]
2023-03-27  4:09           ` Frédéric Martinsons
2023-03-25  9:00 ` [PATCH 5/5] patch: support of git patches when the source uri contained subpath param frederic.martinsons
2023-03-27 14:20 ` [OE-core] [PATCH 0/5] Extend cargo based recip support Richard Purdie
2023-03-27 14:25   ` Alexander Kanavin
2023-03-27 15:01     ` Frédéric Martinsons
2023-03-27 17:19       ` Alexander Kanavin
2023-03-27 18:07         ` Frédéric Martinsons
2023-03-27 18:30           ` Alex Kiernan
2023-03-27 18:40             ` Frédéric Martinsons
2023-03-27 18:52               ` Alex Kiernan
2023-03-27 19:00                 ` Alexander Kanavin
2023-03-27 19:20                   ` Frédéric Martinsons
2023-03-27 22:13                     ` Alexander Kanavin
2023-03-28  7:11                       ` Alex Kiernan
2023-03-28  8:37                         ` Alexander Kanavin
2023-03-28  9:01                           ` Alex Kiernan
2023-03-29 12:35                       ` Alex Kiernan

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='CANNYZj_B6vmr86JBZ-DPzJnJ=g9DHAvOwAt6=vPANHGDGcgkgA@mail.gmail.com' \
    --to=alex.kanavin@gmail.com \
    --cc=alex.kiernan@gmail.com \
    --cc=frederic.martinsons@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.