stable

Clone or download

Read-only

story #7514 - have grokmirror hook activated

For selected repositories, it will trigger execution of grokmirror-manifest. The resulting manifest file will be then published in /var/lib/tuleap/gitolite/grokmirror You will also need to deploy plugins/git/etc/httpd/grokmirror.conf in /etc/httpd/conf.d/tuleap-plugins and restart apache so your mirror can fetch the manifest file For dev, you need to redeploy your git-post-receive.pl: install -m 06755 -o codendiadm -g codendiadm /usr/share/tuleap/plugins/git/bin/git-post-receive.pl /usr/lib/codendi/bin/git-post-receive.pl You will also need to install python-grokmirror package from EPEL (centos 6) Change-Id: I874b0d3f7033885f864266a24ebead4229db9b6e

Modified Files

Name
M plugins/git/bin/git-post-receive.pl +6 −1 Go to diff View file
M plugins/git/etc/config.inc.dist +5 −1 Go to diff View file
A plugins/git/etc/httpd/grokmirror.conf +7 −0 Go to diff View file
M plugins/git/hooks/post-receive +2 −0 Go to diff View file
M plugins/git/hooks/post-receive.php +65 −42 Go to diff View file
A plugins/git/include/Git/Mirror/ManifestManager.class.php +70 −0 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M src/common/include/Config.class.php +1 −1 Go to diff View file
M src/common/plugin/PluginFileInfo.class.php +1 −1 Go to diff View file
M src/etc/local.inc.dist +11 −0 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +2 −0 Go to diff View file
M tools/rpm/tuleap.spec +2 −0 Go to diff View file