[meta-oe,v3] jq: upgrade 1.6 -> 2021-10-24 git

Message ID 20220119040759.859566-1-wak@google.com
State New
Headers show
Series [meta-oe,v3] jq: upgrade 1.6 -> 2021-10-24 git | expand

Commit Message

William Kennington Jan. 19, 2022, 4:07 a.m. UTC
JQ has gone through more than 3 years of code changes and has had
significant performance improvements since the last release. The team is
still figuring out a new release process. Use the latest git commit to
pull in these changes.

Signed-off-by: William A. Kennington III <wak@google.com>
---
 .../recipes-devtools/jq/{jq_1.6.bb => jq_git.bb}    | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-devtools/jq/{jq_1.6.bb => jq_git.bb} (65%)

Comments

Khem Raj Jan. 19, 2022, 5:13 a.m. UTC | #1
needs these warnings to be fixed as well

WARNING: /mnt/b/yoe/master/sources/meta-openembedded/meta-oe/recipes-devtools/jq/jq_git.bb:
URL: git://github.com/stedolan/jq;protocol=https does not set any
branch parameter. The future d
efault branch used by tools and repositories is uncertain and we will
therefore soon require this is set in all git urls.
WARNING: /mnt/b/yoe/master/sources/meta-openembedded/meta-oe/recipes-devtools/jq/jq_git.bb:
URL: git://github.com/stedolan/jq;protocol=https does not set any
branch parameter. The future d
efault branch used by tools and repositories is uncertain and we will
therefore soon require this is set in all git urls.

On Tue, Jan 18, 2022 at 8:08 PM William A. Kennington III via
lists.openembedded.org <wak=google.com@lists.openembedded.org> wrote:
>
> JQ has gone through more than 3 years of code changes and has had
> significant performance improvements since the last release. The team is
> still figuring out a new release process. Use the latest git commit to
> pull in these changes.
>
> Signed-off-by: William A. Kennington III <wak@google.com>
> ---
>  .../recipes-devtools/jq/{jq_1.6.bb => jq_git.bb}    | 13 +++++--------
>  1 file changed, 5 insertions(+), 8 deletions(-)
>  rename meta-oe/recipes-devtools/jq/{jq_1.6.bb => jq_git.bb} (65%)
>
> diff --git a/meta-oe/recipes-devtools/jq/jq_1.6.bb b/meta-oe/recipes-devtools/jq/jq_git.bb
> similarity index 65%
> rename from meta-oe/recipes-devtools/jq/jq_1.6.bb
> rename to meta-oe/recipes-devtools/jq/jq_git.bb
> index bfaeed5fe..ef6fd1db8 100644
> --- a/meta-oe/recipes-devtools/jq/jq_1.6.bb
> +++ b/meta-oe/recipes-devtools/jq/jq_git.bb
> @@ -6,15 +6,12 @@ HOMEPAGE = "https://stedolan.github.io/jq/"
>  BUGTRACKER = "https://github.com/stedolan/jq/issues"
>  SECTION = "utils"
>  LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=15d03e360fa7399f76d5a4359fc72cbf"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2814b59e00e7918c864fa3b6bbe049b4"
>
> -SRC_URI = "https://github.com/stedolan/${BPN}/releases/download/${BP}/${BP}.tar.gz"
> -
> -UPSTREAM_CHECK_URI = "https://github.com/stedolan/${BPN}/releases"
> -UPSTREAM_CHECK_REGEX = "jq\-(?P<pver>(\d+\.\d+))(?!_\d+).tar.gz"
> -
> -SRC_URI[md5sum] = "e68fbd6a992e36f1ac48c99bbf825d6b"
> -SRC_URI[sha256sum] = "5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72"
> +PV = "1.16+git${SRCPV}"
> +SRC_URI = "git://github.com/stedolan/jq;protocol=https"
> +SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e"
> +S = "${WORKDIR}/git"
>
>  inherit autotools-brokensep
>
> --
> 2.34.1.703.g22d0c6ccf7-goog
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#94933): https://lists.openembedded.org/g/openembedded-devel/message/94933
> Mute This Topic: https://lists.openembedded.org/mt/88528100/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
William Kennington Jan. 19, 2022, 7:24 a.m. UTC | #2
Totally missed that, apparently my distro is out of date compared to upstream

Patch

diff --git a/meta-oe/recipes-devtools/jq/jq_1.6.bb b/meta-oe/recipes-devtools/jq/jq_git.bb
similarity index 65%
rename from meta-oe/recipes-devtools/jq/jq_1.6.bb
rename to meta-oe/recipes-devtools/jq/jq_git.bb
index bfaeed5fe..ef6fd1db8 100644
--- a/meta-oe/recipes-devtools/jq/jq_1.6.bb
+++ b/meta-oe/recipes-devtools/jq/jq_git.bb
@@ -6,15 +6,12 @@  HOMEPAGE = "https://stedolan.github.io/jq/"
 BUGTRACKER = "https://github.com/stedolan/jq/issues"
 SECTION = "utils"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=15d03e360fa7399f76d5a4359fc72cbf"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2814b59e00e7918c864fa3b6bbe049b4"
 
-SRC_URI = "https://github.com/stedolan/${BPN}/releases/download/${BP}/${BP}.tar.gz"
-
-UPSTREAM_CHECK_URI = "https://github.com/stedolan/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "jq\-(?P<pver>(\d+\.\d+))(?!_\d+).tar.gz"
-
-SRC_URI[md5sum] = "e68fbd6a992e36f1ac48c99bbf825d6b"
-SRC_URI[sha256sum] = "5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72"
+PV = "1.16+git${SRCPV}"
+SRC_URI = "git://github.com/stedolan/jq;protocol=https"
+SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e"
+S = "${WORKDIR}/git"
 
 inherit autotools-brokensep