Skip to content

Commit 33c4cb1

Browse files
committed
Add .gitreview file
`git-review` is a command line tool for interacting with Gerrit. Some IDEs offer support for this tool, either natively or through plugins. The tool relies on a configuration file, .gitreview. Adding this configuration file to our repositories simplifies initial setup for contributors that use the tool directly or through their IDE of choice. The configuration file adds a remote called 'gerrit'. This is the default for the tool, and also the name set for codereview.qt-project.org by Qt's `init-repository` script. Thus, the configuration should work seamlessly alongside other repository helpers. As the file format doesn't seem to be designed with comments in mind, add it to the other version control system exemptions in REUSE.toml. Task-number: QTBUG-132604 Pick-to: 6.9 6.8 Change-Id: I659ee037927032f4e409afe7b7f79a47a5416006 Reviewed-by: Samuel Gaist <[email protected]>
1 parent 294979e commit 33c4cb1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitreview

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[gerrit]
2+
host=codereview.qt-project.org
3+
project=qt/qt3d
4+
defaultbranch=dev

REUSE.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
9797
SPDX-License-Identifier = "BSD-3-Clause"
9898

9999
[[annotations]]
100-
path = [".tag", "**/.gitattributes", "**.gitignore"]
100+
path = [".tag", "**/.gitattributes", "**.gitignore", "**/.gitreview"]
101101
precedence = "closest"
102102
comment = "version control system. Licensed as build system"
103103
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."

0 commit comments

Comments
 (0)