Hi all - I'm new to lakefs and hoping to find a w...
# help
j
Hi all - I'm new to lakefs and hoping to find a way to squash commits during merge. My thinking is that our commit history will also be the version history for the data. Ie I'd like a repo's
main
branch to show just the merge commits, which would reflect the final released data for each version. I don't see a squash functionality either on the GUI or in the docs. Does anyone know if one is available? Thanks!
o
Hi @Jason Trinidad 👋 I believe squashing is available in the API and in the lakectl command line, however, not currently exposed to the UI (@Ariel Shaqed (Scolnicov) worked on this in the past, he might be able to add more context)
j
Gotcha, thanks!
My guess is we will probably merge PRs on the site like we do with github PRs. Do we know if there are any plans to add squashing to the site?
a
Hello @Jason Trinidad, IIRC I added it for a specific use case, I think a deltalake format writer used it. Didn't add a UI because I was not convinced of its usefulness, and not a fan of cluttering up the UI. To be clear: the feature itself works and it has no rough edges. And I think we do see enough interest to be with a checkbox on the merge form in the web UI. I guess the way ahead here is for you to open an issue. (Of course opening a PR for that issue is even better...)
j
Thanks Ariel, created an issue:
I will look into opening a PR as well!
u
We also need this feature here!
👍🏼 1
👍 1