Mercurial > bitten > bitten-test
comparison doc/configure.txt @ 887:2d7e515d48cb
Extend documentation on target platform to describe how rules are matched.
author | hodgestar |
---|---|
date | Wed, 12 Jan 2011 09:25:21 +0000 |
parents | 3a665b40073c |
children |
comparison
equal
deleted
inserted
replaced
885:f703a0bf6548 | 887:2d7e515d48cb |
---|---|
21 | 21 |
22 Technically, a target platform is a named set of rules against which the | 22 Technically, a target platform is a named set of rules against which the |
23 properties of build slaves are matched. Each rule is a regular expression | 23 properties of build slaves are matched. Each rule is a regular expression |
24 matching a particular slave property, such as the operating system | 24 matching a particular slave property, such as the operating system |
25 or the processor. When a slave connects to the build master, it sends a | 25 or the processor. When a slave connects to the build master, it sends a |
26 registration message that includes information about the slave. | 26 registration message that includes information about the slave. A slave |
27 will only be sent builds for a given platform if the slave's properties | |
28 satisfy all of the rules associated with that platform. | |
29 | |
30 A rule's regular expression is matched against the value of the slave | |
31 property using Python's `re.match`_ function so, for example, `x86` will | |
32 match a value of `x86_64`. Use `^x86$` to match only the value `x86`. | |
33 | |
34 .. _re.match: http://docs.python.org/library/re.html#re.match | |
27 | 35 |
28 A build configuration must have at least one target platform assigned to | 36 A build configuration must have at least one target platform assigned to |
29 it before it becomes fully active. | 37 it before it becomes fully active. |
30 | 38 |
31 Slave Properties | 39 Slave Properties |
32 ================ | 40 ================ |
33 | 41 |
34 By default, the following properties are included: | 42 By default, the following properties are included: |