lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

prepare-commit hook does not fire when I import the data

Open kesarwam opened this issue 8 months ago • 1 comments

What happened?

prepare-commit hook does not fire when I import the data while pre-commit and post-commit do. Import data has built-in commit and I would like to update user metadata for the objects via prepare-commit hook while importing data. I am using lakeFS v1.53.0.

Expected behavior

No response

lakeFS version

1.53.0

How lakeFS is installed

No response

Affected clients

No response

Relevant log output


Contact details

No response

kesarwam avatar Mar 28 '25 01:03 kesarwam

@kesarwam this is not a bug - this is by design. Import triggers pre-commit and post commit hooks explicitly. We don't trigger these hooks for any operation that involves a commit (i.e. Merge, Revert, Cherry-Pick etc.) Is this a feature request?

N-o-Z avatar Mar 28 '25 03:03 N-o-Z