Commit Graph

15353 Commits

Author SHA1 Message Date
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
Erik Johnson
7693cd3f6e Fix typo in top.sls docs
The extra ':' here negates the code-block section. Removed it.
2013-07-13 22:30:18 -05:00
Erik Johnson
ccc8ea24d7 Better documentation for npm, pecl, and pip states
This commit adds additional info to the top docstring for these states,
including SLS examples for how to properly set up requisites to ensure
that npm/pecl/pip is installed before these states are run.
2013-07-13 17:49:45 -05:00
Pedro Algarvio
8bda6cc858 Resetting .travis.pylintrc to what is was. Shouldn't have been included in the commit. 2013-07-13 23:43:01 +01:00
Pedro Algarvio
c65b1348fe Fix Travis-CI for unit.modules.virtualenv_test.VirtualenvTestCase.test_no_site_packages_deprecation
Also mock the `virtualenv` module.
2013-07-13 23:23:30 +01:00
Pedro Algarvio
b6471e4099 Mock the virtualenv module in unit.modules.virtualenv_test.VirtualenvTestCase.test_issue_6031_multiple_extra_search_dirs. Is Travis-CI still going to complain? 2013-07-13 23:14:12 +01:00
Erik Johnson
a9e061540c Add __virtual__ functions for pecl and pip states
Similar to what was recently done for npm, disable pecl and pip states
when the needed binary is not available. This prevents tracebacks when
one tries running these states without the required shell command
installed.
2013-07-13 17:10:09 -05:00
Pedro Algarvio
91e80bc994 Only send coverage info on Travis-CI success. 2013-07-13 22:49:38 +01:00
Pedro Algarvio
4e2d17388a We're no longer passing ret. Remove it from args. (Missed on f7459a15) 2013-07-13 22:32:10 +01:00
Thomas S Hatch
f74fcfd5ea Add state_order to master opts 2013-07-13 14:53:10 -06:00
Thomas S Hatch
2cbe8f27e8 Add state_auto_order to mopts 2013-07-13 14:36:59 -06:00
Thomas S Hatch
757767036d simplify the iorder assignment and make includes first 2013-07-13 14:30:27 -06:00
Pedro Algarvio
675d4273cf Re-add the pip keyword parameter lost in a messy rebase. 2013-07-13 19:55:51 +01:00