Most of the times I want snap-pac to make a snapshot, but sometimes I want to test a package or something like that, and I don't want to create snapshots.
My most recent personal example is that I was comparing the performance of python-tensorflow and python-tensorflow-cuda, reinstalling them back and forth, and then I realized that my snapshots are bloated with unnecessary entries.
This PR adds an ability to use $ SNAP_PAC_SKIP=true sudo pacman -S ....
The current code is more of a prototype, please suggest how you'd like to name the option, what to print to stdout and any other ideas - or feel free to take over the PR if that's simpler for you.
Most of the times I want snap-pac to make a snapshot, but sometimes I want to test a package or something like that, and I don't want to create snapshots.
My most recent personal example is that I was comparing the performance of
python-tensorflow
andpython-tensorflow-cuda
, reinstalling them back and forth, and then I realized that my snapshots are bloated with unnecessary entries.This PR adds an ability to use
$ SNAP_PAC_SKIP=true sudo pacman -S ...
.The current code is more of a prototype, please suggest how you'd like to name the option, what to print to stdout and any other ideas - or feel free to take over the PR if that's simpler for you.