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:04:00 UTC
[jira] [Updated] (CASSANDRA-21430) Fix git hooks in cassandra builds where core.symlinks is false
[ https://issues.apache.org/jira/browse/CASSANDRA-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francisco Guerrero updated CASSANDRA-21430:
-------------------------------------------
Bug Category: Parent values: Correctness(12982)Level 1 values: Unrecoverable Corruption / Loss(13161)
Complexity: Low Hanging Fruit
Component/s: Build
Discovered By: User Report
Fix Version/s: 6.x
7.x
Severity: Low
Status: Open (was: Triage Needed)
> 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
> Components: Build
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Normal
> Fix For: 6.x, 7.x
>
>
> 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