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

news: fix isRelevant check #853

Closed
wants to merge 1 commit into from
Closed

Conversation

thesamesam
Copy link
Member

Manifested as all news items being shown, even if
(very) irrelevant to the running system (e.g.
different arch, packages not installed, ...).

I think the distinction here is that with the previous state,
we'd end up with only Trues, or nothing (an element
would be omitted), whereas this commit means we end
up considering a possible mixed sequence.

Fixes: 9e24d01
Reported-by: kurly
Signed-off-by: Sam James sam@gentoo.org

Manifested as all news items being shown, even if
(very) irrelevant to the running system (e.g.
different arch, packages not installed, ...).

I think the distinction here is that with the previous state,
we'd end up with _only_ Trues, or nothing (an element
would be omitted), whereas this commit means we end
up considering a possible mixed sequence.

Fixes: 9e24d01
Reported-by: kurly
Signed-off-by: Sam James <sam@gentoo.org>
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to make sense.

thesamesam added a commit to thesamesam/portage that referenced this pull request Jul 12, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
@thesamesam thesamesam closed this Jul 12, 2022
@thesamesam thesamesam deleted the news-fix branch July 12, 2022 02:23
@thesamesam
Copy link
Member Author

Merged.

thesamesam added a commit to thesamesam/portage that referenced this pull request Jul 12, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Jul 20, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Sep 20, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Sep 20, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Sep 29, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Sep 29, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Oct 12, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Nov 2, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Nov 15, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Dec 5, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Dec 14, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Dec 15, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Dec 24, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Dec 31, 2022
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Jan 10, 2023
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Jan 10, 2023
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Sep 26, 2023
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Sep 26, 2023
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Oct 1, 2023
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this pull request Oct 1, 2023
Noticed when reviewing commits after the news issue
(see referenced PR).

This should be equivalent but I think it's
more readable this way (ditching the
negatives).

Fixes: 9e24d01
See: gentoo#853
Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants