Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dash-dev] tool to delete one repo from other repo

thanks Paul,
ah I overlooked p2.remove.ui on this page!
It doesn't perfectly suit my needs because I have to list exact IUs to remove, whereas I have a whole repo. 
But maybe there's an easy way to turn a repo into list of IUs and then turn that list into p2.remove.ui calls... :-)


________________________________________
From: dash-dev-bounces@xxxxxxxxxxx [dash-dev-bounces@xxxxxxxxxxx] on behalf of Paul Webster [pwebster@xxxxxxxxxxxxxxxxxxx]
Sent: 27 December 2010 20:40
To: Tools for Committer Community
Subject: Re: [dash-dev] tool to delete one repo from other repo

2010/12/27 Jacek Pospychała <jacek.p@xxxxxxxx<mailto:jacek.p@xxxxxxxx>>
hi Relengs,

I have a repo that will always be installed on top of some product, but content of repo and this product overlaps a bit.
Because repo will be distributed in some old fashioned way (like a floppy drive:-) ), I want it to be as small as possible.
So I want all IUs that are in the product to be removed from repo.


You can do it as part of PDE build, there's a  p2.remove.iu task.  We were using it in the e4 build (commented out in the postSetup task ATM):

http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/builder/general/customTargets.xml?view=co&revision=1.90.2.4&content-type=text%2Fplain

See http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm for full syntax.

Later,
PW

--
Paul Webster
Hi floor.  Make me a sammich! - GIR


Back to the top