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

Bug 262351

Summary: [mirror][repo] P2 mirror applications should verify mirror on completion
Product: [Eclipse Project] Equinox Reporter: Miles Daffin <miles.daffin>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: dj.houghton, helmut.haigermoser, pascal
Version: 3.5Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Miles Daffin CLA 2009-01-26 05:45:28 EST
Build ID: 3.5M3

Steps To Reproduce:
I think the p2 mirror apps (http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring) should verify the mirror on completion. This would be analogous to using an md5checksum on a regular file download to make sure it is identical to the original.
Comment 1 Pascal Rapicault CLA 2009-01-26 10:58:00 EST
What level of verification do you expect? Could you please detail what you expect?
Comment 2 Miles Daffin CLA 2009-01-27 06:23:03 EST
I want to know, at the end of the operation, that I have a full and faithful mirror of the target site. No missing artifacts or broken metadata. I am not sufficiently oh fay with the inner workings of P2 (at the moment) to be able to translate this into P2 concepts. Andrew Cattle suggested: "Take 2 repositories and verify all keys and descriptors match." Does this help?
Comment 3 DJ Houghton CLA 2009-01-28 10:31:57 EST
This sounds similar to a request on the mailing list.

http://dev.eclipse.org/mhonarc/lists/p2-dev/msg00753.html

Comment 4 Pascal Rapicault CLA 2009-04-09 10:12:40 EDT
*** Bug 262660 has been marked as a duplicate of this bug. ***
Comment 5 Miles Daffin CLA 2009-10-23 06:35:55 EDT
I now use the Buckminster Aggregator for all mirroring and would advise anyone needing to mirror to do the same. The Aggregator can be set up to thoroughly verify everything that it downloads. 

So, from my point of view, this issue is closed. (I will leave it to the component owners to decide what to do this this issue.)
Comment 6 Andrew Niefer CLA 2011-10-20 14:43:31 EDT
Moving to inbox
Comment 7 Lars Vogel CLA 2019-11-14 03:48:37 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.