# HG changeset patch # User hodgestar # Date 1294824321 0 # Node ID 2d7e515d48cbf8799ae4e03c46e73464f4b20d95 # Parent f703a0bf6548b8050eff006ca3b7d0383b764fa9 Extend documentation on target platform to describe how rules are matched. diff --git a/doc/configure.txt b/doc/configure.txt --- a/doc/configure.txt +++ b/doc/configure.txt @@ -23,10 +23,18 @@ properties of build slaves are matched. Each rule is a regular expression matching a particular slave property, such as the operating system or the processor. When a slave connects to the build master, it sends a -registration message that includes information about the slave. +registration message that includes information about the slave. A slave +will only be sent builds for a given platform if the slave's properties +satisfy all of the rules associated with that platform. + +A rule's regular expression is matched against the value of the slave +property using Python's `re.match`_ function so, for example, `x86` will +match a value of `x86_64`. Use `^x86$` to match only the value `x86`. + +.. _re.match: http://docs.python.org/library/re.html#re.match A build configuration must have at least one target platform assigned to -it before it becomes fully active. +it before it becomes fully active. Slave Properties ================