Mailinglist Archive: opensuse-buildservice (43 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: how to get a copy of deleted packages?
On Montag, 30. April 2018, 13:17:37 CEST wrote Andreas Schwab:
On Apr 30 2018, Olaf Hering <olaf@xxxxxxxxx> wrote:

Am Mon, 30 Apr 2018 12:17:17 +0200
schrieb Andreas Schwab <schwab@xxxxxxxxxxxxxx>:

On Apr 30 2018, Olaf Hering <olaf@xxxxxxxxx> wrote:
How does one get a copy of a deleted package?
If you have a binary from the package you can use the DISTURL from it.

If that means 'osc co `rpm -q --qf %DISTURL $pkg`', that does not work for
me.

In which way does it not work for you?

we don't support checkout of deleted packages atm in osc.

However, you could workaround that for now by using

osc api /source/$project/$package?deleted=1

osc api /source/$project/$package/$file?deleted=1 > local_file




--

Adrian Schroeter
email: adrian@xxxxxxx

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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation