SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:cookbook:buildbot [2010/02/18 17:54]
jozee
en:cookbook:buildbot [2010/08/18 16:47]
linea
Line 33: Line 33:
 Mercurial offers a powerful mechanism to perform automated actions in response to events that occur in a repository. The name Mercurial uses for one of these actions is a hook. So Tazbb can be run each time a commit is done in the wok through a simple hook in the .hgrc file of the repository. Example: Mercurial offers a powerful mechanism to perform automated actions in response to events that occur in a repository. The name Mercurial uses for one of these actions is a hook. So Tazbb can be run each time a commit is done in the wok through a simple hook in the .hgrc file of the repository. Example:
  
-<code>+<file>
 [hooks] [hooks]
 commit = tazbb cook-commit commit = tazbb cook-commit
-</code>+</file>
  
 ===== Cron Job ===== ===== Cron Job =====
  
-Tazbb can also be run by a cron tab, so each new commit in the wok will cook the correct package ​each time you want. Cron can also be used to refresh the report or run a full cook. If the last cook is not yet finished or if tazbb has been run by hand (and is still running), it will exit due to a lock file in ///​var/​lock//​. Example of a cron job to 'tazbb cook commit'​ every 2 hours and cook all missing, modified or unbuilt packages each night:+Tazbb can also be run by a cron tab, so each new commit in the wok will cook the correct package ​any time you want. Cron can also be used to refresh the report or run a full cook. If the last cook is not yet finished or if tazbb has been run by hand (and is still running), it will exit due to a lock file in ///​var/​lock//​. Example of a cron job to 'tazbb cook commit'​ every 2 hours and cook all missing, modified or unbuilt packages each night:
  
-<code>+<file>
 */2 * * * * /​usr/​bin/​tazbb cook-commit */2 * * * * /​usr/​bin/​tazbb cook-commit
 03 02 * * * /​usr/​bin/​tazbb cook-all 03 02 * * * /​usr/​bin/​tazbb cook-all
-</code>+</file>
  
 ===== Database Files ===== ===== Database Files =====
 
en/cookbook/buildbot.txt ยท Last modified: 2012/03/27 13:46 by pankso