[Devel] dbtext support for serctl

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Jul 1 15:04:06 CEST 2005


Hello,

On 07/01/05 14:52, Cesc wrote:

>Hi,
>
>Cool. I didn't modify the mysql.sh ... instead, i added a command to
>serctl so it will create the needed files ... it is simple, but it
>works.
>  
>
ok, maybe we can move the command to create the database directory and 
table file in a separate file -- it should include (int the future) also 
some commands to backup/restore/upgrade the structure -- and keep the 
commands to manipulate the content of tables in serctl.

>Then, if instead of merging it is in a separate file ... ok. Actually,
>if all db-backends are to be in the same file, in the end it may be a
>mess to mantain ... i think.
>  
>
This is what I am also afraid. Besides that, since now it is possible to 
use multiple database backends simultaneously, one may want to be able 
to use specific scripts (to avoid changing the database backend variable 
in one script each time).

Daniel

>Cesc
>
>On 7/1/05, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
>  
>
>>Hello,
>>
>>I will try to see if it is easy to integrate it with the version sent by
>>Klaus, otherwise I will added it separately.
>>
>>Thanks,
>>Daniel
>>
>>On 07/01/05 13:08, Cesc wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>Long ago i sent an updated serctl script with support for dbtext. It
>>>is not a separate file just for dbtext, it is an updated version where
>>>through environment variables you can choose the db-backend (mysql or
>>>dbtext).
>>>
>>>It is probably not very neat code due to the limitations of using text
>>>files, but it is a start. At least adding users, removing and so on is
>>>easier done this way. It relays on a standard set of columns (the
>>>order cannot be random, it has to be as in the serctl, otherwise, it
>>>does not work :D ).
>>>
>>>Cesc
>>>PS - The base serctl is from ser-0.9.0 (quite old ... i hope it has
>>>not had a major overhaul).
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Devel mailing list
>>>Devel at openser.org
>>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>>
>>>
>>>      
>>>
>
>  
>



More information about the Devel mailing list