Hi! Is there way to commit only chosen file that a...
# help
d
Hi! Is there way to commit only chosen file that are in staging (recently were uploaded)? in swagger I didn't find any method.
i
Hey @Denis Belokopytov, there’s no such option. A commit will add all the file changes.
a
I think you're asking about this issue. As you can probably see, we are not sure how to do it safely. One issue is that, unlike Git which presents a single-host model, lakeFS presents an S3 model and allows its data consumers to be distributed. A partial commit will amplify the issues here. If you could add your deteailed use-case to the issue, it might help propel it. As a workaround, you can branch out, work on that branch, and merge it back. I realize that this requires a different mode of operation.
gratitude thank you 1
d
Yep I already found issue. Shortly, we develop an web IDE for our low code platform and decided use lakeFS as git-like version control. Since we can't store data on disk as we don't have Persistent Volumes in our Kubernates (and probably will never have it), we decided use S3 as storage. So sorry guys there is no sophisticated use case.
i
Interesting input, thank you! You can use what Ariel suggested as a workaround for specific files
d
But wait a minute. In our case if we provide our product as PaaS it might be a problem. "LakeFS presents an S3 model and allows its data consumers to be distributed."
a
Not sure what is the issue. Data consumers still need an access key from lakeFS, if they don't have it they cannot get it.