Hello, I have added an option for "aggregatepac" as osc aggregatepac --nosources devel libzip home:Admin It will generate the _aggregate xml file as <aggregatelist> <aggregate project="devel"> <package>libzip</package> <nosources/> </aggregate> </aggregatelist> Then bs_shed will check if there is nosources flag, copying source packages only if the nosources flag is NOT set. This patch is to implement feature https://features.opensuse.org/309350. Any comments? ---------------- Best Regards, Brook Hong
-----Original Message----- From: ext Adrian Schröter [mailto:adrian@suse.de] Sent: Monday, July 05, 2010 3:04 PM To: opensuse-buildservice@opensuse.org Cc: Hong Brook (Nokia-MS/Beijing); mls@suse.de Subject: Re: [opensuse-buildservice] RE: question about package aggregate
And there is a feature in openFate -- https://features.opensuse.org/309350, which is to skip source
files
when
aggregating. Does it mean that an extra item is needed, such as "source", for feature 309350?
What do you mean, there simply is no way to filter out source
(.src.rpm) yet.
I mean to add "source" item like current "binary" as a filter to skip
On Monday 05 July 2010 04:12:22 brook.hong@nokia.com wrote: ... packages source packages (.src.rpm).
(If you want to implement some access control, please note that aggregates are currently linkable, i.e. you can modify them with a patch.)
Yes, I want to implement feature 309350. If I'm not misunderstanding,
whose purpose is to skip source packages (.src.rpm) when copying build results during aggregating.
In the end it is done by the scheduler, have a look in the "sub rebuildaggregate" function.
Yes, you need some kind of filter or a flag to the aggregate xml to support this. For this particular use case a "nosources" flag might make sense to keep the logic to decide about source packages in the scheduler. (but a filter might make also sense in other use cases).
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org