[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Pruning an Updatesite

On 13-11-15 11:40 AM, Paul Webster wrote:
On Fri, Nov 15, 2013 at 11:33 AM, Deric Panet-Raymond <deric@xxxxxxxxxxxxxxxxx> wrote:
I see there is a p2.remove.iu task I can call but that's a remove each specific IU, I kind of want an inverse so that it only keeps the specified I.U.

Traditionally you would mirror your repo with filters (and specific IUs) and that would create a new repo with only what you want.  Then it's up to you if you want to replace your current repo, that's just a few file operations.

Okay, I suspected mirroring might be the answer.  So I essentially use the mirror command, point it at the source repo and tell it to mirror to a dest repo and pass it an I.U list?  Is there an example anywhere?  I guess I have to find all the various I.U's and can't filter on a qualifier only?