Need help with cfgdiff?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

evgeni
140 Stars 9 Forks MIT License 69 Commits 10 Opened issues

Description

diff(1) all your configs

Services available

!
?

Need anything else?

Contributors list

# 24,346
Ansible
tempera...
thinkpa...
Symfony
67 commits
# 450,371
PHP
Shell
ddos-mi...
fastcgi
1 commit

cfgdiff --
diff(1)
all your configuration files

Build Status

Why?

Ever tried comparing MySQL's

my.cnf
from a Debian and a Gentoo machine with
diff(1)
without going crazy?

diff(1)
is an awesome tool, you use it (or similar implementations like
git diff
,
svn diff
etc) every day when dealing with code. But configuration files aren't code. Indentation often does not matter (yeah, there is
diff -w
and yeah, people use YAML for configs), order of settings does not matter and comments are just beautiful noise.

How?

cfgdiff
will try to parse your configuration files, fetching all the relevant keys and values from them and then pretty-printing them in the original format. These results are then diffed and the diff is shown to you.

What?

cfgdiff
currently supports the following formats:
  • INI using Python's ConfigParser library
  • JSON using Python's JSON library
  • YAML if the Python YAML library is installed
  • XML if the Python lxml library is installed

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.