Community
Participate
Working Groups
bug 312802 actually describes the bug that led to the repository having checksum errors. This bugzilla entry is just to describe the "repair" I did on the helios M7 repository ... just so everyone knows (and I can remember how to do it months from now :)
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.