On Mittwoch, 27. Mai 2009, Jan Janak wrote:
> > kamailio tools (kamctl and kamdbctl) have not been imported yet. The
> > usual place for them was 'scripts' folder but now there are overlapping
> > names, related to the folders holding sql scripts.
> >
> > Shall we create a subfolder in scripts directory, e.g., scripts/kamctl?


Hi Jan,


> What about importing them into the tools directly?


do you mean the tools directory? Hm, not sure what then the purpose of the scripts directory would be, perhaps this could be then removed?


> > The xml definition of db tables were in db directory, which now is
> > library srdb1(same for ser, are now in srdb2). Do we let them there or
> > is another more suitable place for them as they are not dependent of DB
> > api but of what DB structure to be used (some modules using db were
> > moved in common folder already)?
>
> I would suggest that we keep them there for now. The scripts that are used
> to generate db schema need, in my opinion, an overhaul, so we might just do
> it in one go.


I refactored the k XSL scripts (which were imported from SER) in the last year somewhat and also improved/ added support for DBs!=mysql. They do IMHO a good job now to generate the needed database scripts from XML sources, so i don't see a big need to rework them. What i removed was the possibility to also create insert statements, i think, not sure if this is needed from SER.


> By the way, what else is missing in the git repository and should be
> imported from the SVN repository? Could you (or somebody who is familiar
> with kamailio svn repository) make a list of stuff that should be imported
> into git, along with the destination directory where you want to have them?
>
> I could then import them with full history all at once.


The utils directory content is also missing.


Henning