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

fix: Filter out ignored packages when checking for AUR packages update with paru #305

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

Antiz96
Copy link
Owner

@Antiz96 Antiz96 commented Jan 22, 2025

Description

paru still shows packages listed in pacman.conf's IgnorePkg array when checking for update with -Qua, creating false positives when checking for updates with arch-update. This commit properly filters out packages tagged as [ignored] from the paru output to prevent such false positives.

For information, pikaur also shows packages listed in IgnorePkg in its output but in stderr, which is already filtered out by arch-update (so no fix needed for pikaur). yay completely ignores packages listed in IgnorePkg already (just like checkupdates does for packages from the repos).

Screenshots / Logs

From #304:

Image

$ arch-update
==> Looking for updates...

==> AUR Packages:
bcompare 4.4.7.28397-1 -> 5.0.5.30614-1 [ignored]

-> Proceed with update? [Y/n]

Fixed bug

Fixes #304

@Antiz96 Antiz96 added this to the v3.6.1 milestone Jan 22, 2025
…e with paru

`paru` still shows packages listed in pacman.conf's `IgnorePkg` array when checking for update with `-Qua`, creating false positives when checking for updates with `arch-update`.
This commit properly filters out packages tagged as `[ignored]` from the `paru` output to prevent such false positives.

*For information, `pikaur` also shows packages listed in `IgnorePkg` in its output but in `stderr`, which is already filtered out by `arch-update` (so no fix needed for `pikaur`). `yay` completely ignores packages listed in `IgnorePkg` already (just like `checkupdates` does for packages from the repos).*

Fixes #304
@Antiz96 Antiz96 merged commit 8252253 into main Jan 22, 2025
1 check passed
@Antiz96 Antiz96 deleted the fix_ignored_pkgs branch January 22, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IgnorePkg not ignored
1 participant