On Fri, Aug 11, 2006 at 10:14:46AM -0500, Logan Shaw wrote:
> What happens if the new set is broken?  There's no easy way
> to revert to the last known good state.

sa-update lint checks the new files in a separate temp area before
installing them into the real directory.  Only if lint succeeds
(which is also, of course, after verifying the sha1 and (by default)
gpg signatures of the update file), will the currently installed channel
files be removed and the new files installed.

So there's no reverting involved for a "broken" update file.  Note:
"broken" means an update file which has errors in it.  This algorithm
doesn't address someone publishing valid config files that don't do
what the publisher expected, ie: only empty or commented config files,
no files, or <insert your favorite broken ruleset idea>.  IMO, channel
publishing QA is really outside the scope of sa-update.

-- 
Randomly Generated Tagline:
Turnaucka's Law:
        The attention span of a computer is only as long as its
        electrical cord.

Attachment: pgpt4N6mOwPg1.pgp
Description: PGP signature

Reply via email to