serverdiff script
Submitted by
jenn.
on 2005-06-07 12:59.
Until recently, the "serverdiff" script has only been used to compare citadel with cnx. We keep needing something like it for other circumstances too, though, so I'm gradually upgrading it.
Ross and I brainstormed a few weeks ago about how the serverdiff and
rollout scripts should behave, and what feature path they should take
from their then-current state to get there. What serverdiff did in its
ancestral state was:- Diff the Zope "Products" directory on cnx and citadel
- Diff /etc/ and /usr/local/ on cnx and citadel, ignoring certain expected differences
- Compare the Debian package lists on cnx and citadel
The main thing I need to make serverdiff a useful tool is a list of exactly what is significant to one of our Zope installs, so I can look specifically for those differences and ignore ones that only pertain to X11, or audio, or other desktop-specific packages. I think of this as the Holy Grail of systems knowledge for me, but it seems that it would also be useful to people installing RISA on their own systems. That list would be a list of Zope products, config items in /etc, installations in /usr/local/, and versions of system software required to make a RISA system.
My recent changes, checked into CVS, have at least caused serverdiff to take server and instance arguments. The output's still very messy if the servers differ greatly, but it's a start.
