From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Julien Stephan <jstephan@baylibre.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2 0/9] Several fixes around recipetool appendsrcfile(s) and oe.recipeutils.bbappend_recipe
Date: Tue, 5 Dec 2023 08:47:48 +0100 [thread overview]
Message-ID: <202312050747484b944cf9@mail.local> (raw)
In-Reply-To: <20231204152603.831495-1-jstephan@baylibre.com>
Hello,
The series doesn't apply on master, can you rebase?
On 04/12/2023 16:25:54+0100, Julien Stephan wrote:
> Hi all,
>
> I was trying to use recipetool appendsrcfile to add a file to a recipe and I noticed several issues:
> * -m is not correctly supported
> * recipetool appendsrfile(s) are missing a usefull dry-run mode
> * appendsrc function relies on oe.recipeutils.bbappend_recipe but
> duplicates some code: it constructs itself the new src_uri entry
> although oe.recipeutils.bbappend_recipe is already doing it
> * we are lacking a mode to patch the recipe itself
>
> So this series tries to fix the issues above, fix the selftest
> accordingly and add new test for -m and for "patch mode" (update recipe)
> and also add a way to specify the name of the file to add
> (in oe.recipeutils.bbappend_recipe)
>
> Improvements from v1:
> - in bbappend_recipe function remove old entry if an entry with different parameters already exists
> to avoid duplicate entries with different parameters
>
> Link to v1: https://lists.openembedded.org/g/openembedded-core/message/191544
>
>
> Julien Stephan (9):
> recipetool: appendsrcfile(s): add dry-run mode
> recipeutils: bbappend_recipe: fix undefined variable
> recipeutils: bbappend_recipe: add a way to specify the name of the
> file to add
> recipeutils: bbappend_recipe: remove old srcuri entry if parameters
> are different
> recipetool: appendsrcfile(s): use params instead of extraline
> recipeutils: bbappend_recipe: allow to patch the recipe itself
> recipetool: appendsrcfile(s): add a mode to update the recipe itself
> oeqa/selftest/recipetool: appendsrfile: add test for machine
> oeqa/selftest/recipetool: appendsrc: add test for update mode
>
> meta/lib/oe/recipeutils.py | 62 +++++++++++-----
> meta/lib/oeqa/selftest/cases/recipetool.py | 83 +++++++++++++++++++---
> scripts/lib/devtool/standard.py | 6 +-
> scripts/lib/recipetool/append.py | 63 +++++++++++-----
> 4 files changed, 168 insertions(+), 46 deletions(-)
>
> --
> 2.42.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#191744): https://lists.openembedded.org/g/openembedded-core/message/191744
> Mute This Topic: https://lists.openembedded.org/mt/102972288/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2023-12-05 7:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 15:25 [PATCH v2 0/9] Several fixes around recipetool appendsrcfile(s) and oe.recipeutils.bbappend_recipe Julien Stephan
2023-12-04 15:25 ` [PATCH v2 1/9] recipetool: appendsrcfile(s): add dry-run mode Julien Stephan
2023-12-04 15:25 ` [PATCH v2 2/9] recipeutils: bbappend_recipe: fix undefined variable Julien Stephan
2023-12-04 15:25 ` [PATCH v2 3/9] recipeutils: bbappend_recipe: add a way to specify the name of the file to add Julien Stephan
2023-12-04 15:25 ` [PATCH v2 4/9] recipeutils: bbappend_recipe: remove old srcuri entry if parameters are different Julien Stephan
2023-12-04 15:25 ` [PATCH v2 5/9] recipetool: appendsrcfile(s): use params instead of extraline Julien Stephan
2023-12-04 15:26 ` [PATCH v2 6/9] recipeutils: bbappend_recipe: allow to patch the recipe itself Julien Stephan
2023-12-04 15:26 ` [PATCH v2 7/9] recipetool: appendsrcfile(s): add a mode to update " Julien Stephan
2023-12-04 15:26 ` [PATCH v2 8/9] oeqa/selftest/recipetool: appendsrfile: add test for machine Julien Stephan
2023-12-04 15:26 ` [PATCH v2 9/9] oeqa/selftest/recipetool: appendsrc: add test for update mode Julien Stephan
2023-12-05 7:47 ` Alexandre Belloni [this message]
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=202312050747484b944cf9@mail.local \
--to=alexandre.belloni@bootlin.com \
--cc=jstephan@baylibre.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox