Re: Turbogears2 migration: import of helpers/app_globals into kallithea.lib

2016-09-18 Thread Thomas De Schampheleire
On Sun, Sep 18, 2016 at 12:28 PM, Alessandro Molina wrote: > If I remember correctly kallithea explicitly handles commits, so probably it > has no need for the transaction manager. > Try to add base_config['tm.enabled'] = False in app_cfg.py and see it > everything

Re: [PATCH v2] tests: fix assertion rewriting in some tests with pytest-3.0.0+

2016-09-18 Thread Thomas De Schampheleire
On Tue, Sep 13, 2016 at 11:27 PM, Mads Kiilerich wrote: > On 09/13/2016 09:54 PM, Thomas De Schampheleire wrote: >> >> Having the entire set under >> kallithea/tests/ seems more future-proof. >> >> It seems the trailing dot is accepted and does what I hoped it does. >> v3 is

Re: Turbogears2 migration: import of helpers/app_globals into kallithea.lib

2016-09-18 Thread Mads Kiilerich
On 09/18/2016 01:01 PM, Thomas De Schampheleire wrote: On Sep 18, 2016 12:28, "Alessandro Molina" > wrote: > > If I remember correctly kallithea explicitly handles commits, so probably it has no need for the transaction

Re: Turbogears2 migration: import of helpers/app_globals into kallithea.lib

2016-09-18 Thread Thomas De Schampheleire
On Sep 18, 2016 12:28, "Alessandro Molina" wrote: > > If I remember correctly kallithea explicitly handles commits, so probably it has no need for the transaction manager. > Try to add base_config['tm.enabled'] = False in app_cfg.py and see it everything still works

Re: Turbogears2 migration: import of helpers/app_globals into kallithea.lib

2016-09-18 Thread Alessandro Molina
If I remember correctly kallithea explicitly handles commits, so probably it has no need for the transaction manager. Try to add base_config['tm.enabled'] = False in app_cfg.py and see it everything still works as expected and the error disappeared. Alessandro On Wed, Aug 31, 2016 at 2:15 PM,

Re: Turbogears2 migration: API calls

2016-09-18 Thread Alessandro Molina
On Sat, Jul 30, 2016 at 10:01 PM, Thomas De Schampheleire < patrickdeping...@gmail.com> wrote: > Hi, > > API calls currently do not work under Turbogears2. > > The simplest call is: > > ../venv/kallithea-tg-clean/bin/kallithea-api > --apikey=811a4ad6f382e75c20392b668cad9408bde9f42e >