Skip to content

Commit b136c48

Browse files
docs
1 parent 2f81306 commit b136c48

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/docs/connections/gerrit.mdx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ To connect to a gerrit instance, provide the `url` property to your config:
5151
"projects": [
5252
"project1/foo-project",
5353
"project2/sub-project/some-sub-folder/**"
54-
]
54+
],
55+
56+
// projects that have state READ_ONLY
57+
"readOnly": true,
58+
59+
// projects that have state HIDDEN
60+
"hidden": true
5561
}
5662
}
5763
```
@@ -110,6 +116,16 @@ To connect to a gerrit instance, provide the `url` property to your config:
110116
]
111117
],
112118
"description": "List of specific projects to exclude from syncing."
119+
},
120+
"readOnly": {
121+
"type": "boolean",
122+
"default": false,
123+
"description": "Exclude read-only projects from syncing."
124+
},
125+
"hidden": {
126+
"type": "boolean",
127+
"default": false,
128+
"description": "Exclude hidden projects from syncing."
113129
}
114130
},
115131
"additionalProperties": false

0 commit comments

Comments
 (0)