Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Categories

As an example where this works.
The "Uncategorized" category from different update sites contains everything uncategorized from all sites.
For it to work, though, the categories have to have unique ids and share the same name.

susan
Inactive hide details for Ian Bull <irbull@xxxxxxxxxxxxxxxxx>Ian Bull <irbull@xxxxxxxxxxxxxxxxx>




          Ian Bull <irbull@xxxxxxxxxxxxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          05/01/2009 08:37 AM
          Please respond to P2 developer discussions



To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc:
Subject: Re: [p2-dev] Categories


James,

This should work, however because categories are IUs and IUs are always processed as a set, if a category has the same ID and version (don't ask about category versions), then only 1 will get chosen.

We have added a prefix to categories to help make the ID unique.  How did you generate your metadata for the categories?  (and what build did you use).

cheers,
ian

On Fri, May 1, 2009 at 7:16 AM, James D Miles <jdmiles@xxxxxxxxxx> wrote:
    Can someone clarify the category behavior of a site. I was expecting the category to work differently. For instance if I have a category "apples". I would expect that I could pull in "Red Delicious IU" from one site and "Jonathan IU" from another site. But what happens one is site is arbitrarily chosen to represent a category and the remaining IUs from other sites are masked.


    _______________________________________________
    p2-dev mailing list

    p2-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/p2-dev



--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484

http://eclipsesource.com | http://twitter.com/eclipsesource_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev

GIF image

GIF image

GIF image


Back to the top