Unbundle file engine binaries from plugin#282
Unbundle file engine binaries from plugin#282jyscao wants to merge 1 commit intovim-ctrlspace:masterfrom
Conversation
Konfekt
left a comment
There was a problem hiding this comment.
Very sensible improvement; thanks for the good work!
|
|
||
| if s:conf.FileEngine ==# "auto" | ||
| let s:conf.FileEngine = s:detectEngine() | ||
| else |
There was a problem hiding this comment.
I been meaning to submit an issue outlining a couple of my main medium to long-term plans/ideas for the project going forward, you'll know it when you see it.
Just as a preview though, one major point I want to raise is that, for an eventual major release we should remove some unnecessary options (which ones are deemed so is ofc up for discussion and should be agreed upon before the changes are committed).
|
@Konfekt I added a MD5 checksum check, and added some more details to the README. Lmk what you think; I think it's probably more or less good to be merged. Although I'm not too sure if we should just remove those 4 binaries from tracking immediately. Since if that's done, next time people pull the update, it'll be deleted from their plugin, but if the script didn't work correctly, then they might get confused. But without removing the binaries from git tracking, then it defeats the whole point of this PR. What you think? |
819eb27 to
d08a81b
Compare
* add post-install shell script to auto fetch file engine bin * use MD5 to prevent unnecessary re-downloading * update 'Installation' section of README * remove existing bins from git tracking (don't delete bins for now)

Instead making users download 4 file engine binaries (3 of which they will never use or even all 4 if their OS+arch doesn't match any of them), it makes more sense to use a post install script to download only the binary applicable to their system.