]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipetool: create: add new optional process_url callback for plugins
authorJulien Stephan <jstephan@baylibre.com>
Mon, 4 Dec 2023 15:59:31 +0000 (16:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Dec 2023 22:55:46 +0000 (22:55 +0000)
commit3e5ce351e7dbe283562bf1db1f2ce3b121c49b53
tree86beec5f30a0332e119f370106cf2305d8da48d9
parent31b27cc76a1b669e2b126c332608fd772c124d69
recipetool: create: add new optional process_url callback for plugins

Add a new process_url callback that plugins can optionally implement if
they which to handle url.

Plugins can implement this callback for example, to:
* transform the url
* add special variables using extravalues
* add extra classes
* ...

If a plugin handles the url, it must append 'url' to the handled
list and must return the fetchuri

No functional changes expected for plugins non implementing this
optional callback

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py