Repository navigation
Releases
Releases · yoannlr/eugene
eugene v3
eugène's changelog
v3
- new
storagesubcommand (storage putandstorage get), enables data storage inside generations - new
repairsubcommand, ensures all entries of each handler for the current generation are installed (in case of change outside of eugene) diffsubcommand now takes an optionalhandlerargument- remove the use of
EUGENE_HOOKSenvironment variable - add man page
- make status codes consistent: 0 is ok, 1 is process error, 2 is command (user) error
- prettier logging
- add
run_ifparameter in handler config: the handler will only trigger if the command is successful - conditional setup commands for handlers with
when/runpairs- can be used to install flatpak with apt or with pacman depending on distro, for example
eugene v2
eugène's changelog
v2
- eugène repo is now
${XDG_CONFIG_HOME:-$HOME/.config}/eugeneby default - eugène generations dir is now
${XDG_DATA_HOME:-$HOME/.local}/state/eugeneby default - handlers now match
handlername*and$(hostname)_handlername*files in repo, this enabled host-specific entries - new
applysubcommand, equivalent toeugene build && eugene switch latest switchnow fails if any handler command fails- new
alignsubcommand, removes gaps in generations numbers, eg.[0, 2, 3, 6] -> [0, 1, 2, 3] - bugfix: correctly raise an error when
toGenargument is invalid indiffsubcommand - when switching to a new generation, the following environment variables can now be used in scripts:
EUGENE_CURRENT_GEN, the current generation, eg.1EUGENE_TARGET_GEN, the target generation, eg.2EUGENE_HANDLER_NAME, the currently running handler, eg.apt_pkgs
- new
deletedupssubcommand, automatically deletes duplicate generations - new
rollbacksubcommand, switches back tongenerations ago - automatically generated configuration file is now set to mode 644 (not executable anymore)