Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326476

Summary: set the specific status code when artifact's md5 doesn't match the expected value
Product: [Eclipse Project] Equinox Reporter: Meng Xin Zhu <kane.zhu>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: kane.mx
Version: 3.6   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch pascal: iplog+

Description Meng Xin Zhu CLA 2010-09-28 22:48:02 EDT
When downloading(mirroring) the artifacts, p2 tries to download the artifacts and verifies their md5 if the expected value is recorded in the artifact repository. p2 would report the error via status object if the value doesn't match the expected value.

I hope p2 specifies the specific code for the error status to indicate it's an error related to md5 verification.
Comment 1 Meng Xin Zhu CLA 2010-09-28 22:57:03 EDT
Created attachment 179802 [details]
patch

It's a small change, but add public constant in API class.
Comment 2 Meng Xin Zhu CLA 2011-01-27 21:29:19 EST
Could somebody have a look at this one? Thanks.
Comment 3 DJ Houghton CLA 2011-01-28 11:43:45 EST
Released. Thanks for the patch.