Maybe I wasn't clear on the previous mail regarding the checksums handling
on import, let me try to explain it better -
When you import from from a previous Artifactory export, file metadata,
including original/client
checksums, is taken from the exported metadata.
In your case, the export doesn't contain metadata so Artifactory
recalculates what it can (file
size, actual checksums etc.). But it cannot tell what was the
original/client checksum so it
keeps it empty. This behavior is normal.

Now, later if you try to download a file's checksum, and the checksum policy
uses is the client checksum,
Artifactory will return 404 - not found, because it doesn't have the client
checksum (and the policy tells
it to return the client checksum).
If you change the policy to server checksums, you will never get 404 because
Artifactory will return the
calculated checksum (which always exists).

I fully understand the need for what you require (use client checksums for
future deployments but to
trust imported files with no client checksums). So, we'll add another option
to the import that will
direct Artifactory to copy the server checksum to the client checksum if it
is missing. This feature
will hopefully be released with the next minor version of Artifactory
(planned for release in the next few
days). You can track this issue at
http://issues.jfrog.org/jira/browse/RTFACT-3081.

HTH,
Yossi


On Wed, Apr 14, 2010 at 12:51 PM, fmt <[email protected]> wrote:

>
> I wanted to say "null checksum", not new.
> My sentence is more understandable this way:
>
> Also you confirm it's a bug that when there is a null original checksum
> artifactory reacts as if there were a different original and server
> checksum
> and doesn't allow to download the checksum ?
>
> Sorry for the mistyping...
>
> Rgds
> --
> View this message in context:
> http://n2.nabble.com/Checksum-errors-when-downloading-artifacts-from-artifactory-2-2-2-tp4889968p4900744.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to