nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
6.87k stars 1.79k forks source link

`home-manager news` should provide an option to only show "unread" news #1533

Open NobbZ opened 4 years ago

NobbZ commented 4 years ago

Issue description

home-manager news prints a huge lists of "news", most of them are neither relevant for me, or I already read them.

Sometimes home-manager switch informs me about a given number of "unread and relevant news items".

Sadly those are not necessarily at the top of the paged output, but I have to sometimes find them somewhere in between.

Therefore it would be nice to have a way to only show unread news items.

teto commented 4 years ago

I vote for ditching news.nix altogether, its problematic on rebase, introduce some states, and duplicates git log effort.

teto commented 3 years ago

@rycee I am williing to put in the work. What do you think of removing news altogether ?

stale[bot] commented 3 years ago

Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

If you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information.

Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

sumnerevans commented 3 years ago

I'm for keeping news as a concept, but I wouldn't mind helping to improve it. Maybe even make it automated: every week (or whatever cadence) generate summary of new and changed options and publish something online (possibly with an RSS feed) so that people who care can know when new stuff gets merged?

teto commented 3 years ago

I am not against newsletter/changelog, on the contrary. There is some level of automation that can be reached with simple conventions as https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit-message-header

I dont recount the number of rebase due to news.nix clashing. And now there is a flake issue: https://github.com/nix-community/home-manager/issues/2033

fricklerhandwerk commented 3 years ago

Also in favor of not printing news automatically. I will use git log in any case, and having some automation affordances around that would indeed help. Agreed, no point duplicating work or reinventing wheels around version control.

stale[bot] commented 3 years ago

Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

If you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information.

Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

Nadrieril commented 3 years ago

News has the incredible benefit that I only get updates about modules that I use (and new modules). We could make it better with e.g. a per-module news list but removing it would be a big loss of functionality

teto commented 2 years ago

yet another PR blocked by news.nix: https://github.com/nix-community/home-manager/pull/2984 we could use a wiki instead.