| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I find that a pure indentation change (making all the doc comments in
qcalendar.cpp use the same indent, without reflowing after) gets
complained at for mixing space-changes with non-space-changes. This
arises because the "patience diff" algorithm we've been using makes
some less than ideal choices. The minimal diff algorithm fares better
on such a change - and sounds like it has a decent chance of being
good on whatever cases prompted (the bogus and unnatural diffs that
lead to) commit 6dac9c54dc0b72643629da2442bbe7c4526d7ae4, which this
amends.
Change-Id: I3b7efc03dbd8ec388ebc38458b25552f4ec426d6
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
| |
Change-Id: Iafa2ce4ca485122e44e5b143af68823793dd4b85
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ic784af0bc3b01d66116e5aa42af0772bbe51fb62
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now check for the existence of the comment section in a slightly more
readable way and then proceed based on that.
Done-with: Orgad Shaneh <orgad.shaneh@audiocodes.com>
Fixes: QTQAINFRA-2988
Change-Id: I90ddef66b97fea42bd9723a234235820bb21875a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
Add missing dereference.
Fixes: QTQAINFRA-2988
Change-Id: Ic20cb633cef19a40820d9f3585ffa3886416442f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
|
|
| |
Useful for filtering out bot messages.
Change-Id: I26d23b159ec006185c9fb817155742722f4095fa
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
| |
Enables filtering of bot messages
Change-Id: I2060a6868fa703e009277a19d91c65de14d5ce11
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Work around an issue where set-reviewers call causes an internal server error
due to a NullPointerException. Giving the project explicitly avoids that error.
Task-number: QTQAINFRA-3035
Change-Id: I466a85eb4bf7a7a14a5054e3436b16159e75f4c1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
| |
After the Gerrit upgrade, the bot doesn't work any more (we use NoteDB
now) and the functionality is in the regular UI.
Change-Id: I005b2501d63d6a99c9f643fd77a6451e5c6cfb06
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recently added check for fatuous sanity review tested for empty
comments with int($$verdict{comments}) == 0 but it's possible that
$$verdict{comments} is undefined; when it is, we get a warning here:
Use of uninitialized value in int at /srv/gerrit/sanitybot/gerrit-bot.pl line 224.
So add and tweak some punctuation to make perl happy again.
Thanks to Ossi for the appropriate runes.
Change-Id: I211baa2e61cda98fc61ec97775f5a247da00c1f4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
|
| |
After the last change, the bot refuses to start:
Execution of /srv/gerrit/sanitybot/gerrit-bot.pl aborted due to compilation errors.
Bareword "NONE" not allowed while "strict subs" in use at /srv/gerrit/sanitybot/gerrit-bot.pl line 224.
Change-Id: I62958d97ba0311986549c7cc6e78a4e381cbd28a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTBI-1549
Change-Id: I061eafd8ab5b27d07dd9165e82688fd8cbcbe78d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once in a while somebody runs into the bot complaining about the use of
"MAC" when it's perfectly fine. For example in the context of "MAC
address". This is quite annoying and less helpful than perhaps intended.
So this change removes the trigger-happy part of the check but keeps the
more clearly defined potential uses of old terminology from Apple.
Fixes: QTQAINFRA-2800
Change-Id: If6b9cfbd0a808b424ffc93728fcc66939f5ad6ee
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have a general convention of storing test data in testdata/
sub-directories alongside their tests. This data is whatever it needs
to be, for whatever the test may be doing, so we don't want to waste
cycles commenting on its spacing, or spam reviewers with the results.
Adding this exception might even encourage those maintaining tests
with such data to adopt this (already common) convention and make it
easier for others who encounter tests to know where to find their
data. (I'll start with testlib's selftest's expected_* data when I
can find the time.)
Change-Id: Ib27b75e858e0573a65540787f4ccae6b2383bc3d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: I80b9e149675a13810cfa1164d97b1902d1ceb792
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
This ensures the footers look nice.
Change-Id: Ie8c61dbf39ceaccdc47e69764385ea252ab961af
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
... so it's more consistent with the other flags.
Change-Id: Ic2eae23ed10594f7adab7f5980852294252923d9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
| |
the eof is part of the content (and not just a git attribute, like the
eol style), so it makes no sense to enforce our style for 3rdparty.
Change-Id: I6cdfd4f3bf14ddab9e6cb2531547b97f5b96cbc8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
| |
Change-Id: If351a93f6959406e032e85c8e0238af87333a727
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
| |
we don't validate them, though, as we have no access to the source
repository.
Change-Id: I8eea89506aca007cb2413d24632904ab81119cae
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Having now seen moves using the bot in practice, I find that reviews
after a move typically give no hint to which branch they were on
*before* the move. Though usually unimportant, it's sometimes of
interest to a reviewer.
Change-Id: I2462ca2033a7f9007ff5dc226dc6674b04b4e4fb
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
| |
Change-Id: Ibd1c42ab4bbe2592b3f9116546f0e5342180d139
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
contrary to expectations, the 'status' field is simply missing from the
event streams change object.
we'll let the worker script complain about the problem instead.
Change-Id: Ie7cc6af462372f52a1e942fec836c680f0f51dd2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
| |
Change-Id: Ifcace60957cf2383effaaa23adcd7e1509d04066
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
| |
amends 21ec987901.
Change-Id: I8d04359bbaa77096f7c8d4e446978c65cb2eea19
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
| |
Change-Id: I12e152f10cbd0fca8950854d41847d6de8225159
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
| |
Change-Id: Ideca76f81632a4d886193b8a8529aa9682b84066
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTQAINFRA-1672
Change-Id: I4bc20293b566dd02ac8ece3a55e2364df53a4baa
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The permissions check was only looking at "new file mode", which is
only present for new files. For existing files, when they change
mode, the line says "new mode" instead. So match that, too. This
catches what qtbase/ffc8409aa58c04c1dd140001976b55925ac959f6 did
wrong.
Change-Id: I07b30c1b88c067c3f90888ff3b212b15a9384134
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let the gerrit bot listen to comments and process move requests
in the form: "bot: move to 4.5".
This should replace the current method for moving a change, which
is to ask ossi or fregl.
Only the change owner is allowed to request moving the change.
Resume is not needed because the bot is up most of the time, and
unlike the Sanity-Review label, this can be easily retriggered by
the user in case of failure.
Change-Id: I5b89fb8e38b0e0af2b7a4f20a5b29412493fb72e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
| |
It triggers on some of the testlib selftests, to my repeated
irritation.
Change-Id: I220ef37b5579abe201a35ff186a07c4da4bf89cf
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than adding .txt and .ttf (recently witnessed) to the list of
suffixes on files that shouldn't be executable, rearrange the test to
actively recognize files that should be executable, complaining if any
others are executable. In the process, remove .pm from the executable
script list; #!/usr/bin/perl doesn't make sense in a .pm, only in .pl
Change-Id: I9b0de48443d04f930677ae8f64959ed26343fa35
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
|
| |
otherwise we complain about "LLVM-bug", which is not helpful.
this also removes the now-obsolete GPush special case.
Change-Id: I22bb22cd29e152dce9d21a1bb7e7aece837266f7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
| |
Changes the sanity script to accept "la", which is common in Spanish
names.
Change-Id: I90bbd0da74631d27e73d9ed9e35f6fc5252ba1aa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
| |
The variable $no_copyright was getting an incorrect value due to a typo
in the regular expression.
Change-Id: Ia99bb32f0c9c2bba3fff50662059ff03ab6cf556
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
|
| |
"50KiB > 50KiB" is mathematically wrong, and is an artifact of the first
number being rounded down. so instead complain about >= 50KiB.
Change-Id: Idebaebcd7e1b432ea37dc2b0c9ed6d0705b47c92
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
| |
Change-Id: Ic85f5fced6c6587f48c6f54512bf681543f887ab
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
fundamentally change how the data is queried from git. this has some
marginal unnecessary cost for the case where no applicable watches are
actually present, but the code is clearer this way.
Change-Id: I0a89401a9f199b69da7471ca551178f5d89b8a4f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
| |
it doesn't really make sense to claim wip for a neglected squash.
Change-Id: I30245ff57142bebbdd2e29ff4160ccb7c427392e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
originally, the idea was to have one gerrit-bot instance per worker, but
that would result in an (even greater) flood of comments. so all
functionality that didn't fit into sanitize-commit was added to
gerrit-bot. at this time it's getting messy, so clean it up by making it
a plain launcher/dispatcher again, with the ability to run multiple
workers on a single commit.
Change-Id: I8c04f449726793b99e9f1ac5c6db330a1f17389f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
|
| |
it's pointless.
Change-Id: I7f9eec32134ba2793ec8015ebccce6cea33867ec
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The suffix .mk is commonly used for non-primary make-files (such as
are invoked with make -f or pulled in by make's include directive).
Complaining about leading tabs in Makefile is already avoided, so do
the same for *.mk files.
Change-Id: Iceff9f65ccdcc716babb8c738dd1d6141e08ea2a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
| |
Change-Id: I91bc2e7d7b89a9036ad962d89b72a5fabb47c6f1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
the worker knows gerrit's JSON format and the meaning of the field's
values anyway, so putting the field name there as well actually improves
locality.
Change-Id: If1ee5a5e54bb041244dcc986b6236de504522c2f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
| |
we've been on gerrit 2.7 for long enough.
Change-Id: I7ee344b724b103594c196fc394b9bdc7349ee36c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
notification mails from the sanity bot are suppressed for users not
owning the change, so the invited reviewers would never get a proper
invitation.
Change-Id: I4bb816a3a5178cba01fe11016c46ae933807a454
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
|
|
|
|
|
|
|
|
| |
adobe illustrator's export function creates tabs, and it would be
unreasonable to clean that up.
Change-Id: I94555a7f2e2f6c9b153a8d5f5395b8972f410e88
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-55945
Started-by: Edward Welbourne <edward.welbourne@qt.io>
Change-Id: Ifd2fd9dde62606ec67076e69bd24ec5a5be1c9e9
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
| |
Commit subjects should be written in the imperative, present tense.
Change-Id: I99f1864af18c546704011d24aeeae05d8f2b7631
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Sanity-bot regards *.pl as C-like code; unlike the other kinds of file
it regards as C-like, perl scripts are sensible things to make
executable. So make an exception for them.
Change-Id: Ibbfea2149a3b735baac4424af51b55bcb5bca090
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|