Doc: Split up protobuf attributions between tools and tests

We should aim to have the attributions as close as possible to the
actual sources. The old 'combined' attribution also did mix up the
in-source copy of some protobuf files, compared to the dependency
that is provided by provisioning.

This also fixes an issue in our documentation infrastructure, where
we remove tests/ directory before building the Qt Framework
attributions. This generated a warning so far:

     File ./qtgrpc/qt_attribution.json: Directory '/home/vagrant/qt-everywhere-src-6.8.1/qtgrpc/tests/auto/protobuf/conformance/data' does not exist.

Pick-to: 6.8 6.9
Change-Id: I26c8483737ab6a6e863b3ee4a683c77cb9af5c0a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Kai Köhne 2025-01-27 10:04:44 +01:00
parent 77fd311761
commit a379d0c185
2 changed files with 17 additions and 3 deletions

View File

@ -3,12 +3,11 @@
"Id": "protobuf",
"Name": "protobuf",
"QDocModule": "qtprotobuf",
"QtUsage": "Used in the qtprotobufgen generator and conformance test.",
"QtParts": [ "tools", "tests" ],
"QtUsage": "Used in the qtprotobufgen generator.",
"QtParts": [ "tools" ],
"SecurityCritical": false,
"Homepage": "https://protobuf.dev",
"Path": "tests/auto/protobuf/conformance/data",
"License": "BSD 3-clause \"New\" or \"Revised\" License",
"LicenseId": "BSD-3-Clause",
"LicenseFile": "LICENSES/LicenseRef-protobuf.txt",

View File

@ -0,0 +1,15 @@
{
"Id": "protobuf-tests",
"Name": "protobuf-tests",
"QDocModule": "qtprotobuf",
"QtUsage": "Used in the qtprotobufgen conformance tests.",
"QtParts": [ "tests" ],
"Files": ["conformance.proto", "test_messages_proto3.proto"],
"SecurityCritical": false,
"Homepage": "https://protobuf.dev",
"License": "BSD 3-clause \"New\" or \"Revised\" License",
"LicenseId": "BSD-3-Clause",
"Copyright": "Copyright 2008 Google Inc.",
"Version": "21.9"
}