bblfshd icon indicating copy to clipboard operation
bblfshd copied to clipboard

Add Babelfishfile

Open vmarkovtsev opened this issue 7 years ago • 7 comments

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.

vmarkovtsev avatar Oct 16 '18 09:10 vmarkovtsev

Good idea.

juanjux avatar Oct 16 '18 10:10 juanjux

I like this idea!

eiso avatar Oct 18 '18 18:10 eiso

@mcuadros Can you please move this issue to bblfshd?

dennwc avatar Nov 08 '18 18:11 dennwc

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 avatar Nov 21 '18 11:11 bzz

@bzz But the issue you point to is quite different: it is proposed to load drivers from file system there.

vmarkovtsev avatar Nov 21 '18 11:11 vmarkovtsev

Yes, I think it should be a separate issue. Waiting for it to be transferred to bblfshd.

dennwc avatar Nov 22 '18 15:11 dennwc

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 🙏 ?

bzz avatar Nov 23 '18 11:11 bzz