From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>,
Sergey Bronnikov <estetus@gmail.com>,
tarantool-patches@dev.tarantool.org, max.kokryashkin@gmail.com
Subject: Re: [Tarantool-patches] [PATCH luajit 3/4][v2] cmake: introduce target with codespell
Date: Tue, 31 Oct 2023 09:42:52 +0300 [thread overview]
Message-ID: <ZUCh7LKf0O0FowXg@root> (raw)
In-Reply-To: <ZTaFdKhu073zSt3l@root>
Hi, Sergey!
One more comment below:
On 23.10.23, Sergey Kaplun via Tarantool-patches wrote:
> Hi, Sergey!
> Thanks for the fixes!
> LGTM, just minor nits below.
>
<snipped>
> > >> diff --git a/cmake/CodeSpell.cmake b/cmake/CodeSpell.cmake
> > >> new file mode 100644
> > >> index 00000000..c4d3555d
> > >> --- /dev/null
> > >> +++ b/cmake/CodeSpell.cmake
> > >> @@ -0,0 +1,36 @@
> > >> +find_program(CODESPELL codespell)
> > >> +
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/src/lj_mapi.c)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/src/lj_sysprof.c)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/src/lj_utils_leb128.c)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/src/lj_wbuf.c)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/src/luajit-gdb.py)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/src/luajit_lldb.py)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/test/CMakeLists.txt)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/test/tarantool-c-tests)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/test/tarantool-tests)
> > >> +list(APPEND CODESPELL_WHITELIST ${PROJECT_SOURCE_DIR}/tools)
> > > Also, the following files should be checked:
> > >
> > > * src/lib_misc.c
> > > * src/lj_memprof.c
> > > * src/lj_memprof.h
> > > * src/lj_sysprof.h
> > > * src/lj_utils.h
> > > * src/lj_wbuf.h
> > > * src/lmisclib.h
> > > * test/LuaJIT-tests/CMakeLists.txt
> > > * test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt
> > > * test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt
> > > * test/PUC-Rio-Lua-5.1-tests/libs/CMakeLists.txt
> > > * test/lua-Harness-tests/CMakeLists.txt
> >
> >
> > Added:
> >
> > --- a/cmake/CodeSpell.cmake
> > +++ b/cmake/CodeSpell.cmake
> > @@ -1,13 +1,25 @@
> > find_program(CODESPELL codespell)
> >
> > string(JOIN "," CODESPELL_WHITELIST
> > + ${PROJECT_SOURCE_DIR}/src/lib_misc.c
> > ${PROJECT_SOURCE_DIR}/src/lj_mapi.c
> > + ${PROJECT_SOURCE_DIR}/src/lj_memprof.c
> > + ${PROJECT_SOURCE_DIR}/src/lj_memprof.h
> > ${PROJECT_SOURCE_DIR}/src/lj_sysprof.c
> > + ${PROJECT_SOURCE_DIR}/src/lj_sysprof.h
> > + ${PROJECT_SOURCE_DIR}/src/lj_utils.h
> > ${PROJECT_SOURCE_DIR}/src/lj_utils_leb128.c
> > ${PROJECT_SOURCE_DIR}/src/lj_wbuf.c
> > + ${PROJECT_SOURCE_DIR}/src/lj_wbuf.h
> > + ${PROJECT_SOURCE_DIR}/src/lmisclib.h
> > ${PROJECT_SOURCE_DIR}/src/luajit-gdb.py
> > ${PROJECT_SOURCE_DIR}/src/luajit_lldb.py
> > ${PROJECT_SOURCE_DIR}/test/CMakeLists.txt
> > + ${PROJECT_SOURCE_DIR}/test/lua-Harness-tests/CMakeLists.txt
> > + ${PROJECT_SOURCE_DIR}/test/LuaJIT-tests/CMakeLists.txt
> > + ${PROJECT_SOURCE_DIR}/test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt
> > + ${PROJECT_SOURCE_DIR}/test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt
> > + ${PROJECT_SOURCE_DIR}/test/PUC-Rio-Lua-5.1-tests/libs/CMakeLists.txt
> > ${PROJECT_SOURCE_DIR}/test/tarantool-c-tests
> > ${PROJECT_SOURCE_DIR}/test/tarantool-tests
> > ${PROJECT_SOURCE_DIR}/tools
>
> Side note: within vim's (sort 'l' is greater then 'L', see `man ascii`),
> but I'm OK with this order too.
Sorry, I've forgot about <src/lj_symtab.c> <src/lj_symtab.h>.
--
Best regards,
Sergey Kaplun
next prev parent reply other threads:[~2023-10-31 6:47 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 16:52 [Tarantool-patches] [PATCH luajit 0/4][v2] Fix typos and enable codespell Sergey Bronnikov via Tarantool-patches
2023-10-11 16:52 ` [Tarantool-patches] [PATCH luajit 1/4][v2] codehealth: fix typos Sergey Bronnikov via Tarantool-patches
2023-10-12 10:33 ` Maxim Kokryashkin via Tarantool-patches
2023-10-23 8:50 ` Sergey Kaplun via Tarantool-patches
2023-10-11 16:52 ` [Tarantool-patches] [PATCH luajit 2/4][v2] test: fix codestyle Sergey Bronnikov via Tarantool-patches
2023-10-12 10:34 ` Maxim Kokryashkin via Tarantool-patches
2023-10-23 8:52 ` Sergey Kaplun via Tarantool-patches
2023-10-23 14:13 ` Sergey Bronnikov via Tarantool-patches
2023-10-23 14:27 ` Sergey Kaplun via Tarantool-patches
2023-10-11 16:52 ` [Tarantool-patches] [PATCH luajit 3/4][v2] cmake: introduce target with codespell Sergey Bronnikov via Tarantool-patches
2023-10-11 19:33 ` Sergey Bronnikov via Tarantool-patches
2023-10-12 10:43 ` Maxim Kokryashkin via Tarantool-patches
2023-10-12 13:28 ` Sergey Bronnikov via Tarantool-patches
2023-10-12 18:46 ` Maxim Kokryashkin via Tarantool-patches
2023-10-17 14:50 ` Sergey Bronnikov via Tarantool-patches
2023-10-23 9:20 ` Sergey Kaplun via Tarantool-patches
2023-10-23 12:29 ` Sergey Bronnikov via Tarantool-patches
2023-10-23 14:38 ` Sergey Kaplun via Tarantool-patches
2023-10-31 6:42 ` Sergey Kaplun via Tarantool-patches [this message]
2023-10-31 10:50 ` Sergey Bronnikov via Tarantool-patches
2023-10-31 11:31 ` Sergey Kaplun via Tarantool-patches
2023-10-31 11:53 ` Maxim Kokryashkin via Tarantool-patches
2023-10-11 16:52 ` [Tarantool-patches] [PATCH luajit 4/4][v2] ci: enable codespell Sergey Bronnikov via Tarantool-patches
2023-10-12 10:45 ` Maxim Kokryashkin via Tarantool-patches
2023-10-23 8:53 ` Sergey Kaplun via Tarantool-patches
2023-11-16 16:19 ` [Tarantool-patches] [PATCH luajit 0/4][v2] Fix typos and " Igor Munkin via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUCh7LKf0O0FowXg@root \
--to=tarantool-patches@dev.tarantool.org \
--cc=estetus@gmail.com \
--cc=max.kokryashkin@gmail.com \
--cc=sergeyb@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 3/4][v2] cmake: introduce target with codespell' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox