Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325345

Summary: Odd child in compositeMetadataRepository
Product: [Eclipse Project] Equinox Reporter: Alex Blewitt <alex.blewitt>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: VERIFIED INVALID QA Contact:
Severity: minor    
Priority: P3    
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alex Blewitt CLA 2010-09-15 08:45:54 EDT
Build Identifier: 

The helios composite repository has:


  <children size='2'>
    <child location='http://download.eclipse.org/technology/epp/packages/helios/'/>
    <child location='201006230900'/>
  </children>

A similar entry is found in the artifacts. 

http://download.eclipse.org/releases/helios/compositeContent.jar
http://download.eclipse.org/releases/helios/compositeArtifacts.jar

I'm guessing this is a bug, but I don't know if it's P2 related or releng, so I'm posting here first in case there's some undocumented feature about using a numeric child location that I don't know about.

Reproducible: Always
Comment 1 DJ Houghton CLA 2010-09-15 09:06:34 EDT
Child repository locations can either be full URIs (like the first entry) or relative paths (like the second). In this case, there is a sub-folder of the root with the name 201006230900. This looks like a build-id from June 23, 2010 @9am so it is reasonable. (and I logged into the server and it indeed exists)

Relative paths are used because it makes it easier to move full repositories around on a file-system, as well the paths do not have to change when the site is mirrored to a new server.
Comment 2 DJ Houghton CLA 2010-09-15 09:07:48 EDT
fyi Kim has a blog post about composite repositories here: 
http://relengofthenerds.blogspot.com/2009/02/implementing-composite-repos-in-your.html
Comment 3 Alex Blewitt CLA 2010-09-15 09:32:11 EDT
Thanks DJ. I wasn't sure if it was a problem or not (if there'd been an I or R on the front of the number, I'd have twigged) but thought it was worth raising if not.