All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Mike Crowe <mac@mcrowe.com>
Cc: "André Draszik" <andre.draszik@jci.com>,
	openembedded-devel@lists.openembedded.org
Subject: Re: [meta-java][PATCH] jdepend: Update download hashes
Date: Thu, 03 May 2018 23:06:08 +0000	[thread overview]
Message-ID: <CAMKF1srKd6337K0rPSF9nkRdtHzcw+gE9khswY_VPt4Ka9jVEQ@mail.gmail.com> (raw)
In-Reply-To: <20180503094308.7549-1-mac@mcrowe.com>

On Thu, May 3, 2018 at 2:58 AM Mike Crowe <mac@mcrowe.com> wrote:

> When Bitbake downloads jdepend-2.9.1.zip itself and I download
> https://github.com/clarkware/jdepend/blob/master/dist/jdepend-2.9.1.zip ,
> the calculated hashes don't match the ones included in the recipe.
>
> The hashes were last changed in commit
> dd5c43fca8289b8795a9214aee616775e1493109 on 1st March, but GitHub claims
> that the file being downloaded was published on 20th January, so I can't
> explain why they are wrong.


Yeah no one knows how these archives are generated but we know that they
can change with out notice. Perhaps we should switch to using git fetcher
pointing srcrev to same release SHA
And hope that remains consistent

>
>
> Nevertheless, let's update the recipe to use hashes that match the current
> download.
>
> Signed-off-by: Mike Crowe <mac@mcrowe.com>
> Cc: André Draszik <andre.draszik@jci.com>
> ---
>  recipes-core/jdepend/jdepend_2.9.1.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/
> jdepend_2.9.1.bb
> index 5f09a8b..a924f1d 100644
> --- a/recipes-core/jdepend/jdepend_2.9.1.bb
> +++ b/recipes-core/jdepend/jdepend_2.9.1.bb
> @@ -18,7 +18,7 @@ do_compile() {
>    fastjar cf ${JARFILENAME} -C build .
>  }
>
> -SRC_URI[md5sum] = "9b91efe1d770e023893f89f4dde8434e"
> -SRC_URI[sha256sum] =
> "536b5082d64e4f4dddd514ce30178f36c7a31b34d969275f278f72e522e7f7c9"
> +SRC_URI[md5sum] = "0cbaf43493cd30838bee261f69e76fe9"
> +SRC_URI[sha256sum] =
> "b9f34236aaea5ddc070caa29794d2f5ae79bc12e199bec6ebba6c29093a17a9e"
>
>  BBCLASSEXTEND = "native"
> --
> 2.11.0
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


  reply	other threads:[~2018-05-03 23:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03  9:43 [meta-java][PATCH] jdepend: Update download hashes Mike Crowe
2018-05-03 23:06 ` Khem Raj [this message]
2018-05-04 18:37 ` [meta-java][PATCHv2] jdepend: Retrieve source from Git rather than tarball Mike Crowe
2018-05-04 19:34   ` Khem Raj
2018-05-08  9:28   ` Burton, Ross
2018-05-08  9:36     ` [meta-java][PATCHv3] " Mike Crowe
2018-06-11 13:10       ` Mike Crowe
2018-06-12  9:21       ` Richard Leitner
2018-06-12 19:46       ` Richard Leitner
2018-05-16  9:53     ` [meta-java][PATCHv2] " André Draszik
2018-05-16 10:52       ` Burton, Ross
2018-05-16 10:56         ` Burton, Ross
2018-05-16  9:29 ` [meta-java][PATCH] jdepend: Update download hashes André Draszik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMKF1srKd6337K0rPSF9nkRdtHzcw+gE9khswY_VPt4Ka9jVEQ@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=andre.draszik@jci.com \
    --cc=mac@mcrowe.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.