I have opened bug 383145 on this p2.mirrorsURL and .blobstore issue. 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=383145

Pretty sure it is "broken" (or, working as designed, and just designed for 
peer-artifacts) and we need to give more specific advice for eclipse.org 
repos. 

Alexander, you've done so much already ... but, I'm curious, do you still 
have that old "blobstore" version around? 

I suspect if you used .blobstore in the p2.mirrorsURL, such as 

http://www.eclipse.org/downloads/download.php?format=xml&file=/tools/gef/updates/releases/.blobstore

then you would see the mirroring system "work" as you first expected. 

This may be less than ideal, though, since then p2 would look for ONLY 
pack.gz files on the mirrors, and if one of those failed, it would not 
know where to look for the canonical jar file (other than back home, at 
download.eclipse.org). 

So, I think peer-artifacts is the recommendation we want to go with, 
unless p2 can come up with some improved method? (And, that's assuming my 
theory about adding .blobstore to mirrorsURL does indeed "fix" the 
original problem you were seeing). 

I think for now, further discussion can be had in bug 383145. 

But ... we may want to improve this part of our advice/coordination in 
future? 






From:   Alexander Nyßen <alexander.nys...@itemis.de>
To:     Cross project issues <cross-project-issues-dev@eclipse.org>, 
Date:   06/20/2012 11:49 AM
Subject:        Re: [cross-project-issues-dev] Testing p2.mirrorsURL
Sent by:        cross-project-issues-dev-boun...@eclipse.org



Then I would like to forward the question to the p2 experts. Does 
p2.mirrorsURL work in combination with .blobstore?

Cheers
Alexander

Am 20.06.2012 um 17:46 schrieb Denis Roy:

.blobstore directories are being mirrored:

http://ftp.osuosl.org/pub/eclipse/egf/updates/helios/0.6.0_old/.blobstore/
http://www.gtlib.gatech.edu/pub/eclipse/egf/updates/indigo/1.0.0RC2/.blobstore/


Denis


On 06/20/2012 11:36 AM, David M Williams wrote:
I find this "interesting" for a couple of reasons. 

It sounds like we do not mirror .blobstore directories? Denis, can you 
confirm rsync rules? It would kind of make sense not to by default, since 
"dot directory" ... but, seems ".blobstore" should be an exception. 

I'm not sure of all the ins and outs (a p2 expert could speak to this) but 
sometimes "publishing a repo" puts all the jar.pack.gz files in .blobstore 
directory instead of as peers to their corresponding jars. 

Second, if we "must not" use .blobstore for eclipse foundation mirrored 
repos, I am not sure we have ever documented that or provided any "how 
to". And, if I recall, the "how to" isn't obvious ... not too hard once 
you know the trick ... but, I do not recall the trick right off (I believe 
it has to do with "copying properties from existing repo" that does not 
use .blobstore, but I don't recall how to "get" that original repo?). 

Sounds like you solved this recently, Alexander, ... perhaps you could add 
a note to 
http://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL 
if/when Denis confirms "can not" (or, "should not", or "must not") mirror 
.blobstore directories? 

[And, I should apologize in advance if this is actually 
documented/discussed somewhere already ... sometimes I forget what I don't 
know :) ] 

Thank you both! 





From:        Denis Roy <denis....@eclipse.org> 
To:        cross-project-issues-dev@eclipse.org, 
Date:        06/20/2012 09:08 AM 
Subject:        Re: [cross-project-issues-dev] Testing p2.mirrorsURL 
Sent by:        cross-project-issues-dev-boun...@eclipse.org 



Alexander,

Thanks for testing that.

I hope other projects are also testing their repos for mirror
functionality...  I will accept criticism that download.eclipse.org is
slow due to our bandwidth limitations, but if mirrors are not being
used, that makes matters much worse.

Thanks,

Denis


On 06/20/2012 12:45 AM, Alexander Nyßen wrote:
> Just in case somebody might be interested: it seems that the mirror 
problem was caused by having the update-site in a format that included a 
.blobstore for the pack.gz files. Having converted the update-site to a 
form, where pack.gz files are located next to the related bundles, I could 
observe a different output this morning (after there are now a couple of 
mirrors that have updated themselves to the changes).
>
> Cheers,
> Alexander

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

--
Dr. Alexander Nyßen
Dipl.-Inform.
Software-Engineer

Telefon: +49 (0) 231 / 98 60-210
Telefax: +49 (0) 231 / 98 60-211
Mobil: +49 (0) 151 /  17396743

http://www.itemis.de 
alexander.nys...@itemis.de 

itemis AG
Am Brambusch 15-24
44536 Lünen

Rechtlicher Hinweis:

Amtsgericht Dortmund, HRB 20621

Vorstand: Jens Wagener (Vors.), Wolfgang Neuhaus, Dr. Georg Pietrek, Jens 
Trompeter, Sebastian Neus

Aufsichtsrat: Dr. Burkhard Igel (Vors.), Stephan Grollmann, Michael 
Neuhaus

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to