On Mittwoch, 18. November 2020, 00:35:52 CET Jan Engelhardt wrote:
On Tuesday 2020-11-17 21:25, Adrian Schröter wrote:
On Dienstag, 17. November 2020, 21:20:33 CET Marcel Kühlhorn wrote:
On Tue, 2020-11-17 at 21:01 +0100, Axel Braun wrote:
Am Dienstag, 17. November 2020, 20:26:17 CET schrieb Achim Gratz:
I've recently pointed someone to a patch that openSUSE carries in one of its packages. I've been asked if there is a way to get the content of that file via an HTTPS or other type of request without needing to scrape it from the HTML page. I've trawled the OBS documentation and didn't find anxthing that looked immediately useful?
osc co <project> <package> maybe?
That requires an account I think and the question as I understand is how to geta file _without_ one
in short it is not possible for anonymous (at least via some official way).
OBS offers anonymous routes (URIs), and uses them for remotelinking.
yes, but it is not part of official api and we may need to close them on miss usage. So please do not promote them.
osc just does not offer accessing these. The clunky way is to either talk XML manually, or install a local dummy OBS to utilize the remotelink (and osc-authenticate with one's local instance).
as I said, the real solution would come, similar to https://sources.suse.com for openSUSE. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany (HRB 247165, AG München), Geschäftsführer: Felix Imendörffer