##// END OF EJS Templates
vcs: do an early detection of vcs-type request....
vcs: do an early detection of vcs-type request. We we to know to detect vcs type request as early as possible. IF we know we're handling an VCS request, we can skip some of the pylons stack initialization. - This fixes issues with leaking sessions and other object from pylons into a purely VCS type request.

File last commit:

r1282:90601d74 default
r1297:de699d5e default
Show More
settings_system_snapshot.mako
40 lines | 626 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_system_snapshot.mako
<pre>
SYSTEM INFO
-----------
% for dt, dd, warn in c.data_items:
${dt.lower().replace(' ', '_')}${': '+dd if dt else '---'}
% if warn and warn['message']:
ALERT_${warn['type'].upper()} ${warn['message']}
% endif
% endfor
PYTHON PACKAGES
---------------
% for key, value in c.py_modules['human_value']:
${key}: ${value}
% endfor
SYSTEM SETTINGS
---------------
% for key, value in sorted(c.rhodecode_config['human_value'].items()):
% if isinstance(value, dict):
% for key2, value2 in value.items():
[${key}]${key2}: ${value2}
% endfor
% else:
${key}: ${value}
% endif
% endfor
</pre>