Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 275740 - Site references missing from Galileo build
Summary: Site references missing from Galileo build
Status: RESOLVED DUPLICATE of bug 280024
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Cross-Project (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Thomas Hallgren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 275800
Blocks:
  Show dependency tree
 
Reported: 2009-05-11 17:38 EDT by John Arthorne CLA
Modified: 2009-06-11 23:44 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2009-05-11 17:38:52 EDT
The site references have recently gone missing from the Galileo metadata repository. This is an entry in the content.xml that looks like this:

  <references size='58'>
    <repository url='http://download.eclipse.org/stp/updates/' type='0' options='0'/>
     ...
  </references>

These were present until fairly recently (resulted in a big list of disabled sites in the Available Software Sites preference page). These references are added at metadata generation / publish time. I'm not sure what changed to cause these to disappear. I noticed they are still present in newly generated Eclipse project metadata repositories, so it seems related to the Bucky builder changes.
Comment 1 David Williams CLA 2009-05-11 21:05:28 EDT
Thomas, 

Do you agree this is an issue with the builder? 

I do know these sites are missing in the EPP builds, but not sure if related. See bug 275520. 
Comment 2 Thomas Hallgren CLA 2009-05-12 00:33:22 EDT
The builder currently only mirrors the needed UI's from the contributed repositories so it never builds a <references> element. What should the element contain?

a) The sum of all <references> in the mirrored repositories
b) The list of mirrored repositories
c) Both

?
Comment 3 David Williams CLA 2009-05-12 01:00:09 EDT
(In reply to comment #2)
> The builder currently only mirrors the needed UI's from the contributed
> repositories so it never builds a <references> element. What should the element
> contain?
> 
> a) The sum of all <references> in the mirrored repositories
> b) The list of mirrored repositories
> c) Both
> 
> ?
> 

I think only 'a'. While it might work out in the end, with enough attention paid, we often "contribute" to Galileo with some 'interim' site, and our features reference the 'final' site that will be valid after release. 

If I understand what you are asking. 
Comment 4 Thomas Hallgren CLA 2009-05-12 03:08:44 EDT
Awaiting resolution of bug 275800
Comment 5 Martin Oberhuber CLA 2009-05-13 07:49:12 EDT
For Eclipse contents at least, the list of Repositories is also in the feature.xml / url / discoverySite attribute ... 

I have some understanding why p2 doesn't expose this property by default any more - I assume that's in order to support corporate mirrors where direct access to eclipse.org is not desired, see bug 275800 comment 2.

But for Galileo, would it be an option to generate the siteReferences on the final Galileo site by reading the feature.xml contents? Or would such a generation step other meta-info that should really be taken from contributing repos?
Comment 6 Thomas Hallgren CLA 2009-05-13 08:02:13 EDT
I would make life much easier if each contribution could make their references end up in the <references> element. Perhaps the site generator takes care of this already?

Scanning feature artifacts to find meta-data doesn't sound too appealing. It implies a rewrite of the builder since it relies 100% on meta-data until it's time to do the actual (optional) mirroring. Accessing artifacts to build meta-data would slow down the build significantly.
Comment 7 John Arthorne CLA 2009-05-13 12:32:48 EDT
The site references are already generated from the feature.xml at metadata generation time. The only problem here AFAIK is that the Galileo build now works by mirroring the p2 repositories generated by the different projects, and there is no support yet for mirroring repository references.
Comment 8 Thomas Hallgren CLA 2009-06-11 23:44:52 EDT

*** This bug has been marked as a duplicate of bug 280024 ***