| Summary: | [publisher] p2 publisher should complain about a bad manifest | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Peter Kullmann <peter.kullmann> | ||||||
| Component: | p2 | Assignee: | Tobias Oberlies <t-oberlies> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | irbull, jan.sievers, pascal.rapicault, pascal | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | Kepler M5 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 340713, 383192 | ||||||||
| Attachments: |
|
||||||||
|
Description
Peter Kullmann
Peter do you have the copy of such a bundle handy that I could use for test purpose. thx I have tried to produce a small example but unfortunately failed (see the newsgroup thread for details as to where this happens). Tobias could you please take a look at this and see if you can provide a patch for RC1. If not feel free to defer to 3.8. Thx The publishers seem to be very lenient about all kinds of problems in the data sources. I agree that they should be more strict in general, but I don't know if anyone relies on the current behaviour. Therefore I would rather address this early in 3.8, allowing for time to react on valid use cases for the lenient behaviour. Move all 3.8 bugs to Juno. It's not clear if changing the publisher at this stage is a good idea. I'll move this out. If others feel different, please feel free to put this on Kepler. Created attachment 224739 [details]
proposed patch including test case
to apply, use 'git am <patch>'
test added and existing tests still passing as far as I can tell
Created attachment 224793 [details]
proposed patch including test case
@Pascal: I hope you don't mind that I submit the patch. Should also be easier from an IP process point of view :-) Patch submitted: http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=ae3f93aef90e280a1711da4ac11342c011ba480d @Jan: Thank you for the contribution. (In reply to comment #9) > @Pascal: I hope you don't mind that I submit the patch. Should also be > easier from an IP process point of view :-) Thanks for taking care of this Tobias. The IP was not really my concern. I just wanted to take the time to review the changes, but the fact you did it is even better :) Thanks for the patch Jan. |