Skip to content

Bump tarantool-python submodule (remove test-run) #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2021

Conversation

Totktonada
Copy link
Member

This change removes the test-run submodule from lib/tarantool-python.

The idea is to get rid of this 'recursive' nesting of test-run and
tarantool-python submodules into each other. Those nested submodules
contain old resivions of the code. It confuses linters, which looking
for code recursively (such as luacheck). See 1 for details.

After this commit we can eliminate the test-run/**/*.lua exclusion
from .luacheckrc in tarantool.

As the side effect, git clone --recursive <...> will be faster.

Follows up PR #266

This change removes the test-run submodule from `lib/tarantool-python`.

The idea is to get rid of this 'recursive' nesting of test-run and
tarantool-python submodules into each other. Those nested submodules
contain old resivions of the code. It confuses linters, which looking
for code recursively (such as luacheck). See [1] for details.

After this commit we can eliminate the `test-run/**/*.lua` exclusion
from `.luacheckrc` in tarantool.

As the side effect, `git clone --recursive <...>` will be faster.

[1]: tarantool/tarantool-python#189

Follows up PR #266
@Totktonada Totktonada added the code health Improve code readability, simplify maintenance and so on label Feb 24, 2021
@Totktonada Totktonada requested a review from ligurio February 24, 2021 22:16
Copy link
Member

@ligurio ligurio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch!

LGTM

@Totktonada Totktonada merged commit d775fd9 into master Mar 8, 2021
@Totktonada Totktonada deleted the Totktonada/update-tarantool-python branch March 8, 2021 05:02
Totktonada added a commit to tarantool/tarantool that referenced this pull request Mar 8, 2021
This commit updates test-run with an update of tarantool-python, which
eliminates the test-run submodule from tarantool-python. In other words,
we have no test-run submodule inside test-run anymore.

The goal is to don't confuse luacheck with old revisions of test-run /
tarantool-python code and to make recursive clone faster. See [1] and
[2] for details.

[1]: tarantool/test-run#268
[2]: tarantool/tarantool-python@dccf18f
Totktonada added a commit to tarantool/tarantool that referenced this pull request Mar 8, 2021
This commit updates test-run with an update of tarantool-python, which
eliminates the test-run submodule from tarantool-python. In other words,
we have no test-run submodule inside test-run anymore.

The goal is to don't confuse luacheck with old revisions of test-run /
tarantool-python code and to make recursive clone faster. See [1] and
[2] for details.

[1]: tarantool/test-run#268
[2]: tarantool/tarantool-python@dccf18f

(cherry picked from commit 6a640ee)
Totktonada added a commit to tarantool/tarantool that referenced this pull request Mar 8, 2021
This commit updates test-run with an update of tarantool-python, which
eliminates the test-run submodule from tarantool-python. In other words,
we have no test-run submodule inside test-run anymore.

The goal is to don't confuse luacheck with old revisions of test-run /
tarantool-python code and to make recursive clone faster. See [1] and
[2] for details.

[1]: tarantool/test-run#268
[2]: tarantool/tarantool-python@dccf18f

(cherry picked from commit 6a640ee)
Totktonada added a commit to tarantool/tarantool that referenced this pull request Mar 8, 2021
This commit updates test-run with an update of tarantool-python, which
eliminates the test-run submodule from tarantool-python. In other words,
we have no test-run submodule inside test-run anymore.

The goal is to don't confuse luacheck with old revisions of test-run /
tarantool-python code and to make recursive clone faster. See [1] and
[2] for details.

[1]: tarantool/test-run#268
[2]: tarantool/tarantool-python@dccf18f

(cherry picked from commit 6a640ee)
@Totktonada
Copy link
Member Author

Updated the test-run submodule in tarantool in the following commits:

  • master: 2.8.0-106-g6a640ee9e
  • 2.7: 2.7.1-96-gfc0d4c874
  • 2.6: 2.6.2-93-ge001cac12
  • 1.10: 1.10.9-51-gc6fe07572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health Improve code readability, simplify maintenance and so on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants