Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

[FEATURE]: Warn about package interventions before upgrade (news) #75

Open
fries1234 opened this issue Sep 23, 2022 · 6 comments
Open
Labels
enhancement New feature or request

Comments

@fries1234
Copy link
Contributor

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

@SomethingGeneric
Copy link
Member

I think implementing something like eselect news would be a good approach

@fries1234
Copy link
Contributor Author

how does that command work? i dont really have a gentoo vm to pull out rn.

@SomethingGeneric
Copy link
Member

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)

@fries1234 fries1234 added the enhancement New feature or request label Oct 2, 2022
@Amanse
Copy link

Amanse commented Oct 3, 2022

I can think of 2 approaches for storing read

  1. 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
  2. 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

@SomethingGeneric
Copy link
Member

I was thinking we're probably good enough with the eslect approach, which is #1 above

@SomethingGeneric
Copy link
Member

damn github markdown

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

No branches or pull requests

3 participants