Martin Fick | 563a3e6 | 2015-04-02 13:37:53 -0600 | [diff] [blame] | 1 | = Gerrit Code Review - Named Destinations |
| 2 | |
| 3 | [[user-named-destinations]] |
| 4 | == User Named Destinations |
| 5 | It is possible to define named destination sets on a user level. |
| 6 | To do this, define the named destination sets in files named after |
| 7 | each destination set in the `destinations` directory of the user's |
| 8 | account ref in the `All-Users` project. The user's account ref is |
| 9 | based on the user's account id which is an integer. The account |
| 10 | refs are sharded by the last two digits (`+nn+`) in the refname, |
| 11 | leading to refs of the format `+refs/users/nn/accountid+`. The |
| 12 | user's destination files are a 2 column tab delimited file. Each |
| 13 | row in a destination file represents a single destination in the |
| 14 | named set. The left column represents the ref of the destination, |
| 15 | and the right column represents the project of the destination. |
| 16 | |
| 17 | Example destination file named `destinations/myreviews`: |
| 18 | |
| 19 | ---- |
| 20 | # Ref Project |
| 21 | # |
| 22 | refs/heads/master gerrit |
| 23 | refs/heads/stable-2.11 gerrit |
| 24 | refs/heads/master plugins/cookbook-plugin |
| 25 | ---- |
| 26 | |
| 27 | GERRIT |
| 28 | ------ |
| 29 | Part of link:index.html[Gerrit Code Review] |
| 30 | |
| 31 | SEARCHBOX |
| 32 | --------- |