-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

As some of you may have heard, the database @ savannah got in a bad state 
(well, Beuc doesn't thiink much so, but anyways.. ;-) which I'm mainly 
attributing to people kludging it, but also the lack of error recovery in the 
back-end sv_* scripts.

If you don't have root@ going to /dev/null, you should catch a lot of the 
errors from userx, but for a long time, we did, and database<->system 
synchronisation became a mess (without us knowing), with users & groups 
missing all over the place, and other `nicities'.

What I would like to commit after the 1.0.4 release (most of which is 
available in administration's viewcvs @ savannah) is something like this:

 - race-safe locking (flock) for all file i/o
 - a Savannah::Logger module (or Logging, if you want) logging facility which 
is used throughout the backend, instead of all of them doing their own 
(sometimes) custom opening/locking/etc.
 - rid use of backticks and use system(...) == 0 or die constructs instead.
 - more unless($debug) constructs, as some userx stuff is still geing done in 
debug mode

This - minus the log facility and the debug stuff  - has shown us a lot of 
errors in the database, which sometimes goes un-noticed.  (If you want some 
raw info on this, please mail me.)  Might be handy for other sites, too. :-)

Any comments/flames/etc? 8-)

Best,
Elfyn

- -- 
Elfyn McBratney
beu on irc.freenode.net/savannah.[non]gnu.org

PGP Key ID: 0x456548B4
PGP Key Fingerprint:
  29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBVrowaIgMKkVlSLQRAvO0AJ42Q1OnEFjibqJkkWR7ZLCsqbUFYACdHtQg
Aw7kCMDwXcY7O/BxHOTKpUM=
=xMl1
-----END PGP SIGNATURE-----

Reply via email to