Python parallel plugin management.

* Main differences from ruby are inside Command class, notably it
poll/sleeps on the subprocess to check output & timeout.
* Another difference, interrupt is not instaneous due to checking var.
* Otherwise, I mainly just mirrored code into objects.
* Note that due to GVim freeze, disabling use on Windows
This commit is contained in:
Jeremy Pallats/starcraft.man
2015-02-12 11:59:50 -05:00
parent 74169f3761
commit e362fd5931
4 changed files with 423 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ A minimalist Vim plugin manager.
- Easier to setup: Single file. No boilerplate code required.
- Easier to use: Concise, intuitive syntax
- [Super-fast][40/4] parallel installation/update
(with [+ruby][rb] or [Neovim][nv])
(with +python or [+ruby][rb] or [Neovim][nv])
- On-demand loading for [faster startup time][startup-time]
- Can review and rollback updates
- Branch/tag support
@@ -88,13 +88,13 @@ Reload .vimrc and `:PlugInstall` to install plugins.
### Global options
| Flag | Default | Description |
| ------------------- | --------------------------------- | ----------------------------------------------------------- |
| `g:plug_threads` | 16 | Default number of threads to use |
| `g:plug_timeout` | 60 | Time limit of each task in seconds (*for Ruby installer*) |
| `g:plug_retries` | 2 | Number of retries in case of timeout (*for Ruby installer*) |
| `g:plug_window` | `vertical topleft new` | Command to open plug window |
| `g:plug_url_format` | `https://git::@github.com/%s.git` | `printf` format to build repo URL |
| Flag | Default | Description |
| ------------------- | --------------------------------- | -----------------------------------------------------------|
| `g:plug_threads` | 16 | Default number of threads to use |
| `g:plug_timeout` | 60 | Time limit of each task in seconds (*Ruby & Python*) |
| `g:plug_retries` | 2 | Number of retries in case of timeout (*Ruby & Python*) |
| `g:plug_window` | `vertical topleft new` | Command to open plug window |
| `g:plug_url_format` | `https://git::@github.com/%s.git` | `printf` format to build repo URL |
### Keybindings