The check already works, at least for me it correctly checks both the
top level directory and the 'latest' directory:
...
--2024-01-02 16:51:30--  https://sourceware.org/ftp/debugedit/
...
--2024-01-02 16:51:30--  https://sourceware.org/ftp/debugedit/5.0/
...
INFO: debugedit                 5.0             MATCH           Chen
Qi <qi.c...@windriver.com>

What does devtool output for you, without the patch?

Alex

On Tue, 2 Jan 2024 at 09:38, Chen Qi via lists.openembedded.org
<Qi.Chen=windriver....@lists.openembedded.org> wrote:
>
> From: Chen Qi <qi.c...@windriver.com>
>
> Add UPSTREAM_CHECK_URI(REGEX) to allow for checking new releases
> for debugedit recipe.
>
> Signed-off-by: Chen Qi <qi.c...@windriver.com>
> ---
>  meta/recipes-devtools/debugedit/debugedit_5.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/debugedit/debugedit_5.0.bb 
> b/meta/recipes-devtools/debugedit/debugedit_5.0.bb
> index 63ad7babd9..3a596f5fea 100644
> --- a/meta/recipes-devtools/debugedit/debugedit_5.0.bb
> +++ b/meta/recipes-devtools/debugedit/debugedit_5.0.bb
> @@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
>                      file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
>                      file://COPYING3;md5=d32239bcb673463ab874e80d47fae504"
>
> +UPSTREAM_CHECK_URI = "https://sourceware.org/ftp/debugedit/";
> +UPSTREAM_CHECK_REGEX = "(?P<pver>(\d\.\d))/"
> +
>  SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz";
>
>  SRC_URI:append:libc-musl = "\
> --
> 2.34.1
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193248): 
https://lists.openembedded.org/g/openembedded-core/message/193248
Mute This Topic: https://lists.openembedded.org/mt/103478272/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to