aboutsummaryrefslogtreecommitdiffstats
path: root/conanfile.py
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2021-03-04 11:47:03 +0200
committerIikka Eklund <iikka.eklund@qt.io>2021-03-14 17:25:40 +0200
commit70c2e8889ecf28fcd05419a436377d8805fd01f7 (patch)
tree23659a5a00630cbcaa1bc3b2db1e9087b86bcae5 /conanfile.py
parent2e4201f9bd37406e51973da5ec71d90bfe3cb2c5 (diff)
Add "scm" attribute to conanfile.py
We want to match the commit ID along with the RREV (recipe revision). This way we can pin exact Conan packages to known sha1/tag which makes releasing easier. https://docs.conan.io/en/latest/reference/conanfile/attributes.html#revision-mode Pick-to: 6.1 Task-number: QTQAINFRA-4325 Change-Id: I9925ce9aa764e7c9b931ab27afbaff3534293c16 Reviewed-by: Toni Saario <toni.saario@qt.io>
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py
index 1cc05263..96a49a26 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -56,6 +56,7 @@ class QtVirtualKeyboard(ConanFile):
"qt6": None,
}
exports_sources = "*", "!conan*.*"
+ revision_mode = "scm" # use commit ID as the RREV (recipe revision)
def source(self):
# sources are installed next to recipe, no need to clone etc. sources here