[isf-wifidog] [Fwd: login error]

kaouete kaouete at crazydwarves.org
Ven 1 Avr 11:29:21 EST 2005

About schema changes, i think you can look at the way phorum.org upgrade
their schema :
they have the date of the last schema in one of the php file (like your
tag schema_version)
a directory with upgrade for each version( 1->2 2->3 3->4 etc .. . )
and a script that check the current schema version, the last one to
apply, and it apply all the script in the upgrade directory between
these two.

It works really good like that in their cvs, it can be a way to do
this :)

if it helps . .


On Fri, Apr 01, 2005 at 08:07:39AM -0500, Philippe April wrote:
> Hash: SHA1
> On 1-Apr-05, at 7:49 AM, Benoit Grégoire wrote:
> >On Thursday 31 March 2005 21:28, Philippe April wrote:
> >>I put "global $db" at the top of the function  to fix the issue also,
> >>if you haven't seen.
> >>
> >>I suppose it was only doing this for some users, but still... $db was
> >>not accessible for that case so that's why he got the message.
> >
> >Yes, I saw.
> >
> >>I'd like to bring the issue of the config.php too.
> >>
> >>I really hate the fact that we put our particular config, in CVS. I
> >>think we should have a config.php.template (generic one), that people
> >>have to copy to config.php.
> >
> >The auth server will read local.config.php if present.  However, there 
> >is no
> >way to automatically update with new config options.  I think it's 
> >critical
> >that the config.php in CVS is always complete and valid.
> I would really like to start changing the way we're doing the config 
> and schema changes. I brought this up in the past already.
> Basically I would like to start tagging releases (between major 
> changes), split the design much more (make a generic config + style 
> available, and make our ISF a 'skin' that people don't have to put up 
> with when they install wifidog-auth) and when we change the schema, 
> well we make it another release and have a little documentation on 
> "what changed between this and that release" + a little upgrade script.
> I really hate the fact that our production running config is in CVS! 
> I'd like something more generic to be in CVS, no tweaks, no hacks.
> Philippe April
> GnuPG: http://key.philippeapril.com/
> Version: GnuPG v1.2.4 (Darwin)
> iD8DBQFCTUebOq+Ep5Xn/aARAo3zAJ9Q8+EXFw7Q0KtBvuly4An6Jl/M1QCgwyoa
> uZ/tcSYR5D2en6QPZ2Wb68o=
> =X8DF
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Digital signature
Url: http://listes.philippeapril.com/pipermail/wifidog/attachments/20050401/388385e7/attachment.pgp

Plus d'informations sur la liste de diffusion WiFiDog