Re: [yocto] Adding a group to my local.conf file #kirkstone #poky

2024-05-03 Thread Tim Orling
On Fri, May 3, 2024 at 11:29 AM ruom9900 via lists.yoctoproject.org wrote: > Hello, > Is there any way possible to add a custom group to the local.conf file? The classic way is with extrausers (kirkstone docs for reference):

[yocto] [layerindex-web][PATCH 3/3] README: update to new yocto-patches mailing list

2024-04-09 Thread Tim Orling
Change the canonical, definitive place to send patches to the new yocto-patc...@lists.yoctoproject.org list. Signed-off-by: Tim Orling --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index 6fc4591..89dbd5b 100644 --- a/README +++ b/README

[yocto] [layerindex-web][PATCH 2/3] requirements.txt: update all to latest

2024-04-09 Thread Tim Orling
After running "pur -r requirements.txt" Signed-off-by: Tim Orling --- requirements.txt | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/requirements.txt b/requirements.txt index 93e4e53..6090ea8 100644 --- a/requirements

[yocto] [layerindex-web][PATCH 1/3] build(deps): bump pillow from 10.2.0 to 10.3.0

2024-04-09 Thread Tim Orling
Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1

Re: [yocto] [meta-raspberrypi][PATCH 0/3] Initial u-boot support for raspberrypi5

2024-04-07 Thread Tim Orling
I was able to do a workaround and use our `konsulko` github account instead: https://github.com/agherzan/meta-raspberrypi/pull/1304 Never give up. Keep on trying. On Sun, Apr 7, 2024 at 2:58 PM Khem Raj wrote: > > > On Sun, Apr 7, 2024 at 1:25 PM Tim Orling wrote: > >> Dear

Re: [yocto] [meta-raspberrypi][PATCH 0/3] Initial u-boot support for raspberrypi5

2024-04-07 Thread Tim Orling
Dear GitHub, please let us attach a repo to another GitHub repo after the creation. Why is a fork something opaque to us? On Sun, Apr 7, 2024 at 1:22 PM Tim Orling wrote: > I set up my github repo with git.yoctoproject.org so I have to destroy it > to fork from agherzan and send a PR. &g

Re: [yocto] [meta-raspberrypi][PATCH 0/3] Initial u-boot support for raspberrypi5

2024-04-07 Thread Tim Orling
On Sun, Apr 7, 2024 at 12:54 PM Tim Orling > wrote: > > > > Enable u-boot for the raspberrypi5 via the meta-lts-mixins > 'scarthgap/u-boot' branch. > > > > This is initial support for raspberrypi5, not all features (usb, > ethernet) are enabled > > in u-b

[yocto] [meta-raspberrypi][PATCH 3/3] raspberrypi5.conf: Fix KERNEL_IMAGETYPE_UBOOT

2024-04-07 Thread Tim Orling
Similar to raspberrypi4-64.conf, we need to set KERNEL_IMAGETYPE_UBOOT to "Image" and set KERNEL_BOOTCMD to "booti" Signed-off-by: Tim Orling --- conf/machine/raspberrypi5.conf | 4 1 file changed, 4 insertions(+) diff --git a/conf/machine/raspberrypi5.conf b/conf/

[yocto] [meta-raspberrypi][PATCH 2/3] u-boot: re-enable rapsberrypi5

2024-04-07 Thread Tim Orling
With meta-lts-mixins scarthgap/u-boot we can now support raspberrypi5 Signed-off-by: Tim Orling --- conf/machine/raspberrypi5.conf | 2 ++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/machine/raspberrypi5.conf b/conf

[yocto] [meta-raspberrypi][PATCH 1/3] layer.conf: rpi5 recommends lts-u-boot-mixin

2024-04-07 Thread Tim Orling
Add lts-u-boot-mixin to LAYERRECOMMENDS https://git.yoctoproject.org/meta-lts-mixins 'scarthgap/u-boot' branch adds u-boot v2024.04 support which includes the initial support for raspberrypi5. Signed-off-by: Tim Orling --- conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git

[yocto] [meta-raspberrypi][PATCH 0/3] Initial u-boot support for raspberrypi5

2024-04-07 Thread Tim Orling
/raspberrypi5_u-boot https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot Tim Orling (3): layer.conf: rpi5 recommends lts-u-boot-mixin u-boot: re-enable rapsberrypi5 raspberrypi5.conf: Fix KERNEL_IMAGETYPE_UBOOT conf/layer.conf | 3 +++ conf/machine

[yocto] [meta-security][PATCH] layers: LAYERSERIES_COMPAT add scarthgap

2024-03-25 Thread Tim Orling
Allow the layers to be usable with pending 5.0 LTS "scarthgap" release. Signed-off-by: Tim Orling --- conf/layer.conf| 2 +- meta-hardening/conf/layer.conf | 2 +- meta-integrity/conf/layer.conf | 2 +- meta-parsec/conf/layer.conf| 2 +- meta-tpm/conf/layer.conf

Re: [yocto] Final dunfell release build on April 15, 2024

2024-03-22 Thread Tim Orling
On Fri, Mar 22, 2024 at 5:12 PM Tim Orling wrote: > > > On Fri, Mar 22, 2024 at 6:39 AM wrote: > >> Does Dunfell EOL mean builds for TI platforms that actually build and >> boot can be done using a newer branch? E.G. As of yet, I have been unable >> to b

Re: [yocto] Final dunfell release build on April 15, 2024

2024-03-22 Thread Tim Orling
On Fri, Mar 22, 2024 at 6:39 AM wrote: > Does Dunfell EOL mean builds for TI platforms that actually build and boot > can be done using a newer branch? E.G. As of yet, I have been unable to > build for TI "beagle" platforms that will boot using any branch other than > Dunfell. I tried both

[yocto] [meta-lts-mixins][scarthgap/u-boot][RFC PATCH 2/2] u-boot: bump to v2024.04-rc4

2024-03-20 Thread Tim Orling
https://github.com/u-boot/u-boot/compare/v2024.04-rc3...v2024.04-rc4 Release announcement: https://lists.denx.de/pipermail/u-boot/2024-March/547988.html Signed-off-by: Tim Orling --- recipes-bsp/u-boot/u-boot-common.inc| 2 +- ...{u-boot-tools_2024.04-rc3.bb =>

[yocto] [meta-lts-mixins][scarthgap/u-boot][RFC PATCH 0/2] Initial commit of scarthgap/u-boot

2024-03-20 Thread Tim Orling
t upstream. This is pure vanilla upstream and in no way board or bsp specific. Tim Orling (2): Initial commit: u-boot 2024.04-rc3 u-boot: bump to v2024.04-rc4 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62806): https://lists.yoctoproject.o

[yocto] [meta-lts-mixins][scarthgap/u-boot][RFC PATCH 1/2] Initial commit: u-boot 2024.04-rc3

2024-03-20 Thread Tim Orling
At the time this was written, neither scarthgap nor u-boot had been released at the target April 2024 releases. Release announcement: https://lists.denx.de/pipermail/u-boot/2024-February/546867.html Signed-off-by: Tim Orling --- LICENSE.MIT | 25 ++ README.md

Re: [yocto] No module named pkgconfig

2024-03-14 Thread Tim Orling
On Thu, Mar 14, 2024 at 11:21 AM Ross Burton wrote: > On 14 Mar 2024, at 14:40, ashujoshi35 via lists.yoctoproject.org > wrote: > > > > Trying to install wirepas_gateway package from pypi. It fails with error > no module named pkgconfig. Below is the error > > > > File "setup.py", line 17, in

Re: [yocto] [yocto-autobuilder-helper] [PATCH] config.json: Switch poky-altcfg to use ipk as the package backend

2024-03-04 Thread Tim Orling
On Mon, Mar 4, 2024 at 7:14 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Since we plan to have better "binary distro" testing on the autobuilder > and we plan to primarily use ipk for this, having ipk based images > available > as part of our builds is desireable. >

Re: [yocto] bmap-tools repository closes

2024-01-24 Thread Tim Orling
On Wed, Jan 24, 2024 at 2:02 PM Joshua Watt wrote: > On Wed, Jan 24, 2024 at 10:59 AM Trevor Woerner > wrote: > > > > Hi Artem, > > > > On Wed 2024-01-24 @ 02:01:08 PM, Artem Bityutskiy wrote: > > > Hello Yocto community, > > > > > > some parts of Yocto software (MIC?) use the 'bmap-tools'

[yocto] [layerindex-web][PATCH 5/5] layerindex/update_layer.py: enable classes-global,-recipe

2024-01-22 Thread Tim Orling
Add support for the new BBClassGlobal and BBClassRecipe sub-classes. [YOCTO #15238] Signed-off-by: Tim Orling --- layerindex/update_layer.py | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/layerindex/update_layer.py b/layerindex/update_layer.py index

[yocto] [layerindex-web][PATCH 4/5] templates: add bbclasstype badge

2024-01-22 Thread Tim Orling
Now that we have different BBClass subtypes, it is handy to have a UI indication of the different types. Add "badges" to display "Global" (for 'classes-global' paths) or "Recipe" (for 'classes-recipe' paths). [YOCTO #15238] Signed-off-by: Tim Orling --- templat

[yocto] [layerindex-web][PATCH 3/5] layerindex/views: add classes-recipe,-global

2024-01-22 Thread Tim Orling
in meta/classes-global [YOCTO #15238] Signed-off-by: Tim Orling --- layerindex/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layerindex/views.py b/layerindex/views.py index 04e39d7..c7a1f09 100644 --- a/layerindex/views.py +++ b/layerindex/views.py @@ -51,7 +51,8

[yocto] [layerindex-web][PATCH 2/5] layerindex/recipeparse.py: extend bbclass regex

2024-01-22 Thread Tim Orling
Extend the bbclass regex to match classes-global and classes-recipe [YOCTO #15238] Signed-off-by: Tim Orling --- layerindex/recipeparse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layerindex/recipeparse.py b/layerindex/recipeparse.py index 6202745..9be6c10 100644

[yocto] [layerindex-web][PATCH 1/5] layerindex/models: add BBClassRecipe BBClassGlobal

2024-01-22 Thread Tim Orling
Add support for classes-global and classes-recipe, but use "proxy=True" to not create new tables for the new classes. Rather, we use the bbclass_type field. [YOCTO #15238] Signed-off-by: Tim Orling --- ...obal_bbclassrecipe_bbclass_bbclass_type.py | 41 ++ layerindex

[yocto] [layerindex-web][PATCH 0/5] Add support for classes-global and classes-recipe

2024-01-22 Thread Tim Orling
lasses-global-recipe Tim Orling (5): layerindex/models: add BBClassRecipe BBClassGlobal layerindex/recipeparse.py: extend bbclass regex layerindex/views: add classes-recipe,-global templates: add bbclasstype badge layerindex/update_layer.py: enable cl

[yocto] [layerindex-web][PATCH v2] global: deprecated pkg_resources parse_version

2024-01-22 Thread Tim Orling
b.com/pypi/warehouse/pull/13500 [YOCTO #15348] Signed-off-by: Tim Orling --- Changes in v2: * Add packaging_legacy to requirements.txt * Use packaging_legacy instead of packaging since we rely on LegacyVersion behavior which has been removed * Fix a typo of "from packaging

[yocto] [layerindex-web][PATCH] global: deprecated pkg_resources parse_version

2024-01-17 Thread Tim Orling
Since we are only using parse_version for comparison (typically checking that we are greater than some minimum version for tool or package), we can use packaging.version.parse as if it was parse_version [YOCTO #15348] Signed-off-by: Tim Orling --- layerindex/update.py | 2

[yocto] [layerindex-web][PATCH 6/6] rrs_upstream_history: fix get_upstream_info

2024-01-15 Thread Tim Orling
: AttributeError: 'tuple' object has no attribute 'history' Signed-off-by: Tim Orling --- rrs/tools/rrs_upstream_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrs/tools/rrs_upstream_history.py b/rrs/tools/rrs_upstream_history.py index bf32c5d..73b6d91 100755 --- a/rrs/tools

[yocto] [layerindex-web][PATCH 5/6] rrs_upstream_history: fix get_recipe_pv_without_srcpv

2024-01-15 Thread Tim Orling
The get_recipe_pv_without_srcpv function was renamed to get_recipe_pv_with_pfx_sfx in: 84794b59 lib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version check regex Try to import/call the old method and fail over to the new method. Signed-off-by: Tim Orling --- rrs

[yocto] [layerindex-web][PATCH 4/6] rrs_upstream_history: allow skip update_data

2024-01-15 Thread Tim Orling
tributeError: module 'bb.data' has no attribute 'update_data' bb.data.update_data was dropped in: 584989ed 'data/data_smart/build: Clean up datastore finalize/update_data references' While we are here, drop some trailing whitespace. Signed-off-by: Tim Orling --- rrs/tools/rrs_upstream_history.py |

[yocto] [layerindex-web][PATCH 3/6] rrs_upgrade_history: remap new srcrev fetcher API

2024-01-15 Thread Tim Orling
ency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue] Signed-off-by: Tim Orling --- rrs/tools/rrs_upgrade_history.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rrs/tools/rrs_upgrade_history.py b/rrs/tools/rrs_upgrade_history.py index 9b74a05..42ba9b8 100755 --- a

[yocto] [layerindex-web][PATCH 2/6] rrs_maintainer_history: fix syntax

2024-01-15 Thread Tim Orling
* Fix the link_maintainer.recipesymbol.pn syntax for debug logging Signed-off-by: Tim Orling --- rrs/tools/rrs_maintainer_history.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rrs/tools/rrs_maintainer_history.py b/rrs/tools/rrs_maintainer_history.py index d2dd94a

[yocto] [layerindex-web][PATCH 1/6] rrs_maintainer_history: new override syntax

2024-01-15 Thread Tim Orling
* Allow the regex for RECIPE_MAINTAINER to use either _ or : override syntax to allow processing maintainer changes across the change boundary. Signed-off-by: Tim Orling --- rrs/tools/rrs_maintainer_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrs/tools

[yocto] [layerindex-web][PATCH 0/6] Recipe Reporting System fixes

2024-01-15 Thread Tim Orling
rrs-fixes https://github.com/moto-timo/layerindex-web/tree/rrs-fixes Tim Orling (6): rrs_maintainer_history: new override syntax rrs_maintainer_history: fix syntax rrs_upgrade_history: remap new srcrev fetcher API rrs_upstream_history: allow skip update_data rrs_upstream_hi

[yocto] [layerindex-web][PATCH 6/6] docker-compose.yml: drop version '3'

2024-01-15 Thread Tim Orling
-and-name.md Signed-off-by: Tim Orling --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8b43946..8704599 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3' services: layersdb: image

[yocto] [layerindex-web][PATCH 4/6] requirements.txt: bump all to latest

2024-01-15 Thread Tim Orling
Bump all the dependencies to latest, using pur -r requirements.txt We are now able to build the mysqlclient==2.2.1 package, so the only constraint is Django>=4.2,<4.3 to keep us pinned at the desired LTS version. Signed-off-by: Tim Orling --- requirements.txt | 14 +++---

[yocto] [layerindex-web][PATCH 5/6] docker-compose.yml: mariadb:lts

2024-01-15 Thread Tim Orling
We should really be striving to be compatible with the latest mariadb LTS (currently 10.11). Signed-off-by: Tim Orling --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e57f59d..8b43946 100644 --- a/docker

[yocto] [layerindex-web][PATCH 3/6] Dockerfile: fix mysqlclient==2.2.1 build

2024-01-15 Thread Tim Orling
to properly build mysqlclient wheel. Signed-off-by: Tim Orling --- Dockerfile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f3afc4..72f57d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,12 +30,12 @@ RUN DEBIAN_FRONTEND=noninteractive apt

[yocto] [layerindex-web][PATCH 2/6] Dockerfile: sort apt packages alphabetically

2024-01-15 Thread Tim Orling
Make it is a bit easier to see what is installed by sorting the package list alphabetically. Signed-off-by: Tim Orling --- Dockerfile | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02948b6..0f3afc4 100644

[yocto] [layerindex-web][PATCH 1/6] dockersetup: use .zst not .zstd

2024-01-15 Thread Tim Orling
The default file extension for zstd compression is .zst Signed-off-by: Tim Orling --- dockersetup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockersetup.py b/dockersetup.py index 56458d3..21be0da 100755 --- a/dockersetup.py +++ b/dockersetup.py @@ -54,7 +54,7

[yocto] [layerindex-web][PATCH 0/6] Docker related fixes

2024-01-15 Thread Tim Orling
) are available in the Git repository at: https://github.com/moto-timo/layerindex-web docker-fixes https://github.com/moto-timo/layerindex-web/tree/docker-fixes Tim Orling (6): dockersetup: use .zst not .zstd Dockerfile: sort apt packages alphabetically Dockerfile: fix mysqlclient==2.2.1 build

[yocto] [layerindex-web][PATCH 7/7] layerindex: improve updates for actual_branch

2023-12-29 Thread Tim Orling
the "branch mapping" actually work and be useful: [YOCTO #8008] Signed-off-by: Tim Orling --- layerindex/update.py | 39 -- layerindex/update_layer.py | 8 layerindex/utils.py| 7 +-- 3 files changed, 42 insertions(+), 12

[yocto] [layerindex-web][PATCH 6/7] layerindex: add Update Layer UI feature

2023-12-29 Thread Tim Orling
o the same task view afterwards, the log is rendered as expected. TODO: After the update is completed, it would be nice to have a button to return you to the page from where you called the "Update Layer". Signed-off-by: Tim Orling --- layerindex/urls.py | 2

[yocto] [layerindex-web][PATCH 5/7] layerindex: Add actual_branch to forms and views

2023-12-29 Thread Tim Orling
r can be submitted with a different branch for "master", but only the "master" LayerBranch will be created. Further changes to the update.py script will be needed to make creation of new stable branches with an actual_branch possible. Signed-off-by: Tim Orling --- layerindex/f

[yocto] [layerindex-web][PATCH 4/7] dockersetup.py: enable production Let's Encrypt

2023-12-29 Thread Tim Orling
certs for the same domain. Certbot will not overwrite those staging certs and the newly created ones will not be in the path passed in by dockersetup.py. Signed-off-by: Tim Orling --- dockersetup.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dockersetup.py b

[yocto] [layerindex-web][PATCH 3/7] docker/settings.py: fix RABBIT_BROKER TypeError

2023-12-29 Thread Tim Orling
: can only concatenate str (not "NoneType") to str Signed-off-by: Tim Orling --- docker/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/settings.py b/docker/settings.py index 33ab332..c202585 100644 --- a/docker/settings.py +++ b/docker/settings

[yocto] [layerindex-web][PATCH 2/7] layerindex/views.py: fix parse_view typo

2023-12-29 Thread Tim Orling
The Branch Comparison view would throw an error because of a parser_view instead of parse_view typo. [YOCTO #15332] Signed-off-by: Tim Orling --- layerindex/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layerindex/views.py b/layerindex/views.py index e660578

[yocto] [layerindex-web][PATCH 1/7] requirements.txt: bump all to latest

2023-12-29 Thread Tim Orling
Pin mysqlclient as greater than 2.1.1 changes behavior Signed-off-by: Tim Orling --- requirements.txt | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/requirements.txt b/requirements.txt index 62b3f7b..20bcd30 100644

[yocto] [layerindex-web][PATCH 0/7] Fixes; add Update Layer button; expose branch mapping

2023-12-29 Thread Tim Orling
update-button-actual-branch Tim Orling (7): requirements.txt: bump all to latest layerindex/views.py: fix parse_view typo docker/settings.py: fix RABBIT_BROKER TypeError dockersetup.py: enable production Let's Encrypt layerindex: Add actual_branch to forms and views layerindex: add Upd

Re: [yocto] unable to resolve libtss2 dependency

2023-12-12 Thread Tim Orling
On Tue, Dec 12, 2023 at 5:32 PM Mistyron wrote: > Hi, > > I need to add the meta-iotedge layer to my project: > https://github.com/Azure/meta-iotedge/tree/dunfell as I need the > aziot-edged package. > > Upon adding the layer and resolving its dependency on meta-rust, it needs: > libtss2 >

[yocto] [layerindex-web][PATCH] utils.py: fix unclosed (

2023-11-22 Thread Tim Orling
File "/opt/layerindex/layerindex/update.py", line 525 failed_layers[branch].append('%s: Failed to add since LAYERDEPENDS [%s ...] is not SyntaxError: '(' was never closed Signed-off-by: Tim Orling --- layerindex/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[yocto] [layerindex-web][PATCH] update.py: display first unsatisfied LAYERDEPENDS

2023-11-17 Thread Tim Orling
' layer branch, because meta-luneui LAYERDEPENDS on qt6-layer collection, which currently has no 'nanbield' branch. Use next(iter(value['deps'])) to get the first element in the OrderedDict Signed-off-by: Tim Orling --- layerindex/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[yocto] [layerindex-web][PATCH] update.py: show branch if missing conf/layer.conf

2023-11-17 Thread Tim Orling
. Signed-off-by: Tim Orling --- layerindex/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layerindex/update.py b/layerindex/update.py index 3da74e3..7caaca5 100755 --- a/layerindex/update.py +++ b/layerindex/update.py @@ -426,7 +426,7 @@ def main

[yocto] [layerindex-web][PATCH] layerindex/models.py: fix Inactive-Upstream check

2023-11-16 Thread Tim Orling
The regex for Upstream-Status had (\w+), but this does not include hyphen/dash. Explicitly add it to the pattern. Signed-off-by: Tim Orling --- layerindex/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layerindex/models.py b/layerindex/models.py index 397425a

[yocto] [layerindex-web][PATCH] utils.py: get dependent layers at same branch

2023-11-10 Thread Tim Orling
ere always defaulting to the older layer which first defined the "collection". Instead, add an option to use "branch" to filter on the expected LayerBranch object. Keep the old behavior just in case someone depends upon it. [YOCTO #15221] Signed-off-by: Tim Orling --- layerin

[yocto] [layerindex-web][PATCH] update_layer.py: checkout dep layers as well

2023-11-10 Thread Tim Orling
elsewhere, we skip it. [YOCTO #15236] Signed-off-by: Tim Orling --- layerindex/update_layer.py | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/layerindex/update_layer.py b/layerindex/update_layer.py index e0ecc94..6d73fad 100644 --- a/layerindex

[yocto] [layerindex-web][PATCH] update.py: fix updates_enabled for newbranch

2023-11-09 Thread Tim Orling
When a new release is run for the first time, no LayerBranch exists yet and the update_enabled cannot be queried. The unintended result is that all layers are skipped. Move the update_enabled check into the code path where the layerbranch already exists. Signed-off-by: Tim Orling --- layerindex

Re: [yocto] [OE-core] Yocto Project Status 31 October 2023 (WW44)

2023-11-02 Thread Tim Orling
On Tue, Oct 31, 2023 at 5:29 AM Neal Caidin wrote: > Current Dev Position: YP 4.3 M4 (Feature Freeze) > > Next Deadline: 2nd October 2023 YP 4.3 M4 build date > > Next Team Meetings: > >- > >Bug Triage meeting Thursday November 2, 7:30 am PDT ( >

[yocto] [layerindex-web][PATCH] layerindex/tools: add mark_yp_compatible_layers.py

2023-11-02 Thread Tim Orling
-layers.py [YOCTO #15093] Signed-off-by: Tim Orling --- layerindex/tools/mark_yp_compatible_layers.py | 142 ++ 1 file changed, 142 insertions(+) create mode 100755 layerindex/tools/mark_yp_compatible_layers.py diff --git a/layerindex/tools/mark_yp_compatible_layers.py b/layerindex

[yocto] [layerindex-web][PATCH] Add SECURITY.md

2023-11-01 Thread Tim Orling
Add the generic Yocto Project tools SECURITY.md as a first step. Signed-off-by: Tim Orling --- SECURITY.md | 24 1 file changed, 24 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000..7d2ce1f --- /dev

[yocto] [yocto-autobuilder-helper][PATCH] scripts: add list-yp-compatible-layers.py

2023-10-29 Thread Tim Orling
yp_compatible_layers.json file which can be pretty printed with: cat yp_compatible_layers.json | jq Signed-off-by: Tim Orling --- Changes in v2: * corrected the updating of the layers set() * moved all important parameters to args * clean up some comments scripts/list-yp-compatible-layer

Re: [yocto] [yocto-autobuilder-helper] [PATCH] config.json: Fix check-layer for meta-poky/meta-yocto-bsp

2023-10-28 Thread Tim Orling
Steve, This needs to be applied to dunfell, kirkstone, mickledore and nanbield (none of those are performing the correct check now). On Sat, Oct 21, 2023 at 2:18 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Currently, the tests for meta-poky and meta-yocto-bsp were

Re: [yocto] [yocto-autobuilder-helper][PATCH] scripts: add list-yp-compatible-layers.py

2023-10-27 Thread Tim Orling
Please hold off on this version, there is an error in the layers set() handling. I will send a v2. On Fri, Oct 27, 2023 at 3:19 PM Tim Orling via lists.yoctoproject.org wrote: > This is a handy helper script to query the Buildbot REST API to > create a list of Yocto Project Compatib

[yocto] [yocto-autobuilder-helper][PATCH] scripts: add list-yp-compatible-layers.py

2023-10-27 Thread Tim Orling
yp_compatible_layers.json file which can be pretty printed with: cat yp_compatible_layers.json | jq Signed-off-by: Tim Orling --- scripts/list-yp-compatible-layers.py | 155 +++ 1 file changed, 155 insertions(+) create mode 100755 scripts/list-yp-compatible-layers.py diff --gi

[yocto] [layerindex-web][PATCH] bootstrap: fix typo in minified file name

2023-10-19 Thread Tim Orling
Fixes dropdown menus so they are functional again. Signed-off-by: Tim Orling --- .../static/js/{boostrap-3.4.1.min.js => bootstrap-3.4.1.min.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename layerindex/static/js/{boostrap-3.4.1.min.js => bootstrap-3.4.1.min.js} (100%)

[yocto] [layerindex-web][PATCH 3/4] Chart.js: add version to filenames

2023-10-16 Thread Tim Orling
To make it easier to quickly see which version we are using, add the version to the filenames. Signed-off-by: Tim Orling --- layerindex/static/js/{Chart.js => Chart-2.9.3.js} | 0 layerindex/static/js/{Chart.min.js => Chart-2.9.3.min.js} | 0 2 files changed, 0 insertions

[yocto] [layerindex-web][PATCH 2/4] bootstrap: add version to filenames

2023-10-16 Thread Tim Orling
To make it easier to quickly see what version we are using, add the version to the filenames. Also, use minified flavor in templates/base.html Signed-off-by: Tim Orling --- .../static/js/{bootstrap.min.js => boostrap-3.4.1.min.js} | 0 layerindex/static/js/{bootstrap.js => boo

[yocto] [layerindex-web][PATCH 0/4] JavaScript libraries upgrade for CVEs

2023-10-16 Thread Tim Orling
likewise because the syntax changes in 3.x are a bit too invasive for now. Tim Orling (4): jquery: upgrade 3.4.1 -> 3.7.1 bootstrap: add version to filenames Chart.js: add version to filenames Chart.js: upgrade from 2.9.3 to 2.9.4 layerindex/static/LICENSE.jquery |

[yocto] [layerindex-web][PATCH 2/2] update.py: skip unless layerbranch.updates_enabled

2023-10-16 Thread Tim Orling
If layerbranch.updates_enabled is false, skip the update. Signed-off-by: Tim Orling --- layerindex/update.py | 5 + 1 file changed, 5 insertions(+) diff --git a/layerindex/update.py b/layerindex/update.py index 7de9c0d..e7e5c63 100755 --- a/layerindex/update.py +++ b/layerindex/update.py

[yocto] [layerindex-web][PATCH 1/2] models.py: add updates_enabled to LayerBranch

2023-10-16 Thread Tim Orling
Especially since LTS branches have become more popular as the only active branch, we need to be able to turn off updates on a LayerBranch basis rather than the current Layer or Branch heavier hammers. Signed-off-by: Tim Orling --- .../0047_layerbranch_updates_enabled.py| 18

[yocto] [layerindex-web][PATCH 0/2] Allow per LayerBranch update disable

2023-10-16 Thread Tim Orling
(Change from "Published" to "No Update" state) or completely disable a Branch for all layers. These hammers are too heavy and needed a little nuance. Tim Orling (2): models.py: add updates_enabled to LayerBranch update.py: skip unless layerbr

[yocto] [layerindex-web 10/10] docker/settings.py: add CSRF_TRUSTED_ORIGINS

2023-10-06 Thread Tim Orling
/4.2/ref/settings/#csrf-trusted-origins Signed-off-by: Tim Orling --- docker/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/settings.py b/docker/settings.py index a73178c..33ab332 100644 --- a/docker/settings.py +++ b/docker/settings.py @@ -307,6 +307,7 @@ TOOLS_LOG_DIR

[yocto] [layerindex-web 07/10] requirements.txt: upgrade all to latest

2023-10-06 Thread Tim Orling
Signed-off-by: Tim Orling --- requirements.txt | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/requirements.txt b/requirements.txt index 40f696c..612e9cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,26 +1,26 @@ -amqp==5.0.9

[yocto] [layerindex-web 09/10] password_validation.py: fix deprecated ugettext

2023-10-06 Thread Tim Orling
Use django.utils.translation.gettext instead Signed-off-by: Tim Orling --- password_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/password_validation.py b/password_validation.py index 6e15b40..5702a79 100644 --- a/password_validation.py +++ b

[yocto] [layerindex-web 08/10] requirements.txt: update dependencies

2023-10-06 Thread Tim Orling
Use results of: pipenv install pipenv update pip freeze > requirements-freeze.txt Signed-off-by: Tim Orling --- requirements.txt | 12 1 file changed, 12 insertions(+) diff --git a/requirements.txt b/requirements.txt index 612e9cc..62b3f7b 100644 --- a/requirements.txt ++

[yocto] [layerindex-web 06/10] Dockerfile: drop python3-pil

2023-10-06 Thread Tim Orling
This prevents upgrading Pillow in requirements.txt Signed-off-by: Tim Orling --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d8c38e1..02948b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get

[yocto] [layerindex-web 05/10] Refactor usage of django.conf.urls

2023-10-06 Thread Tim Orling
django.conf.urls.url() was removed in Django 4.0: https://docs.djangoproject.com/en/4.2/releases/4.0/#features-removed-in-4-0 Replace all usage with django.urls.re_path() Replace all django.conf.urls imports with equivalent django.urls modules Signed-off-by: Tim Orling --- layerindex/urls.py

[yocto] [layerindex-web 04/10] bootstrap_pagination: disable via comment

2023-10-06 Thread Tim Orling
Wrap the is_pagination usage of bootstrap_pagination with comment/endcomment to avoid incompatible module. We will need to re-write the pagination code. Signed-off-by: Tim Orling --- templates/layerindex/bulkchangesearch.html | 2 ++ templates/layerindex/classes.html | 2 ++ templates

[yocto] [layerindex-web 03/10] Drop django-bootstrap-pagination: incompatible

2023-10-06 Thread Tim Orling
-0 Signed-off-by: Tim Orling --- docker/settings.py | 1 - requirements.txt | 1 - settings.py| 1 - 3 files changed, 3 deletions(-) diff --git a/docker/settings.py b/docker/settings.py index a3f007d..a73178c 100644 --- a/docker/settings.py +++ b/docker/settings.py @@ -161,7 +161,6

[yocto] [layerindex-web 02/10] docker-compose.yml: bump mariadb from 10.3 to 10.4

2023-10-06 Thread Tim Orling
Django 4.2 requires a minimum of 10.4 https://docs.djangoproject.com/en/4.2/releases/4.2/#dropped-support-for-mariadb-10-3 Signed-off-by: Tim Orling --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2dfff41

[yocto] [layerindex-web 01/10] requirements.txt: upgrade Django 3.2 -> 4.2

2023-10-06 Thread Tim Orling
Update to 4.2 LTS release https://docs.djangoproject.com/en/4.2/releases/4.2/ https://docs.djangoproject.com/en/4.1/releases/4.1/ https://docs.djangoproject.com/en/4.0/releases/4.0/ Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[yocto] [layerindex-web 00/10] Django 4.2 LTS Upgrade

2023-10-06 Thread Tim Orling
tional requirement for settings.py is setting CSRF_TRUSTED_ORIGINS to allow POST requests (ALLOWED_HOSTS is no longer sufficient). Tim Orling (10): requirements.txt: upgrade Django 3.2 -> 4.2 docker-compose.yml: bump mariadb from 10.3 to 10.4 Drop django-bootstrap-pagination: inc

[yocto] [layerindex-web 3/3] requirements: bump django-simple-captcha to 0.5.20

2023-10-05 Thread Tim Orling
ion 0.5.15 -- * Updated test matrix, drop tests against Python3.6, test against Python3.9 * Remove dependency on six * Test against Django 4.0a1 * Test with Python 3.10 (Django 3.2 and Django 4.0) * Remove warning for django 3.2 (#206, thanks @MiStErLu) Signed-off-by: Tim Orl

[yocto] [layerindex-web 2/3] dockersetup.py: databasefile zstd compression

2023-10-05 Thread Tim Orling
zstd compression and decompression are significantly faster than gzip. zstd is also "splittable" and is streaming/real-time friendly. Signed-off-by: Tim Orling --- dockersetup.py | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docker

[yocto] [layerindex-web 1/3] build(deps): bump pillow from 9.3.0 to 10.0.1

2023-10-05 Thread Tim Orling
main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1

[yocto] [layerindex-web] build(deps): bump gitpython from 3.1.32 to 3.1.37

2023-09-29 Thread Tim Orling
-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b86ac6e..5bc4659 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ django-reversion-compare==0.14.1 django-simple-captcha==0.5.14

[yocto] [layerindex-web] layerindex/urls.py: fix submit/thanks/ url

2023-09-29 Thread Tim Orling
The url returned by the reverse lookup ends in /submit/thanks/ but the regex was improperly searching for a string without the terminating "/". Thank you to Pawel Zalewski for reporting the 404 error. Signed-off-by: Tim Orling --- layerindex/urls.py | 2 +- 1 file changed, 1 inser

Re: [yocto] [layerindex-web][PATCH 1/2] build(deps): bump pillow from 9.2.0 to 9.3.0

2023-08-24 Thread Tim Orling
Staging on top of 9.2.0 bump by Chee Yang Lee https://patchwork.yoctoproject.org/project/yocto/patch/20230112060706.2700968-1-chee.yang@intel.com/ On Thu, Aug 24, 2023 at 6:42 PM Tim Orling via lists.yoctoproject.org wrote: > From: "dependabot[bot]" <4969933

Re: [yocto] [layerindex-web][PATCH 2/2] build(deps): bump gitpython from 3.1.30 to 3.1.32

2023-08-24 Thread Tim Orling
Staging on top of the 3.1.30 bump by Chee Yang Lee https://patchwork.yoctoproject.org/project/yocto/patch/20230112060706.2700968-1-chee.yang@intel.com/ On Thu, Aug 24, 2023 at 6:42 PM Tim Orling wrote: > From: "dependabot[bot]" <49699333+dependabot[bot]@users.no

[yocto] [layerindex-web][PATCH 2/2] build(deps): bump gitpython from 3.1.30 to 3.1.32

2023-08-24 Thread Tim Orling
ub.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.30...3.1.32) --- updated-dependencies: - dependency-name: gitpython dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Tim Orling ---

[yocto] [layerindex-web][PATCH 1/2] build(deps): bump pillow from 9.2.0 to 9.3.0

2023-08-24 Thread Tim Orling
main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/9.2.0...9.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1

[yocto] [auto-upgrade-helper] Should AUH send patches in-line instead of as attachments?

2023-06-02 Thread Tim Orling
In the `b4 shazaam` workflow, you cannot consume patches from AUH emails because they are sent as attachments. This means a maintainer must first download the patch from an email or wget it from a lore.kernel.org copied url. Before I go implementing something that might be unwanted, is there a

Re: [yocto] Error building m4-native while trying to build Beaglebone Black branch

2023-04-25 Thread Tim Orling
On Tue, Apr 25, 2023 at 2:06 PM Ross Burton wrote: > On 25 Apr 2023, at 15:33, Steven Weaver via lists.yoctoproject.org weaverpad@lists.yoctoproject.org> wrote: > > > > Greetings, > > I am trying to follow the docs to build Yocto for the Beaglebone > Black[1]. I've been able to clone > >

Re: [yocto] #bitbake

2023-03-21 Thread Tim Orling
On Tue, Mar 21, 2023 at 8:51 AM elshoud wrote: > Hi, > > I am new to the mailing list and hope that this is the right place to drop > my question. > For my project I want to make use of the uvicorn package. Because I did > not find any yocto recipe for the latest version I started making one but

Re: [yocto] Failed to load regulatory.db file and error whitlist initialise SD CARD #yocto #linux #bitbake #imx8 #imx6 #kirkstone

2023-03-18 Thread Tim Orling
On Sat, Mar 18, 2023 at 1:12 PM Nikita Gupta wrote: > Hello all, > > I have made linux image for IMX8MPLUS with the help of Yocto and flash the > image on a custom board which is using IMX8MPLUS processor (Image made for > IMX8MPLUS will be required for that board) when i flash that image on >

Re: [yocto] State of Yocto styleguide and oe-stylize.py script

2023-03-17 Thread Tim Orling
On Fri, Mar 17, 2023 at 5:51 AM VIVAVIS AG via lists.yoctoproject.org wrote: > Thank you for all your answers on this topic. > > > > My realization from the discussion is, that there’s currently no > definitive > > guide on how to order variables and tasks. So we’re going to proceed with > our >

Re: [yocto] Hardware accelerated video decoding and display on AMD hardware?

2023-01-28 Thread Tim Orling
On Sat, Jan 28, 2023 at 2:47 PM Ori Pessach wrote: > Hello, > > I asked this on the meta-amd mailing list but got no response. > > Can anyone tell me what needs to be added to an image if I want to enable > accelerated video decoding and display on commodity (PC) AMD hardware? > > The image is

Re: [yocto] Error creating recipe for Perl DBI for postgresql in Kirkstone

2022-12-20 Thread Tim Orling
On Tue, Dec 20, 2022 at 12:28 PM Fernando Luiz Cola wrote: > Hello, I'm trying to write a recipe a Perl DBI for postgresql. I'm > follwing the same recipe found in: > https://layers.openembedded.org/layerindex/recipe/192563/ and > https://layers.openembedded.org/layerindex/recipe/190989/ >

Re: [yocto] [layerindex-web] [PATCH] layerindex/utils.py: Add to baseconfig=True for bb.parse.handle()

2022-12-20 Thread Tim Orling
On Mon, Dec 19, 2022 at 11:26 PM Robert Yang wrote: > Bitbake's api has been changed via: > afb8478d3 parse: Add support for addpylib conf file directive and > BB_GLOBAL_PYMODULES > > The conf file won't be parsed without baseconfig=True: > bb.parse.ParseError: ParseError at >

  1   2   >