rua
rua copied to clipboard
Interactively Skip updates
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 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 ?
If you want some prior art you can look at the upgrade menu in yay/paru
@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.
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.
@vn971 What do you think regarding this?