[opensuse-buildservice] How to add repository to local OBS instance
Hi all, I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my self hosted version of OBS. My self hosted version of OBS is 2.3.8. The problem with miro is that it needs python-support which exists only in the ubuntu universe repositories. Reading the opensuse buildservice mailing list I saw that you can't add ubuntu's universe to opensuse because of legal issues. How can I add ubuntu universe to my self-hosted version of OBS ? Regards, Stefan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Stefan,
On Sun, 26 May 2013 09:05:57 +0100
Stefan Cocora
Hi all,
I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my self hosted version of OBS. My self hosted version of OBS is 2.3.8.
The problem with miro is that it needs python-support which exists only in the ubuntu universe repositories.
Reading the opensuse buildservice mailing list I saw that you can't add ubuntu's universe to opensuse because of legal issues.
How can I add ubuntu universe to my self-hosted version of OBS ?
You interconnect your self-hosted OBS with the SUSE one, right? In this case you can't add RPMs to the repository because the rpms are directly downloaded from the SUSE OBS. I can provide you one (not the only?) solution. You create a project in your instance with prj information, prjconf and the packages in /srv/obs/build/$DISTRO/$ARCH/:full/ to build without the suse OBS interconnect. Here you can add the rpms/debs you wish. Maybe the most from an Install DVD and the additional packages from a repository (for ubuntu the universe repository). But you need a bit free space per distro. For example for Ubuntu you need about 10GB space (all packages twice for i586 and x86_64 arch). If you want to hold the project including the packages locally, I'll answer you with the steps to do that. Regards, Philipp -- Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler@b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Thanks for your response Philipp, To confirm, yes my local instance is connected to opensuse.org Can I have my local obs connected with opensuse.org and at the same time create another project that tracks packages locally ? I'm not sure I understand what you mean by "If you want to hold the project including the packages locally". Doesn't creating another project and adding rpm/deb manually mean that I'm holding the packages and and the project locally ? Regards, Stefan On 27/05/13 11:38, Philipp Seiler wrote:
Hi Stefan,
On Sun, 26 May 2013 09:05:57 +0100 Stefan Cocora
wrote: Hi all,
I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my self hosted version of OBS. My self hosted version of OBS is 2.3.8.
The problem with miro is that it needs python-support which exists only in the ubuntu universe repositories.
Reading the opensuse buildservice mailing list I saw that you can't add ubuntu's universe to opensuse because of legal issues.
How can I add ubuntu universe to my self-hosted version of OBS ?
You interconnect your self-hosted OBS with the SUSE one, right? In this case you can't add RPMs to the repository because the rpms are directly downloaded from the SUSE OBS. I can provide you one (not the only?) solution. You create a project in your instance with prj information, prjconf and the packages in /srv/obs/build/$DISTRO/$ARCH/:full/ to build without the suse OBS interconnect. Here you can add the rpms/debs you wish. Maybe the most from an Install DVD and the additional packages from a repository (for ubuntu the universe repository). But you need a bit free space per distro. For example for Ubuntu you need about 10GB space (all packages twice for i586 and x86_64 arch).
If you want to hold the project including the packages locally, I'll answer you with the steps to do that.
Regards, Philipp
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 27. Mai 2013, 17:15:33 wrote Stefan Cocora:
Thanks for your response Philipp,
To confirm, yes my local instance is connected to opensuse.org Can I have my local obs connected with opensuse.org and at the same time create another project that tracks packages locally ?
I'm not sure I understand what you mean by "If you want to hold the project including the packages locally". Doesn't creating another project and adding rpm/deb manually mean that I'm holding the packages and and the project locally ?
If you want to binary import some packages, create some repo somewhere via osc or webui. Ideally in an empty project without sources Afterwards, you can create the :full directory in /srv/obs/build/$project/$repo/$arch/:full and copy your binaries inside. Last, you need to tell the scheduler to scan it via obs_admin --rescan-repository <project> <repository> <architecture> If this new repo has the Ubuntu repo inside it's path, it is enough to build against your new repo in your projects.
Regards, Stefan
On 27/05/13 11:38, Philipp Seiler wrote:
Hi Stefan,
On Sun, 26 May 2013 09:05:57 +0100 Stefan Cocora
wrote: Hi all,
I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my self hosted version of OBS. My self hosted version of OBS is 2.3.8.
The problem with miro is that it needs python-support which exists only in the ubuntu universe repositories.
Reading the opensuse buildservice mailing list I saw that you can't add ubuntu's universe to opensuse because of legal issues.
How can I add ubuntu universe to my self-hosted version of OBS ?
You interconnect your self-hosted OBS with the SUSE one, right? In this case you can't add RPMs to the repository because the rpms are directly downloaded from the SUSE OBS. I can provide you one (not the only?) solution. You create a project in your instance with prj information, prjconf and the packages in /srv/obs/build/$DISTRO/$ARCH/:full/ to build without the suse OBS interconnect. Here you can add the rpms/debs you wish. Maybe the most from an Install DVD and the additional packages from a repository (for ubuntu the universe repository). But you need a bit free space per distro. For example for Ubuntu you need about 10GB space (all packages twice for i586 and x86_64 arch).
If you want to hold the project including the packages locally, I'll answer you with the steps to do that.
Regards, Philipp
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Thanks for your advice Adrian, I'll try it as soon as possible and feedback the results to this mailing list. Stefan On 28/05/13 09:00, Adrian Schröter wrote:
On Montag, 27. Mai 2013, 17:15:33 wrote Stefan Cocora:
Thanks for your response Philipp,
To confirm, yes my local instance is connected to opensuse.org Can I have my local obs connected with opensuse.org and at the same time create another project that tracks packages locally ?
I'm not sure I understand what you mean by "If you want to hold the project including the packages locally". Doesn't creating another project and adding rpm/deb manually mean that I'm holding the packages and and the project locally ?
If you want to binary import some packages, create some repo somewhere via osc or webui. Ideally in an empty project without sources
Afterwards, you can create the :full directory in
/srv/obs/build/$project/$repo/$arch/:full
and copy your binaries inside. Last, you need to tell the scheduler to scan it via
obs_admin --rescan-repository <project> <repository> <architecture>
If this new repo has the Ubuntu repo inside it's path, it is enough to build against your new repo in your projects.
Regards, Stefan
On 27/05/13 11:38, Philipp Seiler wrote:
Hi Stefan,
On Sun, 26 May 2013 09:05:57 +0100 Stefan Cocora
wrote: Hi all,
I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my self hosted version of OBS. My self hosted version of OBS is 2.3.8.
The problem with miro is that it needs python-support which exists only in the ubuntu universe repositories.
Reading the opensuse buildservice mailing list I saw that you can't add ubuntu's universe to opensuse because of legal issues.
How can I add ubuntu universe to my self-hosted version of OBS ?
You interconnect your self-hosted OBS with the SUSE one, right? In this case you can't add RPMs to the repository because the rpms are directly downloaded from the SUSE OBS. I can provide you one (not the only?) solution. You create a project in your instance with prj information, prjconf and the packages in /srv/obs/build/$DISTRO/$ARCH/:full/ to build without the suse OBS interconnect. Here you can add the rpms/debs you wish. Maybe the most from an Install DVD and the additional packages from a repository (for ubuntu the universe repository). But you need a bit free space per distro. For example for Ubuntu you need about 10GB space (all packages twice for i586 and x86_64 arch).
If you want to hold the project including the packages locally, I'll answer you with the steps to do that.
Regards, Philipp
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Adrian, Let's see if I understand this correctly: - I've created /srv/obs/build/home\:stefan\:localubuntu/xUbuntu_13.04/x86_64/\:full on the obsserver - I do a osc co of home\:stefan\:localubuntu on my laptop - I add miro as a package inside this project + osc add and commit - do I run rescan-repository after adding the miro packages ? - Where should I add the ubuntu repo, in which directory ? "If this new repo has the Ubuntu repo inside it's path..." Thanks, Stefan On 28/05/13 21:45, Stefan Cocora wrote:
Thanks for your advice Adrian, I'll try it as soon as possible and feedback the results to this mailing list.
Stefan
On 28/05/13 09:00, Adrian Schröter wrote:
On Montag, 27. Mai 2013, 17:15:33 wrote Stefan Cocora:
Thanks for your response Philipp,
To confirm, yes my local instance is connected to opensuse.org Can I have my local obs connected with opensuse.org and at the same time create another project that tracks packages locally ?
I'm not sure I understand what you mean by "If you want to hold the project including the packages locally". Doesn't creating another project and adding rpm/deb manually mean that I'm holding the packages and and the project locally ?
If you want to binary import some packages, create some repo somewhere via osc or webui. Ideally in an empty project without sources
Afterwards, you can create the :full directory in
/srv/obs/build/$project/$repo/$arch/:full
and copy your binaries inside. Last, you need to tell the scheduler to scan it via
obs_admin --rescan-repository <project> <repository> <architecture>
If this new repo has the Ubuntu repo inside it's path, it is enough to build against your new repo in your projects.
Regards, Stefan
On 27/05/13 11:38, Philipp Seiler wrote:
Hi Stefan,
On Sun, 26 May 2013 09:05:57 +0100 Stefan Cocora
wrote: Hi all,
I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my self hosted version of OBS. My self hosted version of OBS is 2.3.8.
The problem with miro is that it needs python-support which exists only in the ubuntu universe repositories.
Reading the opensuse buildservice mailing list I saw that you can't add ubuntu's universe to opensuse because of legal issues.
How can I add ubuntu universe to my self-hosted version of OBS ?
You interconnect your self-hosted OBS with the SUSE one, right? In this case you can't add RPMs to the repository because the rpms are directly downloaded from the SUSE OBS. I can provide you one (not the only?) solution. You create a project in your instance with prj information, prjconf and the packages in /srv/obs/build/$DISTRO/$ARCH/:full/ to build without the suse OBS interconnect. Here you can add the rpms/debs you wish. Maybe the most from an Install DVD and the additional packages from a repository (for ubuntu the universe repository). But you need a bit free space per distro. For example for Ubuntu you need about 10GB space (all packages twice for i586 and x86_64 arch).
If you want to hold the project including the packages locally, I'll answer you with the steps to do that.
Regards, Philipp
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Philipp Seiler
-
Stefan Cocora