[Modeling-users] Core / ZModeling v0.9pre8 released
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-05-27 21:18:00
|
Hi all, This release has a number of small enhancements you've probably already heard about :) - loading a xml-model is now 5 to 6 times faster, - in "base" mode, the Python code generation now gathers all files that are overwritten by a regeneration of the code, leaving the business-logic in the main classes untouched; a dry-run mode has been added (both mdl_generate_python_code.py and the ZModeler support this). - The db-connection dictionaries stored in models can now be stored in a single file, making it simpler to ensure these sensitive informations are well protected. (cf. http://modeling.sourceforge.net/UserGuide/env-vars-core.html, and look at MDL_DB_CONNECTIONS_CFG) Next release (pre9) will add the PyModels. Than 0.9 will be at hand... (we still lack a one-page tutorial) Cheers, -- S=E9bastien. ------------------------------------------------------------------------ 0.9-pre-8 (2003/05/27) --------- * Loading a xml-model is now 5 to 6x faster: applied a patch submitted by Yannick Gingras <ygi...@yg...>. Thanks! * Fixed: creating/dropping a database could fail because of trying to rollback a cursor in autocommit mode [Merged from brch-0_9pre6-1-ModelMasons_base_generation_scheme] Summary: the ''base'' generation scheme has changed. Instead of putting Writer.py and WriterBase.py in the same package, it now generates a subpackage 'MDL' in which the base classes are dropped. * Added tests/test_generate_python_code.sh: tests the generation of python code in different situations, and it also checks that the appropriate python test (such as test_EditingContext_Global.py) succeeds with the generated code. Also added: xmlmodels/model_StoreEmployees.xml[2|3] * Updated documentation for ModelMason and PyModelMason * Added fake_mode to ModelMason, PyModelMason and option -n/--dry-run in mdl_generate_python_code * scripts/mdl_generate_python_code (option -B), PyModelMason.checkModelIsValid()): the 'base' scheme cannot generate a python-package from a model where a class and at least one of its (dire= ct or indirect) subclasses leave in the same module. This is now checked a= nd correctly reported when the generation cannot be done. =20=20 * Added the 'MDL' sub-directory containing the files that are overwritten when mdl_generate_python_code.py (option: -B) regenerates a package [/merge] * RFE #726839: Added environment variable MDL_DB_CONNECTIONS_CFG; it poin= ts to a single ini-file which centralizes the sensitive informations contained in each model's database connection dictionary (username, password). See tests/Postgresql.cfg for an example. ------------------------------------------------------------------------ |