Show More
@@ -1,47 +1,52 b'' | |||||
1 |
|
1 | |||
2 | <pre> |
|
2 | <pre> | |
3 | SYSTEM INFO |
|
3 | SYSTEM INFO | |
4 | ----------- |
|
4 | ----------- | |
5 |
|
5 | |||
6 | % for dt, dd, warn in c.data_items: |
|
6 | % for dt, dd, warn in c.data_items: | |
7 | ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': {}'.format(dd if dt else '')} |
|
7 | ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': {}'.format(dd if dt else '')} | |
8 | % if warn and warn['message']: |
|
8 | % if warn and warn['message']: | |
9 | ${'{:<60}'.format('ALERT')} ${warn['type'].upper()} ${warn['message']} |
|
9 | ${'{:<60}'.format('ALERT')} ${warn['type'].upper()} ${warn['message']} | |
10 | % endif |
|
10 | % endif | |
11 | % endfor |
|
11 | % endfor | |
12 |
|
12 | |||
13 | PYTHON PACKAGES |
|
|||
14 | --------------- |
|
|||
15 |
|
||||
16 | % for key, value in c.py_modules['human_value']: |
|
|||
17 | ${'{:<60}'.format(key)}: ${value} |
|
|||
18 | % endfor |
|
|||
19 |
|
||||
20 | SYSTEM SETTINGS |
|
13 | SYSTEM SETTINGS | |
21 | --------------- |
|
14 | --------------- | |
22 |
|
15 | |||
23 | % for key, value in sorted(c.rhodecode_config['human_value'].items()): |
|
16 | % for key, value in sorted(c.rhodecode_config['human_value'].items()): | |
|
17 | % if isinstance(value, dict): | |||
|
18 | <% | |||
|
19 | conf_file = value.pop('__file__', {}) | |||
|
20 | server_main = value.pop('server:main', {}) | |||
|
21 | %> | |||
24 | [${key}] |
|
22 | [${key}] | |
25 | % if isinstance(value, dict): |
|
23 | ${'{:<60}'.format('__file__')}: ${conf_file} | |
26 | <% server_main = value.pop('server:main', {}) %> |
|
|||
27 |
|
24 | |||
28 | % for key2, value2 in sorted(server_main.items()): |
|
25 | % for key2, value2 in sorted(server_main.items()): | |
29 |
${'{:<60}'.format( |
|
26 | ${'{:<60}'.format(key2)}: ${value2} | |
30 | % endfor |
|
27 | % endfor | |
31 |
|
28 | |||
32 | % for key2, value2 in sorted(value.items()): |
|
29 | % for key2, value2 in sorted(value.items()): | |
33 | ${'{:<60}'.format(key2)}: ${value2} |
|
30 | ${'{:<60}'.format(key2)}: ${value2} | |
34 | % endfor |
|
31 | % endfor | |
35 |
|
32 | |||
36 | % else: |
|
33 | % else: | |
|
34 | [${key}] | |||
37 | ${value} |
|
35 | ${value} | |
38 | % endif |
|
36 | % endif | |
39 |
|
37 | |||
40 | % endfor |
|
38 | % endfor | |
41 |
|
39 | |||
|
40 | PYTHON PACKAGES | |||
|
41 | --------------- | |||
|
42 | ||||
|
43 | % for key, value in c.py_modules['human_value']: | |||
|
44 | ${'{:<60}'.format(key)}: ${value} | |||
|
45 | % endfor | |||
|
46 | ||||
42 | </pre> |
|
47 | </pre> | |
43 |
|
48 | |||
44 |
|
49 | |||
45 |
|
50 | |||
46 |
|
51 | |||
47 |
|
52 |
General Comments 0
You need to be logged in to leave comments.
Login now