| Summary: | Helios M7 repo contains checksum errors and should be fixed | ||
|---|---|---|---|
| Product: | Community | Reporter: | David Williams <david_williams> |
| Component: | Cross-Project | Assignee: | David Williams <david_williams> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | thomas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
David Williams
I copied the 201005070900 sub-repository to 201005070900a, then ran p2.process.artifacts task on that new repository. Then I remembered to correct the mirrorsURL in artifacts.jar Then, after allowing 201005070900a to mirror for a day, changed the composite repo to point to it, and removed 201005070900. I'll physically delete 201005070900 from the file system in the coming week, unless someone tell me they need it (for testing, or comparisons, for example). This repair work was completed Sunday evening. It has been reported to me that I did this repair incorrectly, The mirrorsURL ended up with an extra & in it, transforming the & I gave it, in a URL, to &amp. This came about, because (for the first time) I wrote a small application to use P2 APIs to set the mirrorsURL property on the repository. I read in through a system variable, namely -Dp2MirrorsURL=http://www.eclipse.org/downloads/download.php?format=xml∓file=/releases/helios/201005070900a/aggregate/&protocol=http and apparently should use unescaped values: -Dp2MirrorsURL=http://www.eclipse.org/downloads/download.php?format=xml&file=/releases/helios/201005070900a/aggregate/&protocol=http Not sure if its "p2 code" or some XML code somewhere, that is re-escaping the ampersand ... but it is reasonable (or, at least common) to have to supply unescaped values and let the code escape it. Lesson learned. Oh, and I should say, I've now fixed it in the M7a repository, 201005070900a. |