[opensuse-buildservice] No .Repo file in local OBS instance
Hi we are using a local OBS instance for our debian and ubuntu based packages. Currently our remote OBS build rpm based packages should also be build in this local instance. Yesterday the build started. In The download repositories I cant find any .repo file to use with a rpm based machine. The remote instance (build.opensuse.org) has this file. Do we have to enable anything in our local instance to build this .repo file to use these packages locally? Cheers Mathias -- Mathias Radtke --- http://uib.de/de/support-schulung/schulung/ --- uib gmbh Bonifaziusplatz 1B 55118 Mainz Tel. 06131 / 27561-16 <phone:061312756116> Fax 06131 / 27561-22 <phone:061312756122> E-Mail: m.radtke@uib.de Internet: www.uib.de Geschäftsführer: dr. detlef oertel & erol ueluekmen Handelsregister: Amtsgericht Mainz HRB 6942 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Aug 04, 2016 at 08:40:34AM +0200, Mathias Radtke wrote:
we are using a local OBS instance for our debian and ubuntu based packages. Currently our remote OBS build rpm based packages should also be build in this local instance.
Yesterday the build started. In The download repositories I cant find any .repo file to use with a rpm based machine. The remote instance (build.opensuse.org) has this file.
Do we have to enable anything in our local instance to build this .repo file to use these packages locally?
The .repo file is written if a download url is configured. This can be either done with (the new way): $ osc api /configuration.xml > configuration.xml [ add a <download_url> element, like this: <download_url>http://download.opensuse.org/repositories</download_url> ] $ osc api /configuration.xml -T configuration.xml or (the old way): set the $repodownload var in BSConfig.pm, restart the publisher (note that $repodownload from BSConfig overwrites the value from /configuration.xml) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Michael On 04.08.2016 10:24, Michael Schroeder wrote:
The .repo file is written if a download url is configured. This can be either done with (the new way):
$ osc api /configuration.xml > configuration.xml [ add a <download_url> element, like this: <download_url>http://download.opensuse.org/repositories</download_url> ] $ osc api /configuration.xml -T configuration.xml I currently can't try this way because the service is temporarily not available or (the old way): set the $repodownload var in BSConfig.pm, restart the publisher just set it to True ? cant find an example in the existing BSConfig
Cheers Mathias -- Mathias Radtke --- http://uib.de/de/support-schulung/schulung/ --- uib gmbh Bonifaziusplatz 1B 55118 Mainz Tel. 06131 / 27561-16 <phone:061312756116> Fax 06131 / 27561-22 <phone:061312756122> E-Mail: m.radtke@uib.de Internet: www.uib.de Geschäftsführer: dr. detlef oertel & erol ueluekmen Handelsregister: Amtsgericht Mainz HRB 6942 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Donnerstag, 4. August 2016, 08:40:34 CEST wrote Mathias Radtke:
Hi
we are using a local OBS instance for our debian and ubuntu based packages. Currently our remote OBS build rpm based packages should also be build in this local instance.
Yesterday the build started. In The download repositories I cant find any .repo file to use with a rpm based machine. The remote instance (build.opensuse.org) has this file.
Do we have to enable anything in our local instance to build this .repo file to use these packages locally?
You need to specify a download location to get these files. Add a <download_url>http:/....</download_url> via osc api -e /configuration Next publish will generate .repo files -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- 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
-
Mathias Radtke
-
Michael Schroeder