Commit Graph

90111 Commits

Author SHA1 Message Date
Nicole Thomas
ebd4db66b8
Merge pull request #45493 from damon-atkins/2016.11_fix_sls_defintion_wrong_type
win_pkg: pkg.refresh_db report an issue if a sls pkg definition does not contain a dict instead of aborting
2018-01-17 09:52:03 -05:00
Dmitry Kuzmenko
f33ebcada0
Doc note about user names regex matching in pub acl and eauth. 2018-01-17 17:49:19 +03:00
Denys Havrysh
0d79b9eaff
[DOC] Suggest to upgrade pygit2 and deps 2018-01-17 15:24:15 +02:00
Bo Maryniuk
29b67b3b18 Refactor unit tests so they call class-based decorator 2018-01-17 14:13:25 +01:00
Damon Atkins
af108440df win_pkg lint space after , 2018-01-17 23:30:25 +11:00
Damon Atkins
c6e922a236 win_pkg lint issues 2018-01-17 22:46:58 +11:00
Damon Atkins
f4627d7a80 fix quote i.e. change \` to \' 2018-01-17 22:28:40 +11:00
Damon Atkins
6938a4c099 pkg.refresh_db report an issue if a sls pkg definition id not a dict instead of aborting. 2018-01-17 22:15:10 +11:00
Nicole Thomas
ee5090f69b
Merge pull request #45468 from twangboy/win_reg
Fix some issues with reg.py
2018-01-16 17:23:46 -05:00
rallytime
9f547a31f0
Merge branch '2016.11' into '2017.7' 2018-01-16 17:19:08 -05:00
Nicole Thomas
b756760415
Merge pull request #45482 from rallytime/merge-2016.11
[2016.11] Merge forward from 2016.11.9 to 2016.11
2018-01-16 17:17:45 -05:00
rallytime
3b38c77159
Merge branch '2016.11.9' into '2016.11'
No conflicts.
2018-01-16 17:16:26 -05:00
twangboy
fd67b086b4
Fix if statement in __init__() 2018-01-16 15:09:37 -07:00
Nicole Thomas
96ae237d37
Merge pull request #45448 from rallytime/merge-2016.11.9
[2016.11] Merge forward from 2016.11.9 to 2016.11
2018-01-16 15:09:00 -05:00
Nicole Thomas
7322efba92
Merge pull request #45446 from rallytime/bp-45390
Back-port #45390 to 2016.11.9
2018-01-16 15:08:38 -05:00
Dmitry Kuzmenko
e29c0ff19e
Docs update for function args limit in pub acl. 2018-01-16 23:02:28 +03:00
twangboy
a0d21c6354
Fix some issues with reg.py 2018-01-16 12:25:52 -07:00
Nicole Thomas
5f58a87e84
Merge pull request #45365 from meaksh/2017.7-issue-45345
Return an error when "gid_from_name" is set but group does not exist
2018-01-16 13:31:49 -05:00
Bo Maryniuk
dbe7c01ed6 Update integration test: docs, add more checks, rename 2018-01-16 18:13:00 +01:00
Erik Johnson
2f63a6dbf4
Optimization: don't allocate a new list to concatenate 2018-01-16 11:12:57 -06:00
Erik Johnson
5074741130
EAFP
If the __pycache__ dir is not present, we will get an OSError, which we
are already catching and ignoring. No need to check for that dir.
2018-01-16 11:12:57 -06:00
Erik Johnson
85dbdc6a39
PY3: Make loader ignore .pyc files not in __pycache__
This keeps the loader from loading a PY2 .pyc file if it is present.
2018-01-16 11:12:50 -06:00
Bo Maryniuk
9356c3ea62 Use output unifier decorator 2018-01-16 18:04:28 +01:00
Bo Maryniuk
88c51fd6f1 Move all separate decorators into a compound decorator 2018-01-16 18:04:15 +01:00
Bo Maryniuk
0bb542f641 Do not use chain decorators 2018-01-16 18:03:56 +01:00
Bo Maryniuk
0baddd675a Bailout if a state function returns anything but dictionary type 2018-01-16 18:02:33 +01:00
Bo Maryniuk
9df156ed7c Fix lint for PEP8 spacing 2018-01-16 18:01:54 +01:00
rallytime
9e7aeb5e02
Change "to_str" to "to_bytes": needed when opening a file in bytes mode
References: https://github.com/saltstack/salt/pull/45357
2018-01-16 10:41:46 -05:00
Pablo Suárez Hernández
da23067f80
Refactor to prevent logical bug when gid is 0 2018-01-16 15:21:22 +00:00
Nicole Thomas
de080983e3
Merge pull request #44822 from frogunder/pkg_latestversion
add pkg_latest_version test
2018-01-16 09:16:53 -05:00
rallytime
590a6db626
Lint: use support TMP path instead of integration TMP path 2018-01-16 09:13:27 -05:00
Pablo Suárez Hernández
9fdaa0d5e9
Update documentation for 'gid_from_name' parameter 2018-01-16 13:36:43 +00:00
Bo Maryniuk
d0c54f43cc Git rebase spaghetti fix 2018-01-15 15:36:06 +01:00
Bo Maryniuk
27667eea40 Fix a broken line 2018-01-15 15:34:46 +01:00
Bo Maryniuk
f0d5dc50f8 Remove unused call, replaced by a decorator 2018-01-15 15:34:46 +01:00
Bo Maryniuk
40a18d1119 Use unicode literals 2018-01-15 15:34:46 +01:00
Bo Maryniuk
f122cc6407 Remove unused variables and reorder comments 2018-01-15 15:34:46 +01:00
Bo Maryniuk
58f1303d48 Remove empty lines 2018-01-15 15:34:46 +01:00
Bo Maryniuk
5a15c7c5c6 Remove unused variable 2018-01-15 15:34:46 +01:00
Bo Maryniuk
5ca5046822 Refactor and rename tests while function has been renamed 2018-01-15 15:34:46 +01:00
Bo Maryniuk
32e76fe529 Rename function 2018-01-15 15:34:13 +01:00
Bo Maryniuk
844c29f952 Remove dev-bug info code 2018-01-15 15:34:13 +01:00
Bo Maryniuk
2e84d6434d Lintfix: W1699 2018-01-15 15:34:13 +01:00
Bo Maryniuk
e9b948e942 Lintfix: W0611 2018-01-15 15:34:13 +01:00
Bo Maryniuk
6802593a5a Lintfix: E8302 2018-01-15 15:34:13 +01:00
Bo Maryniuk
1133e0c35d Lintfix: W0611 2018-01-15 15:34:13 +01:00
Bo Maryniuk
b3c3b8c679 Lintfix: E0102 2018-01-15 15:34:13 +01:00
Bo Maryniuk
a228ed5ddf Add unit test to unify result converted to false 2018-01-15 15:34:13 +01:00
Bo Maryniuk
48b9a70901 Fix unit test docstring 2018-01-15 15:33:49 +01:00
Bo Maryniuk
8de1301e2d Add unit test for result is converted to a True boolean type 2018-01-15 15:33:49 +01:00