[FEATURE]: Warn about package interventions before upgrade (news)
Is your feature request related to a problem? Please describe.
Sometimes, Arch might have a manual package intervention that you would have to do to upgrade. These are posted on the arch website, which sometimes you might forget to check before upgrading your system. Having the program warn you about package interventions before upgrading if there's a new news post up would be nice as it makes life a lot easier.
Describe the solution you'd like
Arch has an RSS feed for their news posts. We could use this feed and check if there's a new post and tell the user about it. We would have to find a way to store if the user has read the post or not so the program wont warn you if there's a new news post if you already read the news post.
Describe alternatives you've considered
I haven't considered any alternatives.
Additional context
No response
I think implementing something like eselect news would be a good approach
how does that command work? i dont really have a gentoo vm to pull out rn.
eselect news read prints to your terminal, and then marks those items as read (tbh I haven't looked at the internals though, but emerge is python at least)
I can think of 2 approaches for storing read
- Not super accurate, but we can assume that if news is shown, it is read by user(since the any issue is usually mentioned with package name in title anyway), so storing the date and time of last post shown and comparing with latest post to see if anything new has come up, if yes then show, if not, then skip
- highly accurate, like a proper rss reader, we can have opening of articles and then keep guid of the article in a read_articles.json file
I was thinking we're probably good enough with the eslect approach, which is #1 above
damn github markdown