Open alexjp opened 8 years ago
Indeed a nice feature.
The idea of a world file with favorite packages
is a bit related to /etc/zypp/systemCheck
.
The idea was to be able to provide a black/white-list of packages required/forbidden on a system. Each and every solver run has the systemCheck rules enabled. It's the reason why you can hardly zypper rm glibc
. Custom settings can be defined as file in /etc/zypp/systemCheck.d
.
Yes, i guess i was doing my own custom systemCheck.d. I didnt knew about systemCheck file. The systemCheck.d folder is a nice touch ( example for kde packages, gnome packages, sys packages ).
Seems opensuse and zypper has all the infrastructure to allow this features. Nice!
Is PR #165 related to this issue? Is there any work being done on it currently?
Is PR #165 related to this issue? Is there any work being done on it currently?
Yes, I believe so. And no. It seems no work has been done in either PR.
Hi,
Support for exposing /var/lib/zypp/AutoInstalled functionality for marking packages as AutoInstalled or Explicit.
I was thinking of something like:
I have been using these scripts to manage autoinstalled packages: https://github.com/alexjp/zypper_autopackages
zypper_autoinstalled.sh: creates a full autoinstalled file from packages not present in a world file zypper_autoremove.sh: remove all packages not needed by packages not in autoinstalled zypper_explicit_installed.sh: creates the world file: all packages installed but no in autoinstalled
With these scripts, I can have a common world file with favorite packages, and manage those across diferent machines. With zypper_autoremove.sh, I can have the peace of mind that i can install all i want, if later is not in the world file, it can be cleaned and removed from system. ( very helpfull when installing and testing a new desktop environment or group of packages ).
Thanks!