Commit Graph

15567 Commits

Author SHA1 Message Date
Pedro Algarvio
315c1f911d Added a mocked test case for multiple --requirements passing to pip uninstall. 2013-07-14 18:59:22 +01:00
Pedro Algarvio
fd94e7cba4 Fix multiple requirements for both install and uninstall.
* Fixed typo when copying requirements file to the temporary file for `pip.install`.
* Handling of the requirements file(s) was totally different on `pip.uninstall` when it the intended result is supposed to be the same(regarding the requirements file of course, not install/uninstall). Fixed it, and to fix it `no_chown` was also added in `pip.uninstall`, if it's needed to install, it should also be needed to uninstall.
2013-07-14 18:59:22 +01:00
Pedro Algarvio
5435dc69e1 Added a mocked test case for multiple --requirements passing to pip install. 2013-07-14 18:59:22 +01:00
Pedro Algarvio
fdd7d2debf pip accepts multiple requirements files, so does salt.modules.pip now! 2013-07-14 18:59:22 +01:00
Pedro Algarvio
411c926146 Prefix tests with install since they're testing the install command. 2013-07-14 18:59:22 +01:00
Pedro Algarvio
02034c4d86 Added a mocked test case for --no-install passing to pip install. 2013-07-14 18:59:18 +01:00
Pedro Algarvio
716f760e80 Added a mocked test case for --no-deps passing to pip install. 2013-07-14 18:59:13 +01:00
Pedro Algarvio
89fa6cecf4 Added a mocked test case for --ignore-installed passing to pip install. 2013-07-14 18:59:08 +01:00
Pedro Algarvio
892646bdee Added a mocked test case for --force-reinstall passing to pip install. 2013-07-14 18:59:01 +01:00
Pedro Algarvio
03c88dac2c Added a mocked test case for --upgrade passing to pip install. 2013-07-14 18:58:56 +01:00
Pedro Algarvio
27959701dc Added support and a mocked test case for --global-options passing to pip install. 2013-07-14 18:58:49 +01:00
Pedro Algarvio
fd200c96b0 Added a mocked test case for --install-options passing to pip install.
* Replaced all occurrences of `basestring` with the `string_types` from salt's `_compat` module.
* Properly split install options on commas.
* Install options need to be quoted.
2013-07-14 18:58:44 +01:00
Pedro Algarvio
12d05e4b9a Added a mocked test case for --exists-action passing to pip install.
* `exists_action` now only accepts it's valid settings, one of `s`, `i`, `w`, `b`, else, `CommandExecutionError`.
2013-07-14 18:58:37 +01:00
Pedro Algarvio
fb16313804 Added a mocked test case for --source passing to pip install. 2013-07-14 18:58:33 +01:00
Pedro Algarvio
85b0d7964d Added a mocked test case for --no-download passing to pip install. 2013-07-14 18:58:28 +01:00
Pedro Algarvio
60ef910bad Added a mocked test case for --download-cache passing to pip install. 2013-07-14 18:58:24 +01:00
Pedro Algarvio
bfcd91d700 Added a mocked test case for --download passing to pip install. 2013-07-14 18:58:12 +01:00
Pedro Algarvio
6fbbd5fb31 Added a mocked test case for --target passing to pip install. 2013-07-14 18:58:06 +01:00
Pedro Algarvio
aa8dda75c7 Added a mocked test case for --build passing to pip install. 2013-07-14 18:57:58 +01:00
Pedro Algarvio
6e0e8fddf9 Added a mocked test case for --no-index passing to pip install. 2013-07-14 18:57:52 +01:00
Pedro Algarvio
467d7de4e5 Added a mocked test case for --extra-index-url passing to pip install. 2013-07-14 18:57:47 +01:00
Pedro Algarvio
ebdf596a56 No extra whitespace is needed. 2013-07-14 18:57:47 +01:00
Pedro Algarvio
900682ac51 Added a mocked test case for --index-url passing to pip install. 2013-07-14 18:57:43 +01:00
Pedro Algarvio
d3c1c43781 Add tests for proper protocols to find_links. 2013-07-14 18:57:42 +01:00
Pedro Algarvio
72600f67e6 Test string argument on pkgs, editable, find_links and mirrors. 2013-07-14 18:57:42 +01:00
Pedro Algarvio
3372034c07 Added a mocked test case for --timeout passing to pip install. 2013-07-14 18:57:37 +01:00
Pedro Algarvio
c582d721d9 Added a mocked test case for --log passing to pip install. 2013-07-14 18:57:29 +01:00
Pedro Algarvio
21698d187d Update mocked test case to have the package name as last argument to the pip install call. 2013-07-14 18:57:20 +01:00
Pedro Algarvio
ecad0d11c4 Let's have the packages to install as the last arguments to the pip install call. 2013-07-14 18:57:05 +01:00
Pedro Algarvio
0536454f1f Less logic, same outcome while splitting strings. 2013-07-14 18:18:44 +01:00
Pedro Algarvio
f82ffd50ce Renamed venv_distribute to venv_setuptools since distribute will stop existing in favour of setuptools. 2013-07-14 18:16:23 +01:00
Thomas S Hatch
438235b420 Merge pull request #6071 from s0undt3ch/issues/6029-deprecated-distribute
Multiple fixes and test cases for the virtualenv module
2013-07-14 09:58:36 -07:00
Thomas S Hatch
510fdaf313 Merge pull request #6156 from terminalmage/docs
Make cmd state docs a little prettier
2013-07-14 09:58:05 -07:00
Erik Johnson
eb3de6828c Make cmd state docs a little prettier
The current rst in the initial docstring for this state results in
oddly-formatted sphinx docs. This commit improves the formatting.
2013-07-14 11:26:37 -05:00
Pedro Algarvio
8a11c35db2 Merge pull request #6154 from UtahDave/develop
Use package name instead of full package name
2013-07-14 05:45:04 -07:00
Pedro Algarvio
1006023c70 Merge pull request #6155 from UtahDave/fix_win_doc
Fixup some Windows servermanager docstrings
2013-07-14 05:42:54 -07:00
Pedro Algarvio
5e58d4c4f3 Added mock test case for clear, upgrade and symlinks for the virtualenv_mod. 2013-07-14 13:23:18 +01:00
Pedro Algarvio
45c258e00b Added test case for the prompt argument to virtualenv_mod. 2013-07-14 13:04:11 +01:00
Pedro Algarvio
90df84fb27 Make sure we quote the prompt option to the virtualenv_mod. 2013-07-14 12:59:04 +01:00
Pedro Algarvio
d8536c9f87 Add a mocked test case for salt.modules.virtualenv_mod python argument.
* Updated the `virtualenv_mod` mock test case to patch `salt.utils.which` and `sys.modules` at class level as opposed to every function.
2013-07-14 12:53:23 +01:00
Pedro Algarvio
594f2d5dc1 Less logic, same outcome. 2013-07-14 12:29:27 +01:00
David Boucha
6682fcd789 Fixup some Windows servermanager docstrings 2013-07-14 03:57:24 -06:00
David Boucha
ce5628d992 Use package name instead of full package
Fixes #6078
Using the package name instead of the full package name allows
for proper comparison.

This fixes pkg.version and pkg.latest on Windows
2013-07-14 03:03:23 -06:00
Thomas S Hatch
57f0e29b95 Merge pull request #6152 from UtahDave/develop
Add notice about Windows Installer script. Remove older versions of Windows installer.
2013-07-13 22:47:35 -07:00
David Boucha
45f6ec751b Remove links to very old versions of Salt Windows 2013-07-13 23:38:00 -06:00
David Boucha
6af7cca0bd Add notice that this script is not up to date. 2013-07-13 23:36:51 -06:00
David Boucha
272f33bc82 Merge pull request #6147 from terminalmage/quickfix
Add __virtual__ functions for pecl and pip states
2013-07-13 22:31:20 -07:00
Erik Johnson
b90f7c00d5 Merge pull request #6150 from terminalmage/docs
Clarify returner docs
2013-07-13 21:07:02 -07:00
Erik Johnson
cc8812fa3e Clarify returner docs 2013-07-13 23:06:35 -05:00
Erik Johnson
9be2313717 Merge pull request #6149 from terminalmage/docs
Fix typo in top.sls docs
2013-07-13 20:31:53 -07:00