yay icon indicating copy to clipboard operation
yay copied to clipboard

Discrepancy of output

Open ask1234560 opened this issue 2 years ago • 2 comments

Affected Version

yay -V                                                                                                                   
yay v10.3.0 - libalpm v13.0.0

Describe the bug

Screenshot_from_2021-07-18_21:41:47

2 issues are there-

  • I had installed custom packages using makepkg and pkgbuild without helpers. Eg - linux-zen-custom, linux-zen-custom-headers, picom-custom But yay is only detecting picom-custom as can be seen in the screenshot (missing AUR Packages)
  • Only -> virtualbox-ext-oracle: ignoring package upgrade (6.1.16-1 => 6.1.22-1) line have some color while colors are missing in rest.

Reproduction Steps

1.Install packages using makepkg and pkgbuild without helpers. 2.yay -Syua

Expected behavior

  • Yay should detect all missing AUR packages.
  • Every output should be colored or none colored

ask1234560 avatar Jul 18 '21 16:07 ask1234560

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 16 '21 04:11 stale[bot]

Same issue. I'm using IgnorePkg directive in pacman.conf too. The non-colored version numbers come from the packages I added to this directive. The non-ignored packages are colored as expected. It only happens with ordinary packages (non-AUR). Updatable AUR packages are showed colored as expected even if they are in the IgnorePkg list.

yay v11.2.0 - libalpm v13.0.1

kwaun avatar Jul 25 '22 18:07 kwaun

https://github.com/Jguer/yay/blob/3ef4664d992aaabcf9497714b18da2eade4afb5d/pkg/upgrade/sources.go#L56 requires a bunch of refactoring before being able to remove the color when color is enabled from the version diff>

Closing for now, unless someone wants to handle it

Jguer avatar Feb 21 '23 03:02 Jguer