|
| 1 | +2011-04-13 Doug Hellmann < [email protected]> |
| 2 | + |
| 3 | + * virtualenvwrapper.sh (rmvirtualenv): Move to a safe directory |
| 4 | + before removing the virtual environment, and only move back if the |
| 5 | + previously occupied directory still exists. |
| 6 | + |
| 7 | +2011-04-10 Doug Hellmann < [email protected]> |
| 8 | + |
| 9 | + * virtualenvwrapper.sh: Initialize VIRTUALENVWRAPPER_LOG_DIR and |
| 10 | + VIRTUALENVWRAPPER_HOOK_DIR. |
| 11 | + |
| 12 | + * virtualenvwrapper/hook_loader.py (main): Use |
| 13 | + VIRTUALENVWRAPPER_LOG_DIR for logs instead of assuming |
| 14 | + WORKON_HOME. |
| 15 | + |
| 16 | + * virtualenvwrapper/user_scripts.py (make_hook): Change verbosity |
| 17 | + of message telling the user we have created a new hook script for |
| 18 | + them. |
| 19 | + |
| 20 | +2011-02-26 Doug Hellmann < [email protected]> |
| 21 | + |
| 22 | + * docs/sphinx/conf.py: Just hard-code the version. |
| 23 | + |
| 24 | + * setup.py: Just hard-code the version. |
| 25 | + |
| 26 | + * virtualenvwrapper/version.py: Put the version info inside the |
| 27 | + package so it is available to the doc build and packaging |
| 28 | + script. This also makes the readthedocs.org build work properly. |
| 29 | + |
| 30 | + * setup.py: Import the version information from the package. |
| 31 | + |
| 32 | + * docs/sphinx/conf.py: Import the version information from the |
| 33 | + package. |
| 34 | + |
| 35 | + * Makefile: Remove rule to get the version from the installer for |
| 36 | + the doc build. |
| 37 | + |
| 38 | +2011-01-24 Doug Hellmann < [email protected]> |
| 39 | + |
| 40 | + * virtualenvwrapper.sh: Replace hard-coded name "virtualenv" with |
| 41 | + the variable VIRTUALENVWRAPPER_VIRTUALENV to allow tests (and |
| 42 | + users) to override it. |
| 43 | + |
| 44 | + * tests/test_mkvirtualenv.sh (test_virtualenv_fails): Add a test |
| 45 | + to reproduce the conditions reported in issue #76. |
| 46 | + |
| 47 | +2010-12-27 Doug Hellmann < [email protected]> |
| 48 | + |
| 49 | + * virtualenvwrapper.sh (virtualenvwrapper_get_python_version): |
| 50 | + Only include the major and minor numbers, not the patch level. |
| 51 | + |
| 52 | +2010-12-26 Doug Hellmann < [email protected]> |
| 53 | + |
| 54 | + * virtualenvwrapper/user_scripts.py (make_hook): Do not specify |
| 55 | + text mode when creating the files so cygwin will not replace \n |
| 56 | + with \r\n. |
| 57 | + |
| 58 | + * setup.py: Change "requires" to "install_requires" so pip will |
| 59 | + try to install virtualenv if it is not already there. Add trove |
| 60 | + classifiers for the supported Python versions. |
| 61 | + |
| 62 | + * virtualenvwrapper.sh (virtualenvwrapper_get_python_version): Use |
| 63 | + python's -V option and cut to get the version instead of a python |
| 64 | + one-liner. |
| 65 | + |
| 66 | +2010-12-24 Doug Hellmann < [email protected]> |
| 67 | + |
| 68 | + * virtualenvwrapper.sh (cpvirtualenv): Ensure that both pre hooks |
| 69 | + are run, even if one produces an error. |
| 70 | + |
| 71 | + * virtualenvwrapper/user_scripts.py: Change log message format. |
| 72 | + |
| 73 | + * tox.ini: Configuration file for running tests under tox. |
| 74 | + |
| 75 | + * tests/test_run_hook.sh (test_virtualenvwrapper_run_hook_permissions): |
| 76 | + Fix the expected output message. |
| 77 | + |
| 78 | + * tests/*: Make sure all of the test scripts have execute permission. |
| 79 | + |
| 80 | + * tests/test.sh (test_virtualenvwrapper_verify_workon_home_missing_dir_quiet_init): |
| 81 | + Use source instead of starting another shell, since zsh doesn't |
| 82 | + play nicely with inheriting environment settings otherwise. |
| 83 | + (test_python_interpreter_set_incorrectly): Force |
| 84 | + VIRTUALENVWRAPPER_PYTHON before running the script in a sub-shell. |
| 85 | + |
| 86 | + * tests/run_tests: Script to run through all of the other test |
| 87 | + scripts one at a time. |
| 88 | + |
| 89 | +2010-09-18 Doug Hellmann < [email protected]> |
| 90 | + |
| 91 | + * virtualenvwrapper.sh: Apply patch from Zach Voase to fix |
| 92 | + lsvirtualenv under zsh. |
| 93 | + |
| 94 | +2010-09-14 Doug Hellmann < [email protected]> |
| 95 | + |
| 96 | + * virtualenvwrapper.sh (workon): Use the brief list format by |
| 97 | + default. |
| 98 | + |
| 99 | +2010-08-16 Doug Hellmann < [email protected]> |
| 100 | + |
| 101 | + * virtualenvwrapper/user_scripts.py (get_env_details): New hook to |
| 102 | + optionally give more detail than the name of an environment when |
| 103 | + the user requests a list. |
| 104 | + |
| 105 | + * virtualenvwrapper.sh: Update workon to use the get_env_details |
| 106 | + hook to print more details, if the user provides scripts to give |
| 107 | + them. |
| 108 | + |
| 109 | +2010-06-03 Doug Hellmann < [email protected]> |
| 110 | + |
| 111 | + * virtualenvwrapper.sh: Escape the call to "which" so we don't use |
| 112 | + an alias by accident. |
| 113 | + |
| 114 | +2010-05-22 Doug Hellmann < [email protected]> |
| 115 | + |
| 116 | + * tests/test_cp.sh: Clarify some of the tests by breaking up, |
| 117 | + renaming, and rewriting some functions. |
| 118 | + |
| 119 | + * Makefile (PYTHON26): If we're in a virtualenv when the tests |
| 120 | + start, use a hard-coded path to the binary to get the global |
| 121 | + version. |
| 122 | + |
| 123 | +2010-05-18 Doug Hellmann < [email protected]> |
| 124 | + |
| 125 | + * virtualenvwrapper.sh (virtualenvwrapper_tempfile): Use a trap to |
| 126 | + ensure the temporary file is removed when we exit. |
| 127 | + |
| 128 | +2010-05-16 Doug Hellmann < [email protected]> |
| 129 | + |
| 130 | + * virtualenvwrapper.sh (virtualenvwrapper_tempfile): Set a default |
| 131 | + suffix of "hook" and explicitly report when we detect an error |
| 132 | + condition. |
| 133 | + |
| 134 | + * Makefile (PYTHON26): Use which to find python2.6, the default |
| 135 | + interpreter, so we can run the tests as "make test-quick" on other |
| 136 | + hosts. |
| 137 | + |
| 138 | + * tests/test_tempfile.sh (test_tempfile): Normalize the paths so |
| 139 | + we don't depend on the value of TMPDIR or behavior of dirname. |
| 140 | + |
| 141 | + * tests/test_cd.sh: Make sure the virtualenv from the caller does |
| 142 | + not influence test behaviors by establishing our own virtualenv |
| 143 | + locally. |
| 144 | + |
| 145 | + * virtualenvwrapper/hook_loader.py (main): Add more debug logging |
| 146 | + to try to narrow down the tempfile issue (#35). |
| 147 | + (run_hooks): Insert a comment into the output file to show which |
| 148 | + hook we are running. |
| 149 | + |
| 150 | + * virtualenvwrapper.sh (virtualenvwrapper_run_hook): Add more |
| 151 | + debugging error reporting to try to narrow down the tempfile |
| 152 | + issue (#35). |
| 153 | + |
| 154 | +2010-05-09 Doug Hellmann < [email protected]> |
| 155 | + |
| 156 | + * virtualenvwrapper.sh: Tweak path normalization code so double |
| 157 | + slashes are also removed from WORKON_HOME. Use typeset for local |
| 158 | + variables. |
| 159 | + (virtualenvwrapper_tempfile): Add -t option to mktemp so the new |
| 160 | + files are always created in the user's temporary directory. |
| 161 | + (virtualenvwrapper_run_hook): Add the hook name to the temporary |
| 162 | + file name. |
| 163 | + |
| 164 | + * tests/test_tempfile.sh: Remove obsolete test. Fix assertions |
| 165 | + for remaining test. |
| 166 | + |
| 167 | + * tests/test_mkvirtualenv.sh (test_hooks): Use pwd to convert |
| 168 | + WORKON_HOME to the expected value. |
| 169 | + |
| 170 | + * tests/test.sh (test_python_interpreter_set_incorrectly): Rework |
| 171 | + grep-based assertion to actually pass. |
| 172 | + |
| 173 | + * Makefile (test-bash test-ksh test-sh): Remove wildcard build |
| 174 | + rule so test-quick target works. |
| 175 | + |
| 176 | +2010-05-02 Doug Hellmann < [email protected]> |
| 177 | + |
| 178 | + * virtualenvwrapper.sh (virtualenvwrapper_run_hook): Instead of |
| 179 | + -m, use -c so hooks can be run under Python 2.4. |
| 180 | + |
| 181 | +2010-04-29 Doug Hellmann < [email protected]> |
| 182 | + |
| 183 | + * tests/test_workon.sh: Refactor deactivate tests into their own |
| 184 | + script. |
| 185 | + |
| 186 | + * tests/test_deactivate.sh: Refactor deactivate tests into their |
| 187 | + own script. |
| 188 | + |
| 189 | + * virtualenvwrapper.sh (virtualenvwrapper_get_python_version): Add |
| 190 | + a comment about why we're using the $PATH python instead of the |
| 191 | + one where the wrappers are installed. |
| 192 | + (add2virtualenv): Use the install-tree python instead of the one |
| 193 | + from $PATH. |
| 194 | + (deactivate): Ignore errors from redundant unset calls. |
| 195 | + |
| 196 | +2010-04-26 Doug Hellmann < [email protected]> |
| 197 | + |
| 198 | + * virtualenvwrapper.sh (virtualenvwrapper_tempfile): Add a suffix |
| 199 | + to the tempfile name so we know the tempfile module isn't going to |
| 200 | + erase it. |
0 commit comments