Skip to content

in an attempt to keep database passwords out of revision control, a multi-lingual (python, perl, XSLT) library to read database connection information from a common file

Notifications You must be signed in to change notification settings

cdlib/dsc-config-reader

Repository files navigation

config_reader

In an attempt to keep database passwords out of revision control, a multi-lingual library to read database connection information from a common file has been created.

Problem

There are database passwords hardcoded in various places in the codebase and so we can't keep our code in a public repository.

Solution

config_reader

Languages

python, perl, XSLT; maybe bash or java in the future

Design Considerations

XML is the format of the file that holds datbase connection information since it needs to work from XSLT / saxon that connects to mysql via extension function.

The format of the XML matches very closely the structure of the python dictionary django's setting.py requires in django > 1.2.

Using config_reader

config_reader.py has documentation and test built in; test.pl and test.xslt show how use it from perl and xslt.

About

in an attempt to keep database passwords out of revision control, a multi-lingual (python, perl, XSLT) library to read database connection information from a common file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published