Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to uninstall a feature from a p2 site

They would but we are attempting to rev the versions internally and then publish.  So if we accidentally publish a bad artifact, we'd like to remove it and then re-publish without changing the version.  Also repository size may be a concern.

Thanks for your help!

On May 24, 2013, at 9:31 PM, Pascal Rapicault <pascal.rapicault@xxxxxxxxxxxx> wrote:

No, this is not a capability that the publisher applications have. Their goal is to be straightforward and dumb J Read some files produce some metadata.
But I would ask, if you have different features what would not they have a different version?
 
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Josh Hester
Sent: May-24-13 9:27 PM
To: P2 developer discussions
Subject: Re: [p2-dev] How to uninstall a feature from a p2 site
 
Thanks for the reply!
 
Sorry, I misspoke earlier.  We *are* using the Features and Bundles publisher (org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher).  Is there an option that we can pass in to remove a feature that has already been published?  I see the p2.remove.iu task.  Is there a command line option to pass this to the features and bundles publisher application?
 
Thanks,
 
-Josh
 
 
On May 24, 2013, at 8:57 PM, Pascal Rapicault <pascal.rapicault@xxxxxxxxxxxx> wrote:


There is an ant task called p2.remove.iu [1] that allows to remove IUs from a repository. Note that if this repo has been “put in production” this is not recommended as users may rely on the IUs you want to remove.
Another way to easily deal with repos is to use composite repository and publish different builds (assuming that this is what you are trying to do) in different repos.
 
Finally the p2 director is not used to add and remove to a repo. This is the role of the publisher. The director is the tool that performs the installation
 
 
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Josh Hester
Sent: May-24-13 10:12 AM
To: p2-dev@xxxxxxxxxxx
Subject: [p2-dev] How to uninstall a feature from a p2 site
 
Hi,
 
We are using the p2 director to publish features and bundles to a p2 site.  Is there a way to uninstall features from the p2 update site?
 
Thanks,
 
-Josh
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
 
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top