[opensuse-buildservice] Aggregating from non-standard repository name
Marcus wrote:
Btw: why don't you directly build against this repository? This would avoid package duplicates on the mirrors.
Because I was told to... see below.
Clearly there is some confusion or disagreement on whether it is
better to add a repository to your project or aggregate in order to
make BuildRequires RPMs available.
Maybe the collective wisdom of this list can come up with a definitive
"best practice" here?
Thanks,
-Archie
---------- Forwarded message ----------
From: Peter Nixon
On Fri, May 23, 2008 at 2:17 AM, Peter Nixon
wrote: It would be much better if you simply aggregated the packages you require rather than linking in extra entire projects. Look at the "freeradius-client" package for an example.
Got it, looks easy.
What follows is a separate question, feel free to ignore if I'm starting to get irritating...
The goal here is simply to have certain RPMs that exist in other projects (but not in standard SuSE) available as Build-Requires.
As I understand it, aggregating is akin to copying in a package from another project into your project. When you aggregate another package X from project A into project B, then when you search for "X" on software.opensuse.org, you get a match for "project A package X" and also "project B package X", and OBS is building package X twice, once in each project, producing two separate downloadable RPMs.
On the other hand, I thought that adding another project to your project (via "osc meta -a PRJ") simply made the RPMs in that other project available to your project (e.g. for Build-Requires, etc). I.e., it did the equivalent of "zypper addrepo otherproject" to your project. The result is that there is no redundant building of any RPM twice, in contrast to linking/aggregating.
It to me seems like (since I don't need to modify these RPMs) that the second option is more sensible than the first.
Obviously, there is some other cost to the second option that I'm unaware of. Can you explain what it is?
Thanks, -Archie
-- Archie L. Cobbs
-- Peter Nixon http://peternixon.net/ -- Archie L. Cobbs --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (1)
-
Archie Cobbs