Project

General

Profile

tickets #61826

Icon urls returned by the /distributions API route on OBS result in a 404

Added by dancermak about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OBS
Target version:
-
Start date:
2020-01-07
Due date:
% Done:

100%

Estimated time:

Description

There appears to be an issue on OBS: if you request the list of distributions via the API:

curl --user $OBS_USERNAME:$OBS_PASSWORD 'https://api.opensuse.org/distributions'

then you'll be presented with a bunch of distros with urls to their icons. However, all the urls that I tried are dead links.

History

#1 Updated by okurz about 2 years ago

  • Category set to OBS
  • Private changed from Yes to No

#2 Updated by lrupp about 2 years ago

This looks like a bug in the application itself. Sadly nothing we as admins can fix.

can I ask you to file an issue report in github for this?

The URL is:
https://github.com/openSUSE/open-build-service

Thank you!

#3 Updated by lrupp about 2 years ago

  • Status changed from New to Closed
  • Assignee set to lrupp
  • % Done changed from 0 to 100

#4 Updated by dancermak about 2 years ago

  • Status changed from Closed to New

admin@opensuse.org writes:

[openSUSE Tracker]
Issue #61826 has been updated by lrupp.

This looks like a bug in the application itself. Sadly nothing we as admins can fix.

can I ask you to file an issue report in github for this?

I already did that:
https://github.com/openSUSE/open-build-service/issues/8884
and was later directed in a private conversation with Henne to open a
ticket here.

So what should I do now?

#5 Updated by hennevogel about 2 years ago

lrupp this is data in this specific instance. You can update it with

osc api /distributions > distributions.xml
vi distributions.xml    
osc api -X PUT /distributions -f distributions.xml

#6 Updated by lrupp about 2 years ago

  • Status changed from New to Closed

hennevogel wrote:

lrupp this is data in this specific instance. You can update it with

osc api /distributions > distributions.xml
vi distributions.xml    
osc api -X PUT /distributions -f distributions.xml

Thanks! Done now, therefor closing the issue here.

BUT: https://github.com/openSUSE/opensuse-themes/pull/4 is open, as the github repo misses some distributions that are meanwhile mentioned in the distributions.xml file.

Also available in: Atom PDF