##// END OF EJS Templates
caching: add option to cache diffs for commits and pull requests....
caching: add option to cache diffs for commits and pull requests. - new option for vcs settings to enable caching of diffs and commits - enables auditing of PR after closing it, and removing commits from source repo - speed up for large PR upto 20x - reduced memory usage

File last commit:

r2618:940ad8b4 default
r2685:5ff8fcc0 default
Show More
atom_feed_entry.mako
38 lines | 999 B | application/x-mako | MakoHtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
${_('%(user)s commited on %(date)s UTC') % {
'user': h.person(commit.author),
'date': h.format_date(commit.date)
}}
<br/>
% if commit.branch:
branch: ${commit.branch} <br/>
% endif
% for bookmark in getattr(commit, 'bookmarks', []):
bookmark: ${bookmark} <br/>
% endfor
% for tag in commit.tags:
tag: ${tag} <br/>
% endfor
path-permissions: Initial support for path-based permissions
r2618 % if has_hidden_changes:
Has hidden changes<br/>
% endif
repo-commits: ported changeset code into pyramid views....
r1951 commit: <a href="${h.route_url('repo_commit', repo_name=c.rhodecode_db_repo.repo_name, commit_id=commit.raw_id)}">${h.show_id(commit)}</a>
project: added all source files and assets
r1 <pre>
${h.urlify_commit_message(commit.message)}
% for change in parsed_diff:
% if limited_diff:
${_('Commit was too big and was cut off...')}
% endif
${change['operation']} ${change['filename']} ${'(%(added)s lines added, %(removed)s lines removed)' % {'added': change['stats']['added'], 'removed': change['stats']['deleted']}}
% endfor
% if feed_include_diff:
path-permissions: Initial support for path-based permissions
r2618 ${c.path_filter.get_raw_patch(diff_processor)}
project: added all source files and assets
r1 % endif
</pre>