Turbogears2 migration: current status (August 2016)

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Aug 30 20:39:04 UTC 2016


On Mon, Aug 29, 2016 at 10:30 PM, Thomas De Schampheleire
<patrickdepinguin at gmail.com> wrote:
> 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
>

Found a solution/workaround to this problem, see
https://kallithea-scm.org/repos/kallithea/pull-request/59/_/tests_work_around_problematic_import_of_kallithea.lib.vcs

/Thomas


More information about the kallithea-general mailing list