Bug 464394 - [develop.kde.org] Breeze icon browser doesn't work
Summary: [develop.kde.org] Breeze icon browser doesn't work
Status: CONFIRMED
Alias: None
Product: www.kde.org
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kde-www mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-16 23:39 UTC by logicalwillow
Modified: 2024-03-30 12:40 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description logicalwillow 2023-01-16 23:39:16 UTC
https://develop.kde.org/frameworks/breeze-icons/

It looks like there's supposed to be an icon browser at the bottom of the page, but it doesn't work. The categories menu doesn't have any items, the search bar doesn't bring up any results, and no icons are displayed at all.
Comment 1 Thiago Sueto 2023-01-17 18:37:05 UTC
So the breeze-icons page seems to be linked to from https://develop.kde.org/design/.

This same issue also happens with https://develop.kde.org/frameworks/oxygen-icons/, but it is not linked to anywhere on Develop.

The source code is in https://invent.kde.org/documentation/develop-kde-org/-/tree/master/content/frameworks, out of which the Kirigami page works fine, perhaps these two were moved at some point?

The readme mentions that for this to work one needs to run scripts/icon_extractor.py , https://invent.kde.org/documentation/develop-kde-org#extract-icon-metadata , so I'm guessing this is a thing for the KDE Web team or for the people handling the CI that generates the website.
Comment 2 Alexander 2024-03-29 18:46:41 UTC
I was looking into this, the script mentioned earlier seems to get a .tar file from "build-artifacts.kde.org", which does not resolve on my computer (down?). That's most likely the issue here, it can't extract the icons, because it's not able to download them, and as a result of that the icon browser is nonfunctional. I'm not sure if it's hosted anywhere else, but maybe using an archive.org link in the script could work, albeit a little slow.
Comment 3 Ben Cooksley 2024-03-29 19:16:30 UTC
It appears that this is yet another hidden dependency on the old Jenkins setup. 

This should be ported to pull from https://invent.kde.org/teams/ci-artifacts/suse-qt6.6/-/packages much like how apps.kde.org already does.
Not sure how comparable it is, but we also have https://cdn.kde.org/breeze-icons//icons.html
Comment 4 Thiago Sueto 2024-03-30 01:48:49 UTC
Alexander did a merge request (https://invent.kde.org/documentation/develop-kde-org/-/merge_requests/375) that is now merged, but it didn't cause any changes to https://develop.kde.org/frameworks/breeze-icons/.

My guess is it's because the CI needs to be updated to run icon_extractor.py before deploying the website?
Comment 5 Ben Cooksley 2024-03-30 12:02:29 UTC
That MR is incorrect as the artifact in question will only be around as long as that particular build is around. That means that the next time breeze-icons is rebuilt, once the CI artifact cleanup job is run that artifact will be removed (as it will be an older build, and we only keep the latest build artifact around)
Comment 6 Alexander 2024-03-30 12:16:12 UTC
(In reply to Ben Cooksley from comment #5)
> That MR is incorrect as the artifact in question will only be around as long
> as that particular build is around. That means that the next time
> breeze-icons is rebuilt, once the CI artifact cleanup job is run that
> artifact will be removed (as it will be an older build, and we only keep the
> latest build artifact around)

Do you know how I can get the latest file? That's a really big problem if the links expire.
Comment 7 Alexander 2024-03-30 12:40:23 UTC
Seems like this MR solves the problem: https://invent.kde.org/documentation/develop-kde-org/-/merge_requests/377