Hey,
I am using
Nexus 3.0,3.3.1 Platform: Linux, Repos/Artifacts: Non-Maven. Scripting: only Python, Curl.
I need to get md5/sha1 of a Nexus artifact/file without downloading it.
As Nexus 3 don't support Rest calls, is there another way to do so.
i tried
1. curl -v -u 'username:Password' -H "Accept:application/json" "http://nexusIP/repository/Raw_1/abc.tar?describe=info"
2. curl -u username:Password -v -4 http://nexusIP:8081/repository/Raw_1/Easy_Note_Bigger_2.tar >> file
But no success, I get other details as metadata but not md5/sha1.
Any help is appreciated.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/8b4957bf-cc12-48c3-9fbe-c46c7575579c%40glists.sonatype.com.
We have a similar use of this function – our particular use-case is to include the artifact MD5 checksum on release notes.
This way the recipients of the release note know whether or not the artifact which was released is the artifact which they've downloaded from Nexus, or whether it has been replaced by a new copy of the artifact.
Dg.
From: nexus...@glists.sonatype.com [mailto:nexus...@glists.sonatype.com]
On Behalf Of Peter Lynch
Sent: 20 June 2017 20:08
To: Mahesh Pawar <mahesh....@gmail.com>
Cc: Nexus Users <nexus...@glists.sonatype.com>
Subject: Re: Getting md5/sha1 from nexus artifact
On Mon, Jun 19, 2017 at 4:41 AM, Mahesh Pawar <mahesh....@gmail.com> wrote:
Hey,
I am using
Nexus 3.0,3.3.1 Platform: Linux, Repos/Artifacts: Non-Maven. Scripting: only Python, Curl.
I need to get md5/sha1 of a Nexus artifact/file without downloading it.
Why? Use Case?
As Nexus 3 don't support Rest calls, is there another way to do so.
Can you upload the sha1 file when you upload the tar? Then later only download the sha1.
i tried
1. curl -v -u 'username:Password' -H "Accept:application/json" "http://nexusIP/repository/Raw_1/abc.tar?describe=info"
2. curl -u username:Password -v -4 http://nexusIP:8081/repository/Raw_1/Easy_Note_Bigger_2.tar >> file
But no success, I get other details as metadata but not md5/sha1.
Any help is appreciated.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/8b4957bf-cc12-48c3-9fbe-c46c7575579c%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to
nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CAC16qPinMiD7x9FtJi1Xtx-A%2BfU_WTWidtCkynFdOpOSLAUPtw%40mail.gmail.com.
For more options, visit
https://groups.google.com/a/glists.sonatype.com/d/optout.