Update owners plugin config to correct exact path match and suffix examples.
Change-Id: I6a57fc890d6fb7982833eb1636c1150822bb6c46
diff --git a/config.md b/config.md
index 59d4a9c..2d63581 100644
--- a/config.md
+++ b/config.md
@@ -21,7 +21,7 @@
- partial_regex: example
owners:
[...]
-- exact: /path/to/file.txt
+- exact: path/to/file.txt
[...]
```
@@ -39,7 +39,8 @@
Additional owners can be specified for files selected by other matching
conditions (matchers section). Matching can be done by file suffix, regex
-(partial or full) and exact string comparison.
+(partial or full) and exact string comparison. For exact match, path is
+relative to the root of the repo.
The plugin analyzes the latest patch set by looking at each file directory and
building an OWNERS hierarchy. It stops once it finds an OWNERS file that has
@@ -71,7 +72,7 @@
Example of assigning every configuration files to a specific owner group:
```yaml
matchers:
-- suffix: *.config
+- suffix: .config
owners:
- Configuration Managers
```
@@ -265,4 +266,4 @@
removed from the "need" section of the change.
In this way, it is always clear which owner needs to provide their feedback on
-which file of the change.
\ No newline at end of file
+which file of the change.