Indefero

Indefero Commit Details


Date:2009-01-18 03:17:39 (16 years 2 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:b2ec9bb9e88fb2424276d2773035363fcc86f21f
Parents: 835eab9c2419492ec3a39f445d3ee6446c6296bf
Message:Added cache at the view level when displaying the source tree.

Changes:

File differences

src/IDF/Views/Source.php
8787
8888
8989
90
91
90
91
92
93
94
95
9296
9397
9498
......
154158
155159
156160
157
161
162
163
164
165
166
158167
159168
160169
                                                  $branches[0]));
            return new Pluf_HTTP_Response_Redirect($url);
        }
        $res = new Pluf_Template_ContextVars($scm->filesAtCommit($commit));
        $cache = Pluf_Cache::factory();
        $key = 'IDF_Views_Source::treeBase:'.$commit.'::';
        if (null === ($res=$cache->get($key))) {
            $res = new Pluf_Template_ContextVars($scm->filesAtCommit($commit));
            $cache->set($key, $res);
        }
        $cobject = $scm->getCommit($commit);
        $tree_in = in_array($commit, $branches);
        $scmConf = $request->conf->getVal('scm', 'git');
        $cobject = $scm->getCommit($commit);
        $tree_in = in_array($commit, $branches);
        try {
            $res = new Pluf_Template_ContextVars($scm->filesAtCommit($commit, $request_file));
            $cache = Pluf_Cache::factory();
            $key = 'IDF_Views_Source::tree:'.$commit.'::'.$request_file;
            if (null === ($res=$cache->get($key))) {
                $res = new Pluf_Template_ContextVars($scm->filesAtCommit($commit, $request_file));
                $cache->set($key, $res);
            }
        } catch (Exception $e) {
            return new Pluf_HTTP_Response_Redirect($fburl);
        }

Archive Download the corresponding diff file

Page rendered in 0.11735s using 13 queries.