Skip to contentSkip to conversation

jq: upgrade 1.6 -> 2021-10-24 git

PATCH Superseded William A. Kennington III 2 participants 9 messages Jan 18, 2022 – Jan 19, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jq: upgrade 1.6 -> 2021-10-24 git

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.

---
 meta-oe/recipes-devtools/jq/{jq_1.6.bb => jq_git.bb} | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-devtools/jq/{jq_1.6.bb => jq_git.bb} (71%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +4 -7
similarity index 71%
rename from meta-oe/recipes-devtools/jq/jq_1.6.bb
rename to meta-oe/recipes-devtools/jq/jq_git.bb
index bfaeed5fe..102bb9f15 100644
@@ -8,13 +8,10 @@ SECTION = "utils"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=15d03e360fa7399f76d5a4359fc72cbf"
 
-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${SRCREV}"
+SRC_URI = "git://github.com/stedolan/jq;protocol=https"
+SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e"
+S = "${WORKDIR}/git"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog
#1 lore raw

this fails license checks. how was this tested?

https://errors.yoctoproject.org/Errors/Details/622753/

Quoted 49 lines · William A. Kennington III via lists.openembedded.org

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.

---
 meta-oe/recipes-devtools/jq/{jq_1.6.bb => jq_git.bb} | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-devtools/jq/{jq_1.6.bb => jq_git.bb} (71%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +4 -8
similarity index 71%
rename from meta-oe/recipes-devtools/jq/jq_1.6.bb
rename to meta-oe/recipes-devtools/jq/jq_git.bb
index bfaeed5fe..102bb9f15 100644
@@ -8,13 +8,10 @@ SECTION = "utils"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=15d03e360fa7399f76d5a4359fc72cbf"
 
-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${SRCREV}"
+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 (#94922): https://lists.openembedded.org/g/openembedded-devel/message/94922
Mute This Topic: https://lists.openembedded.org/mt/88522693/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

This was an error in translation as I cherry-picked this change into a working tree and fixed the hash there without fixing the original commit. Otherwise this was tested on some machines here.

#3 lore raw

PATCH v2 1/1 jq: upgrade 1.6 -> 2021-10-24 git

In reply to William A. Kennington III

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.

---
 .../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%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +5 -8
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..cfbef9393 100644
@@ -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${SRCREV}"
+SRC_URI = "git://github.com/stedolan/jq;protocol=https"
+SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e"
+S = "${WORKDIR}/git"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog
#4 lore raw

PATCH v3 1/1 jq: upgrade 1.6 -> 2021-10-24 git

In reply to William A. Kennington III

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.

---
 .../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%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +5 -8
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
@@ -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
 
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog
#5 lore raw

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.

Quoted 52 lines · William A. Kennington III via lists.openembedded.org

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.

---
 .../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%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +5 -9
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
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

Totally missed that, apparently my distro is out of date compared to upstream

#7 lore raw

PATCH v4 1/1 jq: upgrade 1.6 -> 2021-10-24 git

In reply to William A. Kennington III

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.

---
 .../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%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +5 -8
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..1e5af022e 100644
@@ -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;branch=master"
+SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e"
+S = "${WORKDIR}/git"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog
#8 lore raw

PATCH v5 1/1 jq: upgrade 1.6 -> 2021-10-24 git

In reply to William A. Kennington III

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.

---
 .../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%)
meta-oe/recipes-devtools/jq/jq_git.bb renamed from meta-oe/recipes-devtools/jq/jq_1.6.bb +5 -8
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..d0c70da76 100644
@@ -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.6+git${SRCPV}"
+SRC_URI = "git://github.com/stedolan/jq;protocol=https;branch=master"
+SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e"
+S = "${WORKDIR}/git"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog