{"action":"created","issue":{"url":"https://api.github.com/repos/westurner/dotfiles/issues/17","labels_url":"https://api.github.com/repos/westurner/dotfiles/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/westurner/dotfiles/issues/17/comments","events_url":"https://api.github.com/repos/westurner/dotfiles/issues/17/events","html_url":"https://github.com/westurner/dotfiles/issues/17","id":52885962,"number":17,"title":"BUG: ipython_config.py (venv, scripts/venv.py): _APP support is broken","user":{"login":"westurner","id":50891,"avatar_url":"https://avatars.githubusercontent.com/u/50891?v=3","gravatar_id":"","url":"https://api.github.com/users/westurner","html_url":"https://github.com/westurner","followers_url":"https://api.github.com/users/westurner/followers","following_url":"https://api.github.com/users/westurner/following{/other_user}","gists_url":"https://api.github.com/users/westurner/gists{/gist_id}","starred_url":"https://api.github.com/users/westurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westurner/subscriptions","organizations_url":"https://api.github.com/users/westurner/orgs","repos_url":"https://api.github.com/users/westurner/repos","events_url":"https://api.github.com/users/westurner/events{/privacy}","received_events_url":"https://api.github.com/users/westurner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/westurner/dotfiles/labels/BUG","name":"BUG","color":"fc2929"},{"url":"https://api.github.com/repos/westurner/dotfiles/labels/in+progress","name":"in progress","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/westurner/dotfiles/milestones/1","labels_url":"https://api.github.com/repos/westurner/dotfiles/milestones/1/labels","id":922946,"number":1,"title":"0.7","description":"","creator":{"login":"westurner","id":50891,"avatar_url":"https://avatars.githubusercontent.com/u/50891?v=3","gravatar_id":"","url":"https://api.github.com/users/westurner","html_url":"https://github.com/westurner","followers_url":"https://api.github.com/users/westurner/followers","following_url":"https://api.github.com/users/westurner/following{/other_user}","gists_url":"https://api.github.com/users/westurner/gists{/gist_id}","starred_url":"https://api.github.com/users/westurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westurner/subscriptions","organizations_url":"https://api.github.com/users/westurner/orgs","repos_url":"https://api.github.com/users/westurner/repos","events_url":"https://api.github.com/users/westurner/events{/privacy}","received_events_url":"https://api.github.com/users/westurner/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-01-05T23:05:32Z","updated_at":"2015-01-05T23:06:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-12-26T06:52:14Z","updated_at":"2015-01-05T23:06:43Z","closed_at":"2015-01-05T23:06:43Z","body":"\r\nHow this should (did) work:\r\n\r\n```bash\r\n# env vars\r\n\r\n__WRK=\"${HOME}/-wrk\"\r\n#WORKON_HOME=\"~/.virtualenvs\"\r\nWORKON_HOME=\"$__WRK/-ve27\"  ## ~/-wrk/-ve27\r\n\r\nVENVSTR=${1:-${VENVSTR}}\r\nVENVSTR=\"dotfiles\"  ## we dotfiles\r\nVENVSTRAPP=${2:-${VENVSTRAPP:-${VENVSTR}}}\r\n\r\nVIRTUAL_ENV_PREFIX=\"$VENVSTR\"\r\nVIRTUAL_ENV=\"$WORKON_HOME/$VIRTUAL_ENV_PREFIX\"\r\n_VENVPREFIX=$VIRTUAL_ENV\r\n_SRC=\"$_VENVPREFIX/src\"\r\n_WRD=\"$_SRC/$_APP\" \r\n\r\n## Create the __DOTFILES symlink to the current dotfiles repo:\r\n__DOTFILES=~/-dotfiles\r\nln -s $_WRD $__DOTFILES\r\n\r\n## Link to the venv script (also scripts/venv.py, etc/ipython/ipython_config.py)\r\n__VENV=\"${__DOTFILES}/src/dotfiles/venv/ipython_config.py\"\r\n\r\n## Workon a venv (in `$WORKON_HOME` (or abspath($1)))\r\n# we() {   ## bash function (we command)\r\n#     source <($__VENV --print-bash $VENVSTR $VENVSTRAPP)\r\n# }\r\n## we dotfiles == we dotfiles dotfiles\r\nwe ${1:-${VENVSTR}} ${2:-${VENVSTRAPP:-${VENVSTR}}}\r\nset -x;\r\n[ \"$_WRD\" == \"$WORKON_HOME/$VENVSTR/src/$VENVSTRAPP\" ] || return 1\r\n\r\n# dotfiles_status  # ds\r\n```\r\n\r\n- [x] tests\r\n  -  [x] unittest.TestCases\r\n  -  ] [ shell test cases\r\n- [x] ``venv \"${1:-${VENVSTR}}\" \"${2:-${VENVSTRAPP:-${VENVSTR}}}\"``"},"comment":{"url":"https://api.github.com/repos/westurner/dotfiles/issues/comments/68798709","html_url":"https://github.com/westurner/dotfiles/issues/17#issuecomment-68798709","issue_url":"https://api.github.com/repos/westurner/dotfiles/issues/17","id":68798709,"user":{"login":"westurner","id":50891,"avatar_url":"https://avatars.githubusercontent.com/u/50891?v=3","gravatar_id":"","url":"https://api.github.com/users/westurner","html_url":"https://github.com/westurner","followers_url":"https://api.github.com/users/westurner/followers","following_url":"https://api.github.com/users/westurner/following{/other_user}","gists_url":"https://api.github.com/users/westurner/gists{/gist_id}","starred_url":"https://api.github.com/users/westurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westurner/subscriptions","organizations_url":"https://api.github.com/users/westurner/orgs","repos_url":"https://api.github.com/users/westurner/repos","events_url":"https://api.github.com/users/westurner/events{/privacy}","received_events_url":"https://api.github.com/users/westurner/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T23:06:43Z","updated_at":"2015-01-05T23:06:43Z","body":"This appears to be fixed in 0.7.1"}}