[opensuse-buildservice] Generate top level repo files in private OBS
Hi, the openSUSE OBS generates a top level repo path:to:prj.repo, but a locally installed OBS 2.8 does not (out of the box). Ho do I archive this? Cheers, Pete -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Aug 01 2017, Hans-Peter Jansen <hpj@urpla.net> wrote:
the openSUSE OBS generates a top level repo path:to:prj.repo, but a locally installed OBS 2.8 does not (out of the box).
Ho do I archive this?
You need to define a download_url in /configuration. 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-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
I had a similar issue more than a year ago. Here's what MIchael Schwab wrote back then 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. Cheers On 01.08.2017 09:22, Andreas Schwab wrote:
On Aug 01 2017, Hans-Peter Jansen <hpj@urpla.net> wrote:
the openSUSE OBS generates a top level repo path:to:prj.repo, but a locally installed OBS 2.8 does not (out of the box).
Ho do I archive this? You need to define a download_url in /configuration.
Andreas.
-- 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 Aug 01 2017, Mathias Radtke <m.radtke@uib.de> wrote:
$ osc api /configuration.xml > configuration.xml
osc api -e /configuration 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-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Hans-Peter Jansen
-
Mathias Radtke