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 1E71950D8D2; Mon, 17 Jul 2023 16:36:39 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1E71950D8D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1689600999; bh=2xBwxGFqmCGKD3KD3DhaLIzYq1+Df/Chc5IKn8ImuAQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Ic5D8oxUCYMTTYTReD/TNhMbk+qtxyj+PjZPLjVn43SDt8l7eZzs3rJUjGxAh/wup ftIdKDGK0+UeFYRmWtvVaQN/vKPIz0e6WEuNK2702zRXmBZJqAi35VlEfyMar93AMq 1ZV6brOqBseYrnwKWiGIeLLydJNrVvqf0msLV7rM= Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 0C13B50D8D2 for ; Mon, 17 Jul 2023 16:36:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0C13B50D8D2 Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-51e57874bfdso6491998a12.0 for ; Mon, 17 Jul 2023 06:36:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689600996; x=1692192996; 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=n3dlAIDPyURxeFTmS4D42yDAOslT3vZyUVwIGu8kG70=; b=OH5u7taTNrRya6LEBa78d1vrhaJOGg/uaD81DgFKC70RUA33G6ayzw5EtsGOA2vQxN UVGcvdTn/Mcem/t4ShiLni9pbdeMk6AUMCLpOMMtZuWejLRM5tsQAJa0koV9NyrJCrVa buBa2lwjdKIg4Y5iBM4V3Wu5WeO1NKDl7eAKjoZKhikXTmSSDdjWUVOHfnBQGCYEdltH tfhIFtzAeWIyTXtEBo8cHVSLnMDV2vNsgaPPYQt6Se1sObgpchZDqWM/I1Kw20cvbrJw 3VAia0omLrFAk1JNZhrSJXp4ijQIEX4JHDtCYfSnWM+e5S9DCGKRBAFCCMX8XF78HUGT c3UQ== X-Gm-Message-State: ABy/qLZgoxIq6wqyIKnHU+BbVAnwOH8IwcE4AZ1t3kfIk/lViIDhJdWu e2nD2wtsCTDS3+pWDpOh1eeTSDdSaFk= X-Google-Smtp-Source: APBJJlFV4lzF/y1P3E0PeNE93tSU8EMgbImLzWPD6RhkZ6h/Anwufyl7wVLagmkfGYPkoOr/TQR68A== X-Received: by 2002:aa7:d449:0:b0:51e:3bb0:aa44 with SMTP id q9-20020aa7d449000000b0051e3bb0aa44mr10913707edr.17.1689600996275; Mon, 17 Jul 2023 06:36:36 -0700 (PDT) Received: from pony.. ([185.6.247.97]) by smtp.gmail.com with ESMTPSA id a19-20020a50ff13000000b0051bed498851sm9989800edu.54.2023.07.17.06.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 06:36:35 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, Sergey Kaplun , max.kokryashkin@gmail.com Date: Mon, 17 Jul 2023 16:34:33 +0300 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/4][v2] 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. Patches fixes typos in our own source code and enables checkpatch in CI and CMake. 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 (4): ci: fix a step name codehealth: fix typos cmake: introduce 'check' and 'LuaJIT-checkpatch' targets ci: enable checkpatch .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 | 33 +++++++++++++++++++ test/LuaJIT-tests/src/ctest.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-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 +-- 22 files changed, 94 insertions(+), 30 deletions(-) create mode 100644 .github/actions/checkpatch/action.yml -- 2.34.1