You are not logged in.

#1 2017-03-14 12:31:16

onny
Member
From: Europe
Registered: 2010-08-07
Posts: 46
Website

Automated upstream release monitoring for Archlinux

Hey,
I've made a litte script which checks Archlinux package versions against Anitya, a former Fedora project which automatically collects upstream version numbers for a huge amount of apps.

Here's the page which summarizes the results: https://onny.project-insanity.org/files … tream.html

2017-03-14-110620_swaygrab.png

You can find further details on my blog here: https://project-insanity.org/blog/2017/ … archlinux/

What do you think about it?

Best regards,
Jonas

Offline

#2 2017-03-14 12:54:36

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Automated upstream release monitoring for Archlinux

I think the main issue with it is the 'Upstream Version' field doesn't list the latest stable version, which is the one that Arch packages. It contains things like beta, pre, rc and odd numbered versions of Gnome bits (which are development versions).


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-03-14 12:59:13

onny
Member
From: Europe
Registered: 2010-08-07
Posts: 46
Website

Re: Automated upstream release monitoring for Archlinux

Yes, I noticed that too. This is an issue that should be fixed by Anitya somehow or maybe the scripts has to be adapted to only parse stable versions. Surprisingly this issue affects only a few packages in the report of about 500 outdated packages. So there's still a lot to update wink

Offline

#4 2017-03-14 13:06:30

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: Automated upstream release monitoring for Archlinux

Looks pretty good to me. It could handle style differences slightly better (e.g. dashes vs underslashes) -- in the example image the dialog versions match, but the status is "unknown", presumably because the Arch package uses underslashes, while upstream (?) uses dashes.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2017-03-14 13:21:32

onny
Member
From: Europe
Registered: 2010-08-07
Posts: 46
Website

Re: Automated upstream release monitoring for Archlinux

Yep, that's not easy to fix. The question would be, which versioning scheme is correct and if there's any way to unify version strings (like substitute all underscores to dashes?)

Offline

#6 2017-03-14 14:47:03

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: Automated upstream release monitoring for Archlinux

Now all it needs is an RSS feed to help professional out-of-date-flaggers. wink


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#7 2017-03-14 15:05:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: Automated upstream release monitoring for Archlinux

Yep, that's not easy to fix. The question would be, which versioning scheme is correct and if there's any way to unify version strings (like substitute all underscores to dashes?)

I have no idea how you're comparing the version strings currently, or if that's something that Anitya does automagically, but if possible, I'd strip out any dividing characters (periods, dashes, underslashes, etc) from both strings and compare those. I'd still display the unaltered version numbers though.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2017-03-22 13:17:49

onny
Member
From: Europe
Registered: 2010-08-07
Posts: 46
Website

Re: Automated upstream release monitoring for Archlinux

Now, the script monitors AUR packages too smile

Offline

Board footer

Powered by FluxBB