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: I36febf708f6726943662517eed89bdb33059aeb0 Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
parent
f7e29f7d27
commit
bb4aefebfb
|
@ -0,0 +1,4 @@
|
|||
[gerrit]
|
||||
host=codereview.qt-project.org
|
||||
project=qt/qtdeclarative
|
||||
defaultbranch=dev
|
|
@ -42,7 +42,7 @@ SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|||
SPDX-License-Identifier = "BSD-3-Clause"
|
||||
|
||||
[[annotations]]
|
||||
path = [".tag", "**/.gitattributes", "**.gitignore"]
|
||||
path = [".tag", "**/.gitattributes", "**.gitignore", "**/.gitreview"]
|
||||
precedence = "closest"
|
||||
comment = "not sure at all"
|
||||
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
".gitignore", ".gitattributes", "Makefile",
|
||||
".conf", ".yml", ".cfg", ".yaml",
|
||||
".tag", ".dynlist", "cmake.in", "Info.plist", ".prf",
|
||||
".gradle", ".in", ".gitmodules"],
|
||||
".gradle", ".in", ".gitmodules", ".gitreview"],
|
||||
"location" : {
|
||||
"" : {
|
||||
"comment" : "File with other endings also belong to the build system file type",
|
||||
|
|
Loading…
Reference in New Issue