Turbogears2 migration: current status (August 2016)

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Aug 29 20:30:57 UTC 2016


Hi,

After the previous status update, remaining test failures have been
fixed, .ini files have been fixed, and the code has been rebased a few
times to line up with default.

I updated the wiki page and pasted below for your convenience:
https://bitbucket.org/conservancy/kallithea/wiki/Turbogears2Migration

Open (known) issues:
--------------------

* API controller does not yet work (being solved by Alessandro)

* after 'pip install tgext.debugbar':

"TemplateNotFound: Template "tgext.debugbar.templates.debugbar" not found"

* testsuite:

** message 'No handlers could be found for logger
"tg.appwrappers.transaction_manager"'

** on test failure, there is logging output (mostly/only? sqlalchemy
logging); unclear where it comes from but it's annoying during
debugging

** "from kallithea.lib import vcs" does no longer work. Related to a
change Alessandro had to make: import kallithea.lib.helpers and
kallithea.lib.app_globals into kallithea/lib/init.py (apparently
expected by Turbogears2 but problematic for this piece of code).

  kallithea/tests/functional/test_admin_repos.py:9: in <module>
  from kallithea.lib import vcs
  E  ImportError: cannot import name vcs


Other TODO: (in no particular order)
------------------------------------

* switch from paster to gearbox (PoC available by Mads)
* allow creating database (part of gearbox PoC above)
* GPL headers seem to have been removed in some files; need to re-add them
* search and remove all remaining places that reference pylons
* verify behavior with celery
* verify behavior with databases other than sqlite
* update documentation


Help with any of these items is very welcome, in particular the 'Open
items' because this is where I'm mostly blocked.

Thanks,
Thomas


More information about the kallithea-general mailing list