How to get notified of new LTS kernel (or auto-update to latest LTS kernel)?

It is easier than you think


Sample

sudo pacman -Syu python-feedparser

create a python file e.g.

~/kernel-org-parser.py

With content

#!/usr/bin/python

import feedparser


d = feedparser.parse('https://kernel.org/feeds/kdist.xml')
for f in d['entries']:
    print(f['title'])

Run it

$ python ~/kernel-org-parser.py
6.3: mainline
6.3.1: stable
6.2.14: stable
6.1.27: longterm
5.15.110: longterm
5.10.179: longterm
5.4.242: longterm
4.19.282: longterm
4.14.314: longterm
next-20230505: linux-next