{"thread":{"id":"4325","subject":"[PATCH] ciabot: fix post-update hook description","startedAt":"2006-05-29T00:09:59Z","lastAt":"2006-05-29T00:09:59Z","messageCount":1,"participants":["Jonas Fonseca"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"20851","messageId":"20060529000959.GA2061@diku.dk","threadId":"4325","inReplyTo":null,"subject":"[PATCH] ciabot: fix post-update hook description","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2006-05-29T00:09:59Z","receivedAt":"2006-05-29T00:09:59Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Also, improve on a few lost sentences\n\nSigned-off-by: Jonas Fonseca <fonseca@diku.dk>\n---\n\nb2d8b2c5258b6585102c94f37c63dc2360092d87\n contrib/ciabot.pl |   30 +++++++++++++++---------------\n 1 files changed, 15 insertions(+), 15 deletions(-)\n\nb2d8b2c5258b6585102c94f37c63dc2360092d87\ndiff --git a/contrib/ciabot.pl b/contrib/ciabot.pl\nindex 83a0d80..e23f5f1 100755\n--- a/contrib/ciabot.pl\n+++ b/contrib/ciabot.pl\n@@ -14,15 +14,15 @@ #\n # The master location of this file is in the Cogito repository\n # (see http://www.kernel.org/git/).\n #\n-# This program is designed to run as the .git/commit-post-hook script. It takes\n-# the commit information, massaging it and mailing it to the address given below.\n+# This program is designed to run as the .git/hooks/post-commit hook. It takes\n+# the commit information, massages it and mails it to the address given below.\n #\n-# The calling convention of the commit-post-hook script is:\n+# The calling convention of the post-commit hook is:\n #\n-#\tcommit-post-hook $commit_sha1 $branch_name\n+#\t.git/hooks/post-commit $commit_sha1 $branch_name\n #\n # If it does not work, try to disable $xml_rpc in the configuration section\n-# below.\n+# below. Also, remember to make the hook file executable.\n #\n #\n # Note that you can (and it might be actually more desirable) also use this\n@@ -36,9 +36,9 @@ #\tfor merged in $(git-rev-list $newhead \n #\t\t/path/to/ciabot.pl $merged $refname\n #\tdone\n #\n-# This is useful when you use a remote repository without working copy, where\n-# you only push to - the update hook will be trigerred each time you push into\n-# that repository, and the pushed commits will be reported through CIA.\n+# This is useful when you use a remote repository that you only push to. The\n+# update hook will be triggered each time you push into that repository, and\n+# the pushed commits will be reported through CIA.\n \n use strict;\n use vars qw ($project $from_email $dest_email $noisy $rpc_uri $sendmail\n@@ -78,19 +78,19 @@ # not deliver the event at all if CIA se\n # unfortunately not an uncommon condition.\n $xml_rpc = 0;\n \n-# You can make this bot to totally ignore events concerning the objects\n-# specified below. Each object is composed of <path>/<filename>,\n+# This variable should contain a regexp, against which each file will be\n+# checked, and if the regexp is matched, the file is ignored. This can be\n+# useful if you do not want auto-updated files, such as e.g. ChangeLog, to\n+# appear via CIA.\n #\n-# This variable should contain regexp, against which will each object be\n-# checked, and if the regexp is matched, the file is ignored. Therefore ie.  to\n-# ignore all changes in the two files above and everything concerning module\n-# 'admin', use:\n+# The following example will make the script ignore all changes in two specific\n+# files in two different modules, and everything concerning module 'admin':\n #\n # $ignore_regexp = \"^(gentoo/Manifest|elinks/src/bfu/inphist.c|admin/)\";\n $ignore_regexp = \"\";\n \n # It can be useful to also grab the generated XML message by some other\n-# programs and ie. autogenerate some content based on it. Here you can specify\n+# programs and e.g. autogenerate some content based on it. Here you can specify\n # a file to which it will be appended.\n $alt_local_message_target = \"\";\n \n-- \n1.3.3.gd882-dirty\n\n-- \nJonas Fonseca\n"}]}