Automated upstream release monitoring for Archlinux

Last weekend I was revisiting the Fedora project Anitya, an application for cross-platform release monitoring. The site collects submitted application metadata and automatically checks every entry for upstream releases, using a collection of different backend scripts to ease the text parsing for versioning information. Therefore Anitya is able to monitor a huge collection of application updates, regardless to which platform or operating system they belong to. So I was wondering how easy it would be to check and compare about 52,821 Archlinux software packages against the upstream version number provided by Anitya. I made a small python script called arch-upstream which is able to report status pages in html.

Generated report site with list of outdated packages

So what the script does is first of all, downloading package databases, which sources are specified in a config file, then loading all package description files inside the databases which provide version information. After that, the script queries the Anitya API and compares the version numbers. Using the Archlinux package api, the script checks if the package is already flagged outdated and additionally, if there’s any newer version already present in the testing repositories. After all information is gathered, two report pages are generated. One report, which lists all outdated packages and an other reprot which lists all Archlinux packages which are not yet tracked by Anitya. The pages are available on my server and are getting updated every 3 hours, here.

The running python script

So now you can easily contribute to this project by flagging packages out-of-date or creating further scripts on release-monitoring.org for missing and not yet listed packages :)

Nice project ! I hope it’ll be pushed upstream and available on ArchLinux website soon :)

Otherwise, concerning KDE packages, they are all available on github at https://github.com/kde, so you could track their release easily.

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

* Checkbox GDPR is required

*

I agree

Software
Virtual 3D online exhibition with MapBox GL JS

For my last semester in university (summer semester 2018) at the KIT, I was part of a project to create an “online art exhibition”. We planned to produce different media formats in smaller groups. One for video, another for text and promotion and one for the online presence. I’ve figured …

Software
Host your own Mapbox GL JS vector tiles map

I’ve done some research recently on how I could host my own online map viewer with a MapBox GL JS instance, an excellent and modern open-source alternative for Google Maps. The server should also serve own preprocessed map data from OpenStreetmap planet extracts. No external or third-party service will be …

Software
1
Easily setup Signal 2FA on Nextcloud 14

Two-factor authentication (short 2FA) is an important security concept to secure unauthorized access to your web applications. Popular online services like Google Mail, Instagram or Facebook already provide this mechanism to secure user accounts with an additional one-time token. Considering someone is able to obtain your username and password combination, …