New ways of viewing repository data

Hey everyone, I’m reposting this from the Chaotic-AUR channel as it also benefits every one of you :blush: It is also a subtle preview of how the Garuda website may look in not so far future because it is one of the next things in my imaginary todo list.


While it hasn’t been half a year since the last rework of our website, another one just reached production :relieved:

This time the focus was pretty much on improving the way we retrieve information, as well as enhancing the amount of information shown to end users and maintainers while improving the look and feel to be more modern than before.

Some highlights include:

  • A new mirror page showing the router’s data (the same as the map uses)
  • Enhanced statistics pages, using ChartJS for visualization (these seem to be glitchy at times, but this apparently happens in official examples as well)
  • Much more overall data is available for packages, deployment logs and other places
  • All dependencies on the Telegram API in the backend has been dropped. The news feeds is served as static file instead, and deploy logs come from our database
  • Speed should be improved as well, thanks to better ways of obtaining data and lazy loading
  • The news feed received real, and proper formatting
  • Build status now shows ongoing pipelines, and allows retrieving status updates for build processes (e.g., “waiting for builder”)
  • Data is displayed using fully searchable tables
  • And of course, theming was tremendously improved! :art:

Things left to do include moving the backend to a speedier location (if stuff loads slowly, this is the reason) and maybe adding more charts for statistics :technologist:

27 Likes

Why? What was wrong with using Telegram?

I purpose good old fashoned bulletin board services, use net news groups and NNTP server access. :sunglasses:

1 Like

It was a super hacky way of obtaining information about deployments by parsing deploy log messages because we didn’t have a database back then. :sweat_smile: Now we do, so querying information is not only much easier, its also way faster.

7 Likes

Sorry… been completely away with other stuff…

Congrats on the new webpages!!!

I wonder if I may file some bug reports:

  • Chaotic-AUR does not work very well on “light colorscheme themes”.

  • Something strange is happening there → llama-cpp-vulkan-git was updated just yesterday, but according to the log it says it was only updated last month!

  • Also the search seems to not find any package when adding a “-”. So “llama” finds the packages, but “llama-” does not find anything.

Seems to happen only on the packages page. All the other pages show the text as bright white, and in the “deployments” section, the search box for “llama-” works.

:slight_smile: Congrats !

2 Likes

This needs some work with the same, has not been considered high priority for now :grinning:

Indeed, it was already reported yesterday that the package list itself seems to be off (packages show as non-available while they clearly are, which is also the reason for the text having that very dark color). Therefore it’s the Todo list already :slight_smile: added the search as well.

Thank you! :blush:

3 Likes

Notice that it is only that single “tab”. The others have a bright white text, so its good!

… sorry, didn’t noticed it… :frowning:

Thanks. Those pages sure came handy.

1 Like

Oh, then it’s not a theme issue but just the bug with packages being shown as inactive. They turn that way when this is the case, to easily distinguish them at first glance. I specifically wanted to keep dropped packages around for historical data reasons. Once that’s fixed it’ll be without having to change anything.

Np, it was on the chaotic channel and not here :wink:

Edit: for the record that just got fixed. Root cause was replacing the Docker base image with the alpine version of the node image (glibc was required due to tdlib before the rewrite), which ships busybox tar, which wasn’t able to extract databases and therefore decided packages weren’t in repo. Colors are back to normal, except for the packages actually not in repo:

3 Likes