[Kimchi-devel] [PATCH v4 0/3] Reorganize kimchi's path vars generation code

Mark Wu wudxw at linux.vnet.ibm.com
Tue Jan 28 06:21:41 UTC 2014


This series of patches reorganize kimchi's path vars generation code
to allow plugin use kimchi s ui handler. 

Changes:
v4:
	Fix the test break when installed to non system dirs. (per Shaohe)
v3:
	Rebase
	Only access the paths instance when the request is for html, which
    can avoid forcibly installing paths to the plugin which just have
	json requests.
v2:
	Rebase
	Remove the optimization for plugin paths since it just have a few
	instantiations.



Mark Wu (3):
  Reorganize the kimchi's paths gereneration code
  Add test cases for paths generation code
  Allow plugin use kimchi's ui handler

 .gitignore              |   1 +
 src/kimchi/cachebust.py |   4 +-
 src/kimchi/config.py.in | 155 +++++++++++++++++++-----------------------------
 src/kimchi/root.py      |  23 ++++---
 src/kimchi/server.py    |  14 +++--
 src/kimchi/template.py  |  17 ++++--
 src/kimchi/utils.py     |   6 +-
 src/kimchid.in          |   7 ++-
 tests/Makefile.am       |   9 ++-
 tests/test_config.py.in |  85 ++++++++++++++++++++++++++
 10 files changed, 196 insertions(+), 125 deletions(-)
 create mode 100644 tests/test_config.py.in

-- 
1.8.4.2




More information about the Kimchi-devel mailing list