-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from databio/dev
Release 0.7.3
- Loading branch information
Showing
12 changed files
with
121 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# Bulker | ||
|
||
[![PEP compatible](https://pepkit.github.io/img/PEP-compatible-green.svg)](http://pepkit.github.io) [![Build Status](https://travis-ci.org/databio/bulker.svg?branch=master)](https://travis-ci.org/databio/bulker) | ||
|
||
Bulker builds multi-container computing environments that are both **modular** and **interactive**. | ||
|
||
For details, see the [bulker documentation](http://docs.bulker.io). You can find and share manifests at [bulker hub](http://hub.bulker.io). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
_bulker_complete() { | ||
local cur prev | ||
|
||
COMPREPLY=() | ||
cur=${COMP_WORDS[COMP_CWORD]} | ||
prev=${COMP_WORDS[COMP_CWORD-1]} | ||
|
||
if [ $COMP_CWORD -eq 1 ]; then | ||
cmds=`bulker --commands` | ||
COMPREPLY=( $(compgen -W "${cmds}" -- ${cur}) ) | ||
elif [ $COMP_CWORD -eq 2 ]; then | ||
case "$prev" in | ||
"run") | ||
cmds=`bulker list --simple` | ||
COMPREPLY=( $(compgen -W "${cmds}" -- ${cur}) ) | ||
;; | ||
"activate") | ||
cmds=`bulker list --simple` | ||
COMPREPLY=( $(compgen -W "${cmds}" -- ${cur}) ) | ||
;; | ||
*) | ||
COMPREPLY=() | ||
;; | ||
# Begin bulker bash autocomplete | ||
_bulker_autocomplete() | ||
{ | ||
local cur prev opts1 opts2 | ||
cur=${COMP_WORDS[COMP_CWORD]} | ||
prev=${COMP_WORDS[COMP_CWORD-1]} | ||
opts1=$(bulker --commands) | ||
opts2=$(bulker list --simple) | ||
case ${COMP_CWORD} in | ||
1) | ||
COMPREPLY=($(compgen -W "${opts1}" -- ${cur})) | ||
;; | ||
2) | ||
case ${prev} in | ||
"activate"|"run") | ||
COMPREPLY=($(compgen -W "${opts2}" -- ${cur})) | ||
;; | ||
*) | ||
COMPREPLY=() | ||
;; | ||
esac | ||
;; | ||
*) | ||
COMPREPLY=() | ||
;; | ||
esac | ||
fi | ||
|
||
return 0 | ||
} && complete -F _bulker_complete bulker | ||
} && complete -o bashdefault -o default -F _bulker_autocomplete bulker | ||
# end bulker bash autocomplete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.7.2" | ||
__version__ = "0.7.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# begin bulker bash completion | ||
_bulker_autocomplete() | ||
{ | ||
local cur prev opts | ||
COMPREPLY=() | ||
cur="${COMP_WORDS[COMP_CWORD]}" | ||
prev="${COMP_WORDS[COMP_CWORD-1]}" | ||
# opts=$(mm -l) | ||
opts=$(bulker list --simple) | ||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) | ||
return 0 | ||
} | ||
complete -o nospace -F _bulker_autocomplete bulker | ||
# end bulker bash completion | ||
|
||
|
||
_bulker_autocomplete_layer() | ||
{ | ||
local cur prev opts1 opts2 | ||
cur=${COMP_WORDS[COMP_CWORD]} | ||
prev=${COMP_WORDS[COMP_CWORD-1]} | ||
opts1=$(bulker --commands) | ||
opts2=$(bulker list --simple) | ||
case ${COMP_CWORD} in | ||
1) | ||
COMPREPLY=($(compgen -W "${opts1}" -- ${cur})) | ||
;; | ||
2) | ||
case ${prev} in | ||
activate) | ||
COMPREPLY=($(compgen -W "${opts2}" -- ${cur})) | ||
;; | ||
*) | ||
COMPREPLY=() | ||
;; | ||
esac | ||
;; | ||
*) | ||
COMPREPLY=() | ||
;; | ||
esac | ||
} | ||
|
||
complete -o bashdefault -o default -F _bulker_autocomplete_layer bulker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# How to enable bash autocompletion | ||
|
||
Bulker provides bash autocompletion. The autocompletion script can be found in [bash_complete.sh](https://github.com/databio/bulker/blob/master/bash_complete.sh). Add the contents of this file to your `.bashrc` or `.profile` so that it runs whenever the shell starts. | ||
|
||
After reloading the shell, when you type `bulker` and hit `<tab><tab>`, it will populate the list of bulker commands. When you type `bulker run` or `bulker activate` and hit `<tab><tab>`, it will list your available crates. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
yacman>=0.8.1 | ||
yacman>=0.8.4 | ||
pyyaml>=5.1 | ||
logmuse>=0.2.0 | ||
jinja2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters