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

(Please keep savannah-volunteers@ in the Cc - Thanks :-)

Hello Savane devs, fellow hackers,

The subject says it all: Adding site specific personalities to the back-end 
code (lib/... in CVS).  My rationale is fairly cheeky: it makes maintaining 
Savannah specific changes in the sv_* scripts a doddle. ;-)

But, it would also be a useful feature for any large site (like the ones in 
the Subject line) for installation specific code, IMO.  It also has the 
benefit of good working example configurations for others to use. :-)

Some specifics: To add a 'personality' you would use perl's Exporter module 
and export a tag (the site name.. that's the first one I've thought of - 
there's more, of course ;-), ala

  use Savannah 'Gna';
  use Savannah 'Subversions';
  use Savannah 'CERN';

The plus side of this is that, you can use perl inheritance rules to make 
things even simpler, by having everything in the back-end as a default (a 
'stub' if you want) function, that can be overridden by another module 
(personality, here).

Does this sound OK?  Maybe it would be better if I write a proper proposal 
with more information?

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)

iD8DBQFBU7TeaIgMKkVlSLQRApE+AJ0Z6EDRKjRdyPADGNyBCkQ0Vge+ygCdEBRP
zFSEjmeulvvnuv/fYRz9mcI=
=kggt
-----END PGP SIGNATURE-----

Reply via email to