Koumbit scripts 1.2 published
features a new conflict-resolution script for Debian upgrades
Koumbit scripts, our repository of custom scripts and oddities we have accumulated over the last 10 years, is now at version 1.2. This new version marks the release of a special script blandly named
clean_conflicts. This script can be used to help automated upgrades in that it allows admin to process, in batch (instead of inline during the upgrade), changes to configuration files in
Those files are left around by
ucf during the upgrade, and are usually wasting everyone's time during the upgrade, as they freeze the terminal, waiting for an admin's answer to the eternal question "keep? replace? abort?" With
clean_conflicts, those files can be simply ignored during the upgrade and processed all in one bunch, extracting the maximum brainpower from the admin.
It also has other advantages:
- it can merge files with sdiff (ucf should already do that however)
- it will pipe through colordiff if it is avaible
- it will actually remove the backup files, removing some cruft - note that this may actually be dangerous if do not have /etc under version control. we encourage the use of etckeeper for that purpose, or have backups
- it can also run on an arbitrary directory
Ideally, this would be factored upstream, into
ucf (#13421) but for now it's a simple workaround and time saver.
Koumbit-scripts also ships a number of various other scripts and oddities, see the git repository for a complete list.