You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Francisco Guerrero (Jira)" <ji...@apache.org> on 2026/06/04 11:03:00 UTC
[jira] [Created] (CASSANDRA-21430) Fix git hooks in cassandra builds where core.symlinks is false
Francisco Guerrero created CASSANDRA-21430:
----------------------------------------------
Summary: Fix git hooks in cassandra builds where core.symlinks is false
Key: CASSANDRA-21430
URL: https://issues.apache.org/jira/browse/CASSANDRA-21430
Project: Apache Cassandra
Issue Type: Bug
Reporter: Francisco Guerrero
Assignee: Francisco Guerrero
In systems configured to not follow symlinks in git (i.e. {{git config --global core.symlinks false}}) the Cassandra build process fails with the following error message:
{code}
[exec] Running script .git/hooks/post-checkout
[exec] Submodule 'modules/accord' (https://github.com/apache/cassandra-accord.git) registered for path 'modules/accord'
[exec] Cloning into 'dtest-jars/build/trunk/modules/accord'...
[exec] Submodule path 'modules/accord': checked out 'f09a12da76bbc195ceb05ad859912aeb0a432dda'
[exec] cp: dtest-jars/build/trunk/.build/git/git-hooks/post-switch/*: Not a directory
BUILD FAILED
{code}
These git configurations can be disabled for many reasons including security guidance (for example CVE-2024-32002). But the build process should be resilient to systems with different configurations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org