feat: option for installing packages in clean chroot
An option for installing a package in a clean chroot would be nice.
yay -S --clean-chroot cabal-static
To make it fast, perhaps something like clean-chroot-manager can be used as a backend?
The link for clean-chroot-manager is broken -> here it is fixed.
However I feel like depending on a shell script (and another AUR package) is not the most optimal. As of the writing of this comment the deps or yay AUR package is quite small and I think it should be kept that way (that's my personal opinion however)
git (git-git)
sudo (nosudo, sudo-masochist, sudo-hg, sudo-selinux)
pacman>=5.2 (pacman-git)
go (gcc-go-git, go-tip, gcc-go, go-pie) (make)
Maybe doing it the "classic" way as decribed in the arch wiki and depending only on devtools would be better ?
As of the writing of this comment the deps or yay AUR package is quite small

@aspenluxxxy go (gcc-go-git, go-tip, gcc-go, go-pie) (make) yay does not depend on go on runtime, it is a make dependency.
@YodaEmbedding right now my focus is on ensuring the end to end and unit tests of yay are stronger to allow this kind of features to be implemented more easily. It is a topic that will require study though but I agree on @reyreaud-l on not depending on other AUR packages
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.
Hi @stale bot, this issue is still relevant to me, you can remove the stale label again. Please don't automatically close stale issues, that's rude. Only humans have the ability to tell if an issue is still relevant or not.
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.
still relevant
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.
asdf
@Jguer Can you please shoot that bot? At least for this issue. 2/3 of this discussion is basically bot spam.
@piegamesde I'll see if I can make it less aggressive, maybe double the inactivity time
Bot has been tamed
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.
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.
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.
This feature would be very helpful for "debugging" package dependencies. Are there already any plans to implement this feature anytime soon, or is it relatively complex to implement?
No updates after 2022?
Sorry for necrobumping, but this feature is exactly what a lot of people need, including me.
I know there is paru, but it's not very appealing to have multiple tools that differ just in some little things.
@Jguer Please share your status on this feature, whether You are planning to add it or not