Open HMJiangGatech opened 3 days ago
Thanks for opening this request @HMJiangGatech!
To assist in finding the right solution for your use case, do you mind answering these questions:
I'm asking because the following solution may better fit your use case:
data/
prefix and make it update stats.txt
with the file count stats.txt
exists and was modified (rather than writing to lakeFS)Do you think this would work for you?
In the pre-commit hook (e.g., lua hook), I'm looking for a way to write into the repo.
Example, I structure my repo as
Then I want to have a pre-commit hook to always count how many files in
data
, and write that into the stats.txt, e.g.,I know I can publish somewhere else, e.g., a s3 location. But I'm looking for a solution to directly write into the repo.