bblfsh / bblfshd

A self-hosted server for source code parsing
https://doc.bblf.sh
GNU General Public License v3.0
358 stars 54 forks source link

Support installing drivers from file #181

Open kafkasl opened 6 years ago

kafkasl commented 6 years ago

Support installing drivers from a file. Useful for systems (like many supercomputers) without direct access to internet. Could be something like:

bblfshctl driver install Python python-driver/ --ctl-address ~/bblfsh/bblfshctl.sock

juanjux commented 6 years ago

I agree this would be a really helpful adition to bblfshd, will try to priorize it since the "copy directory" kludge doesn't always seem to work.

Ideally, this would install from an exported docker filesystem image since the source code driver directory would need a build and other operations that could be problematic in restricted computers.