##// END OF EJS Templates
hg: Redirect Mercurial stdout/stderr to logging when running as WSGI...
hg: Redirect Mercurial stdout/stderr to logging when running as WSGI Any "console" output from Mercurial when Kallithea is running from WSGI should end up in Kallithea's logs. That seems like a nice general feature. This will however also solve another rare but more critical problem: Mercurial is writing to sys.stdout / sys.stderr, using several layers of wrapping. Since Mercurial 5.5 (with https://repo.mercurial-scm.org/hg/rev/8e04607023e5 ), all writes are given a memoryview. Apache httpd mod_wsgi is invoking the WSGI with a custom mod_wsgi.Log injected in sys.stdout / sys.stderr . This logger can however not handle memoryview - https://github.com/GrahamDumpleton/mod_wsgi/issues/863 .

File last commit:

r8448:d332fca2 default
r8795:fe050a93 stable
Show More
.coveragerc
27 lines | 823 B | text/plain | TextLexer
domruf
tests: add pytest-cov .coveragerc file...
r6495 [run]
omit =
# the bin scripts are not part of the Kallithea web app
kallithea/bin/*
# we ship with no active extensions
kallithea/config/rcextensions/*
Thomas De Schampheleire
.coveragerc: remove reference to non-existing paster_commands dir...
r7420 # dbmigrate is not a part of the Kallithea web app
domruf
tests: add pytest-cov .coveragerc file...
r6495 kallithea/lib/dbmigrate/*
# the tests themselves should not be part of the coverage report
kallithea/tests/*
domruf
jenkinsfile: combine coverage files from different DB runs
r6849
Thomas De Schampheleire
.coveragerc: fix reporting of coverage to match what is run...
r7421 # same omit lines should be present in sections 'run' and 'report'
[report]
omit =
# the bin scripts are not part of the Kallithea web app
kallithea/bin/*
# we ship with no active extensions
kallithea/config/rcextensions/*
# dbmigrate is not a part of the Kallithea web app
kallithea/lib/dbmigrate/*
# the tests themselves should not be part of the coverage report
kallithea/tests/*
domruf
jenkinsfile: combine coverage files from different DB runs
r6849 [paths]
source =
kallithea/
**/workspace/*/kallithea