All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] json-c: use GitHub for upstream release checking
@ 2019-09-20 11:16 Ross Burton
  2019-09-20 11:16 ` [PATCH 2/2] json-c: clean up recipe Ross Burton
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ross Burton @ 2019-09-20 11:16 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/json-c/json-c_0.13.1.bb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta/recipes-devtools/json-c/json-c_0.13.1.bb b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
index 9654e60a3d2..fcc3e4337ea 100644
--- a/meta/recipes-devtools/json-c/json-c_0.13.1.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
@@ -10,13 +10,7 @@ SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
 SRC_URI[md5sum] = "04969ad59cc37bddd83741a08b98f350"
 SRC_URI[sha256sum] = "b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873"
 
-UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+).tar"
-# json-c releases page is fetching the list of releases in some weird XML format
-# from https://s3.amazonaws.com/json-c_releases and processes it with javascript :-/
-#UPSTREAM_CHECK_URI = "https://s3.amazonaws.com/json-c_releases/releases/index.html"
-RECIPE_UPSTREAM_VERSION = "0.13.1"
-RECIPE_UPSTREAM_DATE = "Mar 04, 2018"
-CHECK_DATE = "May 02, 2018"
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
 
 RPROVIDES_${PN} = "libjson"
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] json-c: clean up recipe
  2019-09-20 11:16 [PATCH 1/2] json-c: use GitHub for upstream release checking Ross Burton
@ 2019-09-20 11:16 ` Ross Burton
  2019-09-20 11:26 ` [PATCH 1/2] json-c: use GitHub for upstream release checking Adrian Bunk
  2019-09-20 11:32 ` ✗ patchtest: failure for "json-c: use GitHub for upstrea..." and 1 more Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2019-09-20 11:16 UTC (permalink / raw)
  To: openembedded-core

Tidy the indentation of EXTRA_OECONF.

Remove the deletion of config.status which hasn't been in the tarballs since
0.12.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/json-c/json-c_0.13.1.bb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta/recipes-devtools/json-c/json-c_0.13.1.bb b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
index fcc3e4337ea..38a150f4abf 100644
--- a/meta/recipes-devtools/json-c/json-c_0.13.1.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
@@ -16,12 +16,6 @@ RPROVIDES_${PN} = "libjson"
 
 inherit autotools
 
-EXTRA_OECONF = "--disable-werror \
-                "
-
-do_configure_prepend() {
-    # Clean up autoconf cruft that should not be in the tarball
-    rm -f ${S}/config.status
-}
+EXTRA_OECONF = "--disable-werror"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] json-c: use GitHub for upstream release checking
  2019-09-20 11:16 [PATCH 1/2] json-c: use GitHub for upstream release checking Ross Burton
  2019-09-20 11:16 ` [PATCH 2/2] json-c: clean up recipe Ross Burton
@ 2019-09-20 11:26 ` Adrian Bunk
  2019-09-20 11:59   ` Ross Burton
  2019-09-20 11:32 ` ✗ patchtest: failure for "json-c: use GitHub for upstrea..." and 1 more Patchwork
  2 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2019-09-20 11:26 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core

On Fri, Sep 20, 2019 at 12:16:01PM +0100, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-devtools/json-c/json-c_0.13.1.bb | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-devtools/json-c/json-c_0.13.1.bb b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
> index 9654e60a3d2..fcc3e4337ea 100644
> --- a/meta/recipes-devtools/json-c/json-c_0.13.1.bb
> +++ b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
> @@ -10,13 +10,7 @@ SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
>  SRC_URI[md5sum] = "04969ad59cc37bddd83741a08b98f350"
>  SRC_URI[sha256sum] = "b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873"
>  
> -UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+).tar"
> -# json-c releases page is fetching the list of releases in some weird XML format
> -# from https://s3.amazonaws.com/json-c_releases and processes it with javascript :-/
> -#UPSTREAM_CHECK_URI = "https://s3.amazonaws.com/json-c_releases/releases/index.html"
> -RECIPE_UPSTREAM_VERSION = "0.13.1"
> -RECIPE_UPSTREAM_DATE = "Mar 04, 2018"
> -CHECK_DATE = "May 02, 2018"
> +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
>...

Upstream tag names are appending the date to the version,
making "devtool check-upgrade-status" with this patch result in
INFO: json-c                    0.13.1          UNKNOWN_BROKEN  Yi Zhao <yi.zhao@windriver.com>


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



^ permalink raw reply	[flat|nested] 5+ messages in thread

* ✗ patchtest: failure for "json-c: use GitHub for upstrea..." and 1 more
  2019-09-20 11:16 [PATCH 1/2] json-c: use GitHub for upstream release checking Ross Burton
  2019-09-20 11:16 ` [PATCH 2/2] json-c: clean up recipe Ross Burton
  2019-09-20 11:26 ` [PATCH 1/2] json-c: use GitHub for upstream release checking Adrian Bunk
@ 2019-09-20 11:32 ` Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2019-09-20 11:32 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core

== Series Details ==

Series: "json-c: use GitHub for upstrea..." and 1 more
Revision: 1
URL   : https://patchwork.openembedded.org/series/20079/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at 95ad562629)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] json-c: use GitHub for upstream release checking
  2019-09-20 11:26 ` [PATCH 1/2] json-c: use GitHub for upstream release checking Adrian Bunk
@ 2019-09-20 11:59   ` Ross Burton
  0 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2019-09-20 11:59 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: openembedded-core

On 20/09/2019 12:26, Adrian Bunk wrote:
> Upstream tag names are appending the date to the version,
> making "devtool check-upgrade-status" with this patch result in
> INFO: json-c                    0.13.1          UNKNOWN_BROKEN  Yi Zhao <yi.zhao@windriver.com>

I totally tested this and it worked, somehow.  Obviously my tool is broken!

V2 incoming...

Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-20 11:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20 11:16 [PATCH 1/2] json-c: use GitHub for upstream release checking Ross Burton
2019-09-20 11:16 ` [PATCH 2/2] json-c: clean up recipe Ross Burton
2019-09-20 11:26 ` [PATCH 1/2] json-c: use GitHub for upstream release checking Adrian Bunk
2019-09-20 11:59   ` Ross Burton
2019-09-20 11:32 ` ✗ patchtest: failure for "json-c: use GitHub for upstrea..." and 1 more Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.