Generate top level repo files in private OBS

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Generate top level repo files in private OBS

Hans-Peter Jansen-2
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: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Generate top level repo files in private OBS

Andreas Schwab-2
On Aug 01 2017, Hans-Peter Jansen <[hidden email]> 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, [hidden email]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Generate top level repo files in private OBS

Mathias Radtke
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 <[hidden email]> 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: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Generate top level repo files in private OBS

Andreas Schwab-2
On Aug 01 2017, Mathias Radtke <[hidden email]> wrote:

>     $ osc api /configuration.xml > configuration.xml

osc api -e /configuration

Andreas.

--
Andreas Schwab, SUSE Labs, [hidden email]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]