[opensuse-factory] using other projects for build
Hi, Is there an easy way to use packages from another project to build our own? I mean, without branching the necessary packages from the other repository (which works, but takes a lot of time, especially for big packages, like rust). Reading the documentation I thought, that linking projects might be used for this: <link project="devel:languages:rust"/> But BuildRequires anything from the other project did not work. Bye, CzP -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Is, you can define patch to needed repository in repositories (
advanced -> meta tab of repo ):
<repository name="openSUSE_Factory_ARM">
<path project="openSUSE:Factory:ARM" repository="standard"/>
Hi,
Is there an easy way to use packages from another project to build our own? I mean, without branching the necessary packages from the other repository (which works, but takes a lot of time, especially for big packages, like rust). Reading the documentation I thought, that linking projects might be used for this:
<link project="devel:languages:rust"/> But BuildRequires anything from the other project did not work.
Bye,
CzP
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Peter, For one: this is a question for -buildsrvice, not -factory. On Wed, 2016-07-20 at 08:58 +0200, Peter Czanik wrote:
Hi,
Is there an easy way to use packages from another project to build our own? I mean, without branching the necessary packages from the other repository (which works, but takes a lot of time, especially for big packages, like rust). Reading the documentation I thought, that linking projects might be used for this:
<link project="devel:languages:rust"/> But BuildRequires anything from the other project did not work.
project linking sounds indeed right, but this is probably a huge
overkill, as it rebuilds everything in this project in your project
again (and I mean everything, no control over it)
If it's only build dependencies, you cann add devel:languages:rust as
an additional
On středa 20. července 2016 8:58 Peter Czanik wrote:
Hi,
Is there an easy way to use packages from another project to build our own? I mean, without branching the necessary packages from the other repository (which works, but takes a lot of time, especially for big packages, like rust). Reading the documentation I thought, that linking projects might be used for this:
<link project="devel:languages:rust"/> But BuildRequires anything from the other project did not work.
You can add other repositories to use packages from in your project's prj file (osc meta -e prj), e.g. I have ... <repository name="openSUSE_13.1"> <path project="home:mkubecek:firebird30" repository="openSUSE_13.1"/> <path project="openSUSE:13.1" repository="standard"/> <arch>x86_64</arch> <arch>i586</arch> </repository> ... in the prj file of home:mkubecek:private so that packages from home:mkubecek:firebird30 are used for build (and even preferred over those from openSUSE:13.1 - the order matters here). But remember that this will allow using _any_ package from that repository. I'm not sure if there is a way to allow using only one particular package (or few of them) from another project. Michal Kubeček -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Michal Kubecek
But remember that this will allow using _any_ package from that repository. I'm not sure if there is a way to allow using only one particular package (or few of them) from another project.
That can be done with an aggregate. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Peter Czanik
Is there an easy way to use packages from another project to build our own?
By adding the other project's repository to the repository path. <path project="..." repository="..."/>
Reading the documentation I thought, that linking projects might be used for this:
<link project="devel:languages:rust"/> But BuildRequires anything from the other project did not work.
That does nothing unless you add a linkedbuild attribute to a repository description and is used for importing source packages. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Andreas Schwab
-
Dominique Leuenberger / DimStar
-
Michal Kubecek
-
Ondřej Súkup
-
Peter Czanik