From users-return-3965-archive-asf-public=cust-asf.ponee.io@buildr.apache.org Fri Mar 2 12:29:41 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id EFBF318062F for ; Fri, 2 Mar 2018 12:29:40 +0100 (CET) Received: (qmail 71545 invoked by uid 500); 2 Mar 2018 11:29:40 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 71529 invoked by uid 99); 2 Mar 2018 11:29:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2018 11:29:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E4F2E1805D6 for ; Fri, 2 Mar 2018 11:29:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id pM5UUmwB-LCS for ; Fri, 2 Mar 2018 11:29:36 +0000 (UTC) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 821155F126 for ; Fri, 2 Mar 2018 11:29:36 +0000 (UTC) Received: by mail-ua0-f170.google.com with SMTP id m43so5853308uah.1 for ; Fri, 02 Mar 2018 03:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xLQMuusIRrElfq+gx6f8+z9NO/PYC7Ak1e4rkmyOE2U=; b=lCCT4nJMFdpsc18XuqWBEiH6SnrBJUiTi4gJXlZgmjM179ko390es9FXfjtAG+oaIx b4wiQ0/9h+x+ZopRObKcvzCD2z3Wk9KSm50I4mDUH2o7WLgD/CzhN3KOtiX5oSqtzTFZ qNnwO6FK7scNQf/b5vOx83q8L2ldTxLJPW6r+LG1KgA+Ja7n+8ydYYfIwb7IS/B8BKJo NSqC3E1whKUneQXFh05VyqO0b4DICZKx9X4mTG/rzTNd6Y830a24JRzPKgsJ2bz0Dyik eh99rLPyedp3SCwrkGPnKxWVQILQzr+0pA0AKrqFiGBlGLoqkuI1tFqBY9uvKfTTyLU+ zJFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=xLQMuusIRrElfq+gx6f8+z9NO/PYC7Ak1e4rkmyOE2U=; b=LXnnB3jlWrC6H0oXacpT/JIUhIHRhhBTPJGBMHEkyiGQGKFfGpW/Vc7oUwBQmaAyem gABf90VhNI5YsT8+uu4WAQ0hBLEKZPxVHhU5/vn57QC5fKtpPLaHh9NnHAy3sDw1YsTF zx7l/48YksXWTzbYFAFRu9J6DRVrLvLTQhovbU/TQu+fW/WBZ5EkeS6RugreVVellfuB X91IlnUaExMwIU/4s5orEYOXf6LCYl4CRQXRgnLeUvtzBqRg5hmYdJtkpVLpRxsZWT6z 7ACulIkEQEgPECtvOB5quF/s2BQ5y0RvCnMF0pvps2tx0xHluUif8xBChw0DqERa27uv aoHA== X-Gm-Message-State: APf1xPCCEQElXr2cNRJx8lziU/DOXDam4WesKKFGsgbKvmsLZQK+Q0vQ VXOYOTP/2tkrAqzcev4mLoWTHSkWHrwisxrOYrUsWA== X-Google-Smtp-Source: AG47ELsaOinfSjLBRzDQHCUeAgQr+JsEIRol3Z7fGkT22rUWb5vkhkvKasSAY/HsAfoxPTiOSyl0pCMxgNNy72i+0Xg= X-Received: by 10.176.76.193 with SMTP id e1mr3645135uag.32.1519990170387; Fri, 02 Mar 2018 03:29:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.4.231 with HTTP; Fri, 2 Mar 2018 03:29:29 -0800 (PST) In-Reply-To: References: From: Sathwik B P Date: Fri, 2 Mar 2018 16:59:29 +0530 Message-ID: Subject: Re: Generate SHA512 checksum To: users@buildr.apache.org Content-Type: multipart/alternative; boundary="f40304378ed02b0b2605666c4a85" --f40304378ed02b0b2605666c4a85 Content-Type: text/plain; charset="UTF-8" Peter, Thanks for the PR. Will have a build and let you know. I was wondering on the transport.rb upload but wasn't knowing how to pass the :digests with different values. digests = (options[:digests] || [:md5, :sha1, :sha512]) Coming back the original problem, if other users are using gpg for signing snapshots, due to the timestamping thing that came in 1.5.0, one would experiece the same problem. Just for my understanding, can we hold the timestamp constant for the lifetime of the build session using the same timestamp for all the artifacts that gets uploaded during that session, this could probably solve the above issue. No? #{upload_name} comes up with a new timestamp everytime when the upload is called for each arfifact. https://github.com/apache/buildr/blob/master/lib/buildr/packaging/artifact.rb#L237 regards, sathwik On Fri, Mar 2, 2018 at 4:20 PM, Peter Donald wrote: > Okay - had a chance to look at it. See what I did in > https://github.com/apache/ode/pull/5/files and hopefully that works > for you > > On Wed, Feb 28, 2018 at 6:11 PM, Sathwik B P wrote: > > Hi Peter, > > > > We added it as rake file untill the buildr comes with an addon. I did > fix a > > couple of comilation issues. > > https://github.com/apache/ode/blob/ode-1.3.x/tasks/sha512.rake > > > > SHA512 digest is created for the artifacts but it's also creating > multiple > > copies of pom.xml for all sub modules. > > https://repository.apache.org/content/repositories/ > snapshots/org/apache/ode/ode-axis2/1.3.8-SNAPSHOT/ > > > > ode-axis2-1.3.8-20180228.064019-1.jar Wed Feb 28 06:40:22 UTC 2018 > > 187851 > > ode-axis2-1.3.8-20180228.064019-1.jar.md5 Wed Feb 28 06:40:23 UTC > 2018 > > 32 > > ode-axis2-1.3.8-20180228.064019-1.jar.sha1 Wed Feb 28 06:40:23 UTC > 2018 > > 40 > > ode-axis2-1.3.8-20180228.064019-1.pom Wed Feb 28 06:40:21 UTC 2018 > > 22084 > > ode-axis2-1.3.8-20180228.064019-1.pom.md5 Wed Feb 28 06:40:21 UTC > 2018 > > 32 > > ode-axis2-1.3.8-20180228.064019-1.pom.sha1 Wed Feb 28 06:40:22 UTC > 2018 > > 40 > > ode-axis2-1.3.8-20180228.064024-1.jar.sha512 Wed Feb 28 06:40:25 UTC > > 2018 128 > > ode-axis2-1.3.8-20180228.064024-1.jar.sha512.md5 Wed Feb 28 06:40:25 > > UTC 2018 32 > > ode-axis2-1.3.8-20180228.064024-1.jar.sha512.sha1 Wed Feb 28 > 06:40:26 > > UTC 2018 40 > > ode-axis2-1.3.8-20180228.064024-1.pom Wed Feb 28 06:40:24 UTC 2018 > > 22084 > > ode-axis2-1.3.8-20180228.064024-1.pom.md5 Wed Feb 28 06:40:24 UTC > 2018 > > 32 > > ode-axis2-1.3.8-20180228.064024-1.pom.sha1 Wed Feb 28 06:40:25 UTC > 2018 > > 40 > > ode-axis2-1.3.8-20180228.064026-1.pom Wed Feb 28 06:40:26 UTC 2018 > > 22084 > > ode-axis2-1.3.8-20180228.064026-1.pom.md5 Wed Feb 28 06:40:27 UTC > 2018 > > 32 > > ode-axis2-1.3.8-20180228.064026-1.pom.sha1 Wed Feb 28 06:40:27 UTC > 2018 > > 40 > > ode-axis2-1.3.8-20180228.064026-1.pom.sha512 Wed Feb 28 06:40:28 UTC > > 2018 128 > > ode-axis2-1.3.8-20180228.064026-1.pom.sha512.md5 Wed Feb 28 06:40:28 > > UTC 2018 32 > > ode-axis2-1.3.8-20180228.064026-1.pom.sha512.sha1 Wed Feb 28 > 06:40:28 > > UTC 2018 40 > > > > Any ideas? > > > > regards, > > sathwik > > > > On Thu, Feb 8, 2018 at 5:35 AM, Peter Donald > wrote: > > > >> Hi, > >> > >> I was going to see if I could whip up an addon but daddy duty calls so > >> all of I have got is the start of an addon at: > >> > >> https://gist.github.com/realityforge/51afcba9ae15458a6e027d881bb33d9c > >> > >> It was copied from the gpg addon and modified. It should be very close > >> to working if not complete but I have not even tried to run it. > >> > >> Hope that helps somewhat! > >> > >> On Wed, Feb 7, 2018 at 7:26 PM, Sathwik B P wrote: > >> > Hi Guys, > >> > > >> > Is there a way we can generate SHA512 checksum for artifacts during > >> > upload/release task? > >> > [http://www.apache.org/dev/release-distribution#sigs-and-sums] > >> > > >> > We are on Buildr-1.5.3 > >> > > >> > regards, > >> > sathwik > >> > >> > >> > >> -- > >> Cheers, > >> > >> Peter Donald > >> > > > > -- > Cheers, > > Peter Donald > --f40304378ed02b0b2605666c4a85--