| Summary: | A metadatarepo to represent a profile | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Simon Kaegi <simon_kaegi> | ||||
| Component: | p2 | Assignee: | Simon Kaegi <simon_kaegi> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | c.vidal, contact, pascal, pierre.gaufillet | ||||
| Version: | 3.4 | ||||||
| Target Milestone: | 3.5 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Moving to M6 because I don't think this can be addressed in M5. Please try to get that early in M6 because it may be a bit lengthy to settle down. Fixed in HEAD. The URIs for a profile repo must be file URIs, and end in ".profile". Both the top-level profile folder and individual timestamped profiles are legal targets. For example: file:/registry/SDKProfile.profile For example: file:/registry/SDKProfile.profile/8675309.profile are both legal. Note: This repo does not provide artifacts -- just the metadata. After talking with Pascal I've added back in artifact repo support. Note: There currently is no support for roaming profile so if the CACHE or SHARED_CACHE properties in the profile are not valid those repos will not be added. |
Created attachment 105662 [details] exploratory patch On a number of occassions we've talked about treating a Profile as a metadata repo. In itself this is pretty easy to do but might have additional consequences in terms of URL format and interaction with roaming and shared profiles. I've added an exploratory patch based on a quick conversation with Pascal at lunch. The patch adds a new metadata repo type to the engine bundle. The URL format is uses is file:/{path to your profile registry folder}?profileid={the profileid you want} For example: file:/C:/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry?profileid=SDKProfile -- The artifact repos associated with the profile are automatically added and enabled as discovery sites as part of loading the profile metadata repo.