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

Mark Wu wudxw at linux.vnet.ibm.com
Mon Jan 27 08:00:12 UTC 2014


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

Changes:
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):
  PEP8 cleanup and bug fix for src/kimchi/utils.py
  Reorganize the kimchi's paths gereneration code
  Add test cases for paths generation code

 Makefile.am             |   1 +
 src/kimchi/cachebust.py |   4 +-
 src/kimchi/config.py.in | 155 +++++++++++++++++++-----------------------------
 src/kimchi/root.py      |   7 ++-
 src/kimchi/server.py    |  10 ++--
 src/kimchi/template.py  |  14 +++--
 src/kimchi/utils.py     |  15 ++---
 src/kimchid.in          |   7 ++-
 tests/test_config.py    |  73 +++++++++++++++++++++++
 9 files changed, 168 insertions(+), 118 deletions(-)
 create mode 100644 tests/test_config.py

-- 
1.8.4.2




More information about the Kimchi-devel mailing list