Add Babelfishfile
We hit this recurring problem from time to time: drivers update, some problems are fixed and thus some of our workarounds crash. There can be new bugs added as well - e.g. when a native parser is changed or the SDK is refactored. So we propose to add Babelfishfile which pins the driver versions similar to package.json or requirements.txt. We expect it to work like
bbfshctl driver install -f /path/to/Babelfishfile
or
cat Babelfishfile | docker exec bblfshd driver install -f -
The syntax should support semver ranges and all the other version tricks we are used to in Python.
Good idea.
I like this idea!
@mcuadros Can you please move this issue to bblfshd?
We already have an issue in bblfshd for this - may be we could re-purpose it/merge it together https://github.com/bblfsh/bblfshd/issues/181 ?
@bzz But the issue you point to is quite different: it is proposed to load drivers from file system there.
Yes, I think it should be a separate issue. Waiting for it to be transferred to bblfshd.
the issue you point to is quite different: it is proposed to load drivers from file system
👍 thanks for pointing it out!
@smola could you please give us a hand, moving this to bblfshd 🙏 ?