rua icon indicating copy to clipboard operation
rua copied to clipboard

Interactively Skip updates

Open samyak-jain opened this issue 3 years ago • 6 comments

I understand that we can currently skip certain packages using ---ignore or using IgnorePkg but I would love if we could have the ability to skip an update in the interactive menu. This would be much more convenient for me.

Let me know if it's something that you would like added and I can work on submitting a PR.

samyak-jain avatar May 03 '21 10:05 samyak-jain

@samyak-jain Hey, that's an interesting question, I sometimes struggle with it myself. Usually I run the upgrade command, abort it, and then install the individual packages separately, manually.. So I do agree that there could be something to improve for this workflow

That being said, how would you see this feature working? E.g. what screen appears to the user first, what are the possible responses to the window by the user, etc ?

vn971 avatar May 03 '21 10:05 vn971

If you want some prior art you can look at the upgrade menu in yay/paru

Morganamilo avatar May 03 '21 10:05 Morganamilo

@Morganamilo :+1: that's a very good remark.

I'd advise not to start with other clients because that limits potentially new ideas. But after coming up with few ideas of what we'd want to build, definitely check how other package managers do it. A lot of other people thought about other approaches already => there's a very high probability that it'd be best to copy the other approach.

vn971 avatar May 03 '21 11:05 vn971

I was thinking something along the lines of it being part of the existing menu. When reviewing a package we get options like S for shellcheck, M to merge, O to accept, so we might want to just add another option than can skip this package. I don't know how other package managers do it since this is the only one I've used but this approach makes a lot of sense to me.

samyak-jain avatar May 03 '21 11:05 samyak-jain

@vn971 What do you think regarding this?

samyak-jain avatar Jun 06 '21 16:06 samyak-jain