##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r2333:c9f5d931 default
r2777:f1cc2e3d default
Show More
settings_issuetracker.mako
34 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
<%namespace name="its" file="/base/issue_tracker_settings.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Issue Tracker / Wiki Patterns')}</h3>
</div>
<div class="panel-body">
${h.secure_form(h.route_path('admin_settings_issuetracker_update'), request=request)}
${its.issue_tracker_settings_table(
patterns=c.issuetracker_entries.items(),
form_url=h.route_path('admin_settings_issuetracker'),
delete_url=h.route_path('admin_settings_issuetracker_delete')
)}
<div class="buttons">
<button type="submit" class="btn btn-primary" id="save">${_('Save')}</button>
<button type="reset" class="btn">${_('Reset')}</button>
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Test Patterns')}</h3>
</div>
<div class="panel-body">
${its.issue_tracker_new_row()}
${its.issue_tracker_settings_test(test_url=h.route_path('admin_settings_issuetracker_test'))}
</div>
</div>