Indefero

Indefero Commit Details

Date:2009-01-21 20:05:03 (5 years 7 months ago)
Author:Loïc 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:6b32413e69dbb982b58957931a38dce5f4b1a00c
Parents: 3fbac71f04f414fff537ed1f021ee7b1b1418a86
Message:Automatically create the git repository during the cron run.

Changes:
Msrc/IDF/Plugin/SyncGit/Serve.php (1 diff)
Msrc/IDF/relations.php (1 diff)

File differences

src/IDF/Plugin/SyncGit/Serve.php
215215
216216
217217
218
219
220
218221
219222
220223
$conf = new IDF_Conf();
$conf->setProject($project);
$scm = $conf->getVal('scm', 'git');
if ($scm == 'git' and !file_exists($fullpath)) {
$this->initRepository($fullpath);
}
if ($scm != 'git' or $project->private) {
return $this->gitExportDeny($fullpath);
}
src/IDF/relations.php
6767
6868
6969
70
71
7072
7173
array('IDF_Plugin_SyncGit', 'entry'));
Pluf_Signal::connect('IDF_Key::postSave',
array('IDF_Plugin_SyncGit', 'entry'));
Pluf_Signal::connect('IDF_Project::created',
array('IDF_Plugin_SyncGit', 'entry'));
return $m;

Archive Download the corresponding diff file