Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: only check for updates of long term stable (lts) kernel versions #191

Open
mjechow opened this issue Feb 24, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@mjechow
Copy link

mjechow commented Feb 24, 2023

Is it possible to add an option to only check for long term stable (lts) kernel versions? I am using lts kernels only I don't want to be notified about other versions.

@bkw777
Copy link
Owner

bkw777 commented Mar 8, 2023

How do you identify lts releases?

@mjechow
Copy link
Author

mjechow commented Mar 9, 2023

You could use the latest tag of the linux-rolling-lts branch.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-rolling-lts

@bkw777
Copy link
Owner

bkw777 commented Mar 10, 2023

I'm not sure how to make use of that.
The .deb packages and the info about them are only coming from:
https://kernel.ubuntu.com/~kernel-ppa/mainline/
and
https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.2.2/ etc
I don't see any lts info that can be scrape out of either of those web pages.
I don't think I want to start trying to pull stuff from unrelated web pages which means yet more fragile page scraping, and needing both sites to be up or else the info we display is wrong, needing to match the already-unreliable free-form version strings now from two different sources, etc

@mjechow
Copy link
Author

mjechow commented Mar 21, 2023

Ahh, yes I see. That unnecessarily complex and fragile.
Maybe it's possible to implement a manual filter. So that one could only see version defined by oneself?

@bkw777
Copy link
Owner

bkw777 commented Apr 2, 2023

Even incorporating the git log page, I don't see how to get a list of kernel versions.
I'd be willing to make it a config option, but I need more description where exactly to get the info. For instance, what exactly would I scrape out of that git log page? I don't need code, just an explaination where the key bits are to be found.
There are version numbers all over the place, but which ones are lts? and the only thing that actually says lts, is "linux-rolling-lts" which is not a version number.

@bkw777 bkw777 closed this as completed Apr 3, 2023
@AtomicRobotMan0101
Copy link

AtomicRobotMan0101 commented May 31, 2023

Is it possible to add an option to only check for long term stable (lts) kernel versions? I am using lts kernels only I don't want to be notified about other versions.

I thought about putting up a FEATURE request so it marked LTS visually (in some manner) as well.

But the more I thought about it, the users of Mainline are hardly the kind of people to be bothered by LTS considerations. They are on the forefront, the sharp end, the vanguard.... the risk takers :)

Though, it is a decent enough idea. I respect that @bkw777 is keeping it focused and tight.

@bkw777
Copy link
Owner

bkw777 commented Jun 1, 2023

It might happen. The main problem with this is just having a source of data that can be queried on the fly and reliably matched up with something from the mainline-ppa site. The source of data could be anything. Scrape a web page, query an api, or even a git command to some repo to scrape git logs or something. Once there is some way to get a list of version numbers, it's not a big problem to add an option to filter the list to only show matching ones.

I mean, https://www.kernel.org/ lists exactly 6 "longterm"
I guess it would be easy enough to read that and only show those. They could have their own notification setting too so you get notified when one of those changes.

I assume those versions change once it a while, and it only ever shows the current version. So I couldn't show all versions, just whatever is the present version. But I just looked at a few and there are easy matches with ones from mainline-ppa. ex kernel.org says one is 6.1.31, and there is an unambiguous 6.1.31 on mainline-ppa. So, eh, maybe. I could add a link to the upstream changelog too: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.31 which says a lot more than https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.31/CHANGES

@bkw777 bkw777 reopened this Jun 1, 2023
@bkw777 bkw777 added the enhancement New feature or request label Jun 1, 2023
@AtomicRobotMan0101
Copy link

I do enjoy reading the change logs. A link would be excellent.

Perhaps I'm a bit weird in that, but it makes me feel I "know" the software a little more closely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants