Re: [yocto] [auh] Question setting up AUH locally

2025-02-17 Thread Alexander Kanavin via lists.yoctoproject.org
On Mon, 17 Feb 2025 at 21:32, Tom Geelen wrote: > If I adjust > the UPSTREAM_CHECK_REGEX to: > > UPSTREAM_CHECK_REGEX = > "${PYPI_PACKAGE}-(?P(\d+[\.\-_]*)+).(tar\.gz|tgz|zip|tar\.bz2)" > > It finds a match perfectly. There is some logic in pypi.bbclass that aim to help with such tweaks. I sugge

Re: [yocto] [auh] Question setting up AUH locally

2025-02-17 Thread Tom Geelen via lists.yoctoproject.org
Right, tried that for one of the failing recipes (python3-zwave-me-ws): UPSTREAM_CHECK_URI="https://pypi.org/simple/zwave-me-ws"; UPSTREAM_CHECK_REGEX="zwave-me-ws-(?P(\d+[\.\-_]*)+).(tar\.gz|tgz|zip|tar\.bz2)" Then the problem is clear: UPSTREAM_CHECK_REGEX takes PN as the first argument, but si

Re: [yocto] [auh] Question setting up AUH locally

2025-02-17 Thread Alexander Kanavin via lists.yoctoproject.org
If upstream version check doesn't return sensible values, run 'bitbake -e recipename', and look for UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX. What do they contain, and does the regex match what is available when opening the uri? Alex On Mon, 17 Feb 2025 at 20:26, Tom Geelen wrote: > > Well I

Re: [yocto] [auh] Question setting up AUH locally

2025-02-17 Thread Tom Geelen via lists.yoctoproject.org
Well I checked with python3-zwave-me-ws (https://github.com/meta-homeassistant/meta-homeassistant/blob/main/recipes-devtools/python/python3-zwave-me-ws_0.4.3.bb) with the proposed command and the latest version is empty. Adding the recipe maintainer here does not change anything. NOTE: Starting bi

Re: [yocto] [auh] Question setting up AUH locally

2025-02-17 Thread Alexander Kanavin via lists.yoctoproject.org
For auh to work, upstream version check needs to function properly and quite often it doesn’t because no one ensured that when writing the recipe. Can you show the recipe and the output of ‘devtool latest-version recipename’ ? Alex On Mon 17. Feb 2025 at 19.09, Tom Geelen wrote: > Hi all, > > I

Re: [yocto] [auh] Question setting up AUH locally

2025-02-17 Thread Alex Kiernan via lists.yoctoproject.org
On Mon, Feb 17, 2025 at 6:09 PM Tom Geelen via lists.yoctoproject.org wrote: > > Hi all, > > I am currently trying to set up AUH locally in order to ease the > maintenance of the layer I'm maintaining (meta-homeassistant). > I have followed the steps given here > https://docs.yoctoproject.org/dev-