[ http://jira.codehaus.org/browse/MRM-212?page=all ]

Arnaud Heritier updated MRM-212:
--------------------------------

    Attachment: MRM-212.patch

This patch includes the one from Raphaƫl but it fix the algorithm in 
DefaultProxyRequestHandler.checkChecksum(...) to fix some problems, and it 
updates web screens to view/edit the checksum policy for proxies.
I'm annoyed because I had to change the test ProxyRequestHandlerTest. I had to 
set the GlobalChecksumPolicy of the ArtifactRepositoryFactory to 
CHECKSUM_POLICY_FAIL. I don't understand why I need to do it here, because it's 
the default checksum policy.
Is there someone who can review this patch ?
Do you think that we have to add some new tests ?
For those who want to give a try to this fix (and to the one for MRM-211), I 
just uploaded a snapshot of the webapp here : 
http://people.apache.org/~aheritier/archiva/

> configure checksum policy for proxied repository
> ------------------------------------------------
>
>                 Key: MRM-212
>                 URL: http://jira.codehaus.org/browse/MRM-212
>             Project: Archiva
>          Issue Type: Improvement
>          Components: remote proxy
>            Reporter: nicolas de loof
>            Priority: Minor
>         Attachments: 2006-10-26-checksum-policy.patch, MRM-212.patch
>
>
> Some artifact on repo1.maven.org have bad checksum. This need fix, but this 
> also make archiva not usable as a replacement for maven-proxy.
> As maven itself allow to configure a checksum policy, a new configuration 
> parameter on proxied repo would be nice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to