[IRCServices Coding] idea for xml part
Andrew Church
achurch at achurch.org
Mon Feb 24 09:52:16 PST 2003
>Idea from thebeast
>i thinking to use it than to grep this part from the xml file
>and check this with the current version on the backup server
>so that this can start a update script that will update that
>server if the versions are different
I don't know about you, but I'd be very, very afraid to have a script
that automatically compiled and installed programs on my server. Even
setting aside the threat of someone tricking your script into doing nasty
things, I might accidentally release a version that corrupts your data
files, and then boom, you're screwed. (I wouldn't do this intentionally,
of course, but I'm only human, and I make mistakes occasionally.)
>Idea from Rodecker
>the version check can also be used for newer release that have
>newer/beter options that are not in the older versions so
>the --import commandline option can check if the xml dump
>is suitable for that version of ircservices
It's already designed so that missing information will be set to
appropriate values (unless I screwed up somewhere). There's no need for
an extra check of this kind.
--Andrew Church
achurch at achurch.org
http://achurch.org/