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