From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 4193B559A02; Wed, 2 Aug 2023 11:55:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4193B559A02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1690966524; bh=LG4rI68kww6RU7m/EGWmGTgS411jW7uyQ3GFr76IcDQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=TaWtqhy1XXJ+FcMtWHZTKP3p5Sv9s31x8zH/uY/RQGu4I6dw93eb4r/b/7im4VwCc sKiph+OCq9WByQUFGiqU1kF2kbwocyDS2PEo3X6JavaoLoGcSwzlrU/uCk1dSptBrR maV1L+px6Xstq1b+2sZbsjAnspLND75lPe07/moo= Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 052AE55961F for ; Wed, 2 Aug 2023 11:55:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 052AE55961F Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5222b917e0cso9522714a12.0 for ; Wed, 02 Aug 2023 01:55:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690966521; x=1691571321; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/QNtSqiWpAOgx59G8psPTw8/mcQYK7ah9FB7FN60DNA=; b=Xwzj7c3INQqRWwGnZZz7yRpLM4h0B0/7IVMV9mt5OyeiwuOEhbxjPWSBuZ21KYC3XT S3mWMzlGv/J8BF8hCWuAxbfHM8RYOxWuviu2vrtSe3kbnKXq66RO4cQkFjsMGK7aNrUI WGlAMsQi+GXXu8v9ALBvjkoNfLKNAin4zvkcf3axwEsogMO+MsHyWAdCcqceVmqOm+Mc /JKWGTDc1QPB/dRuFpVHhOWsQYbyC3QRki9g7XPH/qd8dTABo6SbFCS7pe/AewrE2kI+ KsL5dBxKtVBP6FpNGgNmeYo4I4+DfAxr94Zs314urozbfacxHz9t2He4MSD3IxWpSvHl IbwA== X-Gm-Message-State: ABy/qLYSck3A4MGkBAYisMWnOZt86Q3B+P6Y9yJbZ1tDEbP9Efli32rg E5s7YIRJaEDk1uLv9Zn/SQ178x6JgIY= X-Google-Smtp-Source: APBJJlETG5+q7iQJZFxJs8Q3broSsk1oEXGO+Xt+0ywmsQ6sqk33MC09XqH4LJmROYb3qqrmA2jirA== X-Received: by 2002:a17:906:32c3:b0:992:b3a3:81f9 with SMTP id k3-20020a17090632c300b00992b3a381f9mr4333566ejk.71.1690966521339; Wed, 02 Aug 2023 01:55:21 -0700 (PDT) Received: from pony.. ([185.6.247.97]) by smtp.gmail.com with ESMTPSA id jt9-20020a170906dfc900b0098dfec235ccsm8780125ejc.47.2023.08.02.01.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 01:55:21 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, Sergey Kaplun , max.kokryashkin@gmail.com Date: Wed, 2 Aug 2023 11:52:16 +0300 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/5][v3] Fix typos and enable checkpatch X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov Sometimes we do mistakes and typos. Reviewers spend a lot of time in proofreading of comments, commit messages and code itself and reports typos to authors. The idea is to automate a part of work made by reviewers and highlight about all typos and code styles problems in continuous integration, before sending patches to review. Patch-series adds support of checkpatch to the build infrastructure and Github Actions, and fix typos found by checkpatch and codespell. Changelog v3: - Addressed comments from Maxim Kokryashkin. - Suppressed checkpatch warnings that not suitable for LuaJIT. Changelog v2: - Added CMake targets. - Fixed typo in a step name. - Fixed two typos. - Updated Github Action for checkpatch, now checkpatch runs in workflow, not in action. - Ignore check COMMIT_MESSAGE. Branch: https://github.com/tarantool/luajit/tree/ligurio/gh-xxxx-spellchecking Sergey Bronnikov (5): ci: fix a step name codehealth: fix typos cmake: introduce new targets ci: enable checkpatch test: fix codestyle .github/actions/checkpatch/action.yml | 11 ++++ .github/workflows/lint.yml | 22 +++++++- src/lj_sysprof.c | 2 +- src/lj_wbuf.h | 2 +- src/luajit-gdb.py | 6 +-- src/luajit_lldb.py | 6 +-- test/CMakeLists.txt | 51 +++++++++++++++++++ test/LuaJIT-tests/src/ctest.c | 2 +- test/tarantool-c-tests/CMakeLists.txt | 1 - test/tarantool-c-tests/test.c | 2 +- test/tarantool-tests/CMakeLists.txt | 2 +- test/tarantool-tests/fix-emit-rma.test.lua | 2 +- .../gh-4199-gc64-fuse.test.lua | 2 +- ...-6096-external-unwinding-on-arm64.test.lua | 2 +- test/tarantool-tests/gh-6163-min-max.test.lua | 2 +- .../lj-356-ir-khash-non-string-obj.test.lua | 2 +- .../lj-416-xor-before-jcc.test.lua | 2 +- ...6-arm64-incorrect-check-closed-uv.test.lua | 2 +- .../lj-512-profiler-hook-finalizers.test.lua | 4 +- .../lj-603-err-snap-restore.test.lua | 2 +- .../misclib-memprof-lapi.test.lua | 6 +-- test/tarantool-tests/tap.lua | 4 +- test/tarantool-tests/unit-jit-parse.test.lua | 2 +- tools/memprof/parse.lua | 4 +- tools/memprof/process.lua | 4 +- 25 files changed, 114 insertions(+), 33 deletions(-) create mode 100644 .github/actions/checkpatch/action.yml -- 2.34.1