Indefero

Indefero Commit Details


Date:2009-01-26 02:44:32 (15 years 10 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:c11cd7bc6260ad5da6f6070be1608b1f172a784a
Parents: fccdcaa878912ef7e62301ddb6aecef614300849
Message:Fixed issue 110, SyncMercurial error and undocumented requirement.

Added the documentation.
Changes:

File differences

doc/syncmercurial.mdtext
5454
5555
5656
57
58
59
60
61
62
63
64
65
66
67
68
69
70
5771
5872
5973
$cfg['idf_plugin_syncmercurial_private_notify'] = '/home/indefero/tmp/notify.tmp';
$cfg['idf_plugin_syncmercurial_private_url'] = '/hg/%s';
You also need to provide the base definition of the hgrc file. For example:
$cfg['idf_plugin_syncmercurial_hgrc'] = array(
'web' => array('push_ssl' => 'false',
'allow_push' => '',
'description' => '',
'allow_archive' => 'bz2, zip, gz',
'style' => 'gitweb',
'contact' => ''),
'hooks' => array(),
'extensions' => array(),
);
## Cron configuration
As InDefero modifies the private_indefero.conf, apache needs to be reloaded.
scripts/SyncMercurial.sh
44
55
66
7
87
8
99
1010
reload_cmd="/usr/sbin/apachectl -k graceful"
if [ -e $private_notify ]; then
$reload_cmd
rm -f $private_notify
$reload_cmd
fi

Archive Download the corresponding diff file

Page rendered in 0.07205s using 14 queries.