| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license header in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Pick-to: master
Task-number: QTBUG-67283
Change-Id: I6ae743e055bbf1cf514abe604157068923fb03c6
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Remove unnecessary license files and license header templates
- Tools and test are licensed under GPL-EXCEPT nowdays, update correct
license header there
- Update test data to match current license headers
Change-Id: Ia25c9e0989be326e0edeb0325af399edc26f0054
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to find out which files to run our perl syntax check on, we use git
ls-files to get a list of all files and then compare it with Perl::Critic's
all_per_files. Unfortunately all_perl_files returns paths with backwards
slashes on Windows, while git ls-files returns paths with forward slashes. The
only overlap between those two lists were paths that contained no slashes at
all, which means that only setup.pl, test.pl, etc. were actually syntax
checked.
The root cause is that
apply { canonpath } qx(git ls-files)
does not work as expected. I don't know why, but it does work when assigning $_
explicitly.
Change-Id: I608445f276761452158a9096dce04539ff273b24
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
If we cannot find a .git directory (like in the new CI system), then fall back
to finding existing files, similar to the fallback in tst_licenses.pl.
Change-Id: Ie8abc0d1f21dfc1f8d38612c1ea0e0af79580f8c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Now that we run the syntax check on _all_ perl files, we may have to skip some
that use modules that are simply not available on Windows. This only affects
the jenkins integrator, which we don't run on Windows anyway.
Change-Id: Ib7a90dbf23f5a3e9ca9f4c1c414ad58ddd40a00d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ie44d503a04496f441af8b0c63e6c80a3acc575d6
Reviewed-by: Heikki Halmet <heikki.halmet@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the qplatformdefs.h files are trivial (one line) and they need
to carry a 35-line header just because they are *.h. Instead, give a
pass to very short files -- after all, under 4 lines it's hardly
copyrightable anyway.
Note: such files will probably show up as having no changes with
header_diff.pl, even if they have changes.
Change-Id: Iae2ee0da157a77cdf6c9a148362f25e94e7a61e8
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
|
|
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I5999ee256134fe82ab13f6f06fcd1d0aa150b688
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
|
|
|
|
|
|
|
|
|
|
| |
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3
- Removed LICENSE.GPL
- Added test reference file header.LGPL21
Change-Id: Ie950b82ff5eebc17cd7f3ce3cbc218d3862a4512
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
|
|
|
|
|
|
| |
Change-Id: I02eaa709ff91d158a3e34f4e719254f2adce873e
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
|
|
|
|
|
|
| |
We should really avoid this in all the modules from now on.
Change-Id: Ibcfb29406564613bbd03db10c698fcd6acf7fa3e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I0122cd74f6246a5f20eee2b33ceb328df77a32db
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Previously these were searching for all perl files under the qtqa
directory, even those which were not checked in to git. This was
annoying as this could potentially include generated code or ad-hoc
test scripts never intended to be added to git.
Change-Id: I52d0fbc699b014a5e03507c59d9ecb91db13ee2c
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
testcocoon-related tests were updated for \ vs /
directory separators. testcocoon scripts were also updated
to use canonpath() where appropriate, so that the directory
separators are canonicalized.
License checker test was updated to avoid usage of symlink(),
which is not available on Windows.
The license checker itself was updated to avoid opening
directories. On Linux, opening directories for read via open()
is fine; on Windows, it results in "permission denied".
Change-Id: I0bd2dd9c8d1c07fbed0222ca223953dd378fd502
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit modifies the license checker autotest to reject files
containing the obsolete Nokia contact email address. The URL
http://www.qt-project.org/ should now be used as the contact address in
all license headers. The license checker's selftest is also modified
accordingly.
Change-Id: Ic18aecbf1c4d2c93968257fbfbed58399f0739fa
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As in the past, to avoid rewriting various autotests that contain
line-number information, an extra blank line has been inserted at the
end of the license text to ensure that this commit does not change the
total number of lines in the license header.
Note that the "All rights reserved" line has not been removed from the
test data for the license checker's selftest, but the extra blank line
has been added to those files.
Change-Id: Icf3080dcdb51c2cbf0e825f2f374cb9666eea44c
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace Nokia contact email address with Qt Project website. Note that
the test data for the license checker's selftest are intentionally
excluded from this commit, except for the last line of the LGPL-ONLY
license text. The test data will be updated when/if the
license checker stops allowing the old contact address.
Change-Id: I82ef842d2536a4a9bea99832099f53247c8d4b4b
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
"http://www.qt-project.org/" is now the recommended contact field for
license headers. "Nokia Corporation (qt-info@nokia.com)" remains
permitted for the time being, but may be deprecated and banned later.
Task-number: QTQAINFRA-404
Change-Id: I8c036b64be13bdcbaa76141b06c9c8fcce90efd5
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This is not part of the recommended license template.
It remains permitted for the time being, but may be deprecated and
banned later.
Task-number: QTQAINFRA-404
Change-Id: I072bd530ca4f48d34deb3d59e266a5e85c435bc5
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The license checker needs to be updated to support some new forms of
copyright information. Add an autotest first to guard against
regressions, and to serve as documentation on the permitted license
forms.
Change-Id: I2ddf9264299f7211088f704d758d1ddf28462741
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
|
|
These tests are a basic safeguard against poor quality changes being
introduced to the test scripts.
10-perl-syntax-check.t: fails if any script fails a `perl -c' syntax
check
20-perl-critic-check.t: fails if any script fails a
`perlcritic -stern' check
Reviewed-by: Shane Bradley
Change-Id: Ib31bca5084c03de9c7690431b599209cdd2c3b40
|