Guillaume Rousse wrote:
I had a small look in the list archive and in the on-line manual without being able to find an answer: can I trigger several actions with a single commit ?

My own tries make me think that only the first line with a regexp matching the commit directory is used, and subsequent ones are silently ignored.

I could use a wrapper scripts encapsulating the different tasks, however I don't want to use the same list of task for all the different parts of a repository. In other terms, I'd like to do something as:
^foo report-mail
^foo/www extract-website


Meaning sending mail for any commit in foo modules, and additionaly extracting web pages for the www subdirectory.


^foo foo_commit.sh ^foo/www foo_www_commit.sh

where foo_commit.sh and foo_www_commit.sh call whatever scripts you need.

Or, have a single foo_commit.sh script, which uses `cwd` to determine if it's in the www subdirectory, and if so, invoke extract-website.

--
Jim



_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to