Hello team,
Here is my X problem:
I want to implement staging using branches (latest, devel, release etc.) in lakeFS.
Each branch contains some folders with models and a single yaml file, describing where to find each model.
When new model or new version of model is being pushed, it updates (1) model file itself, (2) yaml file (with metadata - new file hash and version).
For example in my release stage I have model version v0.0.1, and I want to promote my devel model version v0.0.33 to release.
I can neither use purely devel version of yaml file (because it will potentially update other models metadata), nor cherry-pick latest change to yaml file from devel to release (because there were a lot of changes since when devel and release were the same).
But for the model file, I can just update file pointer in release stage.
So here is my Y problem:
I want to simply update model file pointer in new stage, and update yaml file manually (by downloading it, changing model metadata and pushing it back in some script).
The question is: Can I simply update file pointer in lakeFS? If yes - how?
UPD: Because I don't want to download and push models each time on promotion - they may be large. So I just want to change file pointers.