yay icon indicating copy to clipboard operation
yay copied to clipboard

vcs.json is not updated when package is removed due to conflict resolution

Open kasper93 opened this issue 3 years ago • 0 comments

Affected Version

Tested with current HEAD (cd4462761a3b67ebc7ae3bb51cff0c1b0345504a)

Describe the bug

vcs.json is not updated when package is removed due to conflict resolution

Reproduction Steps

  1. yay -S yay-git
  2. yay -S yay
  3. grep yay-git vcs.json

Now non-existent package yay-git will still be there.

Expected behavior

I would expect vcs.json to be kept clean of orphans, which can be only manually removed. It is very common pattern to go back to non-aur/non-git version of a package,

kasper93 avatar Sep 11 '22 01:09 kasper93