salt/doc/topics/releases
Erik Johnson 3184168365 Use explicit unicode strings + break up salt.utils
This PR is part of what will be an ongoing effort to use explicit
unicode strings in Salt. Because Python 3 does not suport Python 2's raw
unicode string syntax (i.e. `ur'\d+'`), we must use
`salt.utils.locales.sdecode()` to ensure that the raw string is unicode.
However, because of how `salt/utils/__init__.py` has evolved into the
hulking monstrosity it is today, this means importing a large module in
places where it is not needed, which could negatively impact
performance. For this reason, this PR also breaks out some of the
functions from `salt/utils/__init__.py` into new/existing modules under
`salt/utils/`. The long term goal will be that the modules within this
directory do not depend on importing `salt.utils`.

A summary of the changes in this PR is as follows:

* Moves the following functions from `salt.utils` to new locations
  (including a deprecation warning if invoked from `salt.utils`):
  `to_bytes`, `to_str`, `to_unicode`, `str_to_num`, `is_quoted`,
  `dequote`, `is_hex`, `is_bin_str`, `rand_string`,
  `contains_whitespace`, `clean_kwargs`, `invalid_kwargs`, `which`,
  `which_bin`, `path_join`, `shlex_split`, `rand_str`, `is_windows`,
  `is_proxy`, `is_linux`, `is_darwin`, `is_sunos`, `is_smartos`,
  `is_smartos_globalzone`, `is_smartos_zone`, `is_freebsd`, `is_netbsd`,
  `is_openbsd`, `is_aix`
* Moves the functions already deprecated by @rallytime to the bottom of
  `salt/utils/__init__.py` for better organization, so we can keep the
  deprecated ones separate from the ones yet to be deprecated as we
  continue to break up `salt.utils`
* Updates `salt/*.py` and all files under `salt/client/` to use explicit
  unicode string literals.
* Gets rid of implicit imports of `salt.utils` (e.g. `from salt.utils
  import foo` becomes `import salt.utils.foo as foo`).
* Renames the `test.rand_str` function to `test.random_hash` to more
  accurately reflect what it does
* Modifies `salt.utils.stringutils.random()` (née `salt.utils.rand_string()`)
  such that it returns a string matching the passed size. Previously
  this function would get `size` bytes from `os.urandom()`,
  base64-encode it, and return the result, which would in most cases not
  be equal to the passed size.
2017-08-08 13:33:43 -05:00
..
includes Fix typo overide -> override 2016-02-04 12:55:35 +01:00
saltapi Add 2016.3.6 release notes file (#39045) 2017-01-30 16:43:50 -07:00
0.6.0.rst Comma cleanup 2014-12-12 11:31:43 -08:00
0.7.0.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.8.0.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.8.7.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.8.8.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.8.9.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.9.0.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.9.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.9.2.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.9.3.rst Comma cleanup 2014-12-12 11:31:43 -08:00
0.9.4.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.9.5.rst Remove repeated words in docs (#37871) 2016-11-23 14:53:17 -07:00
0.9.6.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.9.7.rst Remove repeated words in docs (#37871) 2016-11-23 14:53:17 -07:00
0.9.8.rst Merge branch '2016.3' into '2016.11' 2016-12-19 14:58:39 -07:00
0.9.9.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.10.0.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.10.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.10.2.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.10.3.rst Comma cleanup 2014-12-12 11:31:43 -08:00
0.10.4.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.10.5.rst Comma cleanup 2014-12-12 11:31:43 -08:00
0.11.0.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.11.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.12.0.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.12.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.13.0.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.13.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.13.2.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.13.3.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.14.0.rst Comma cleanup 2014-12-12 11:31:43 -08:00
0.14.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.15.0.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.15.1.rst Whitespace cleanup 2014-12-11 07:53:19 -08:00
0.15.2.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.15.3.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.16.0.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.16.1.rst Remove trailing whitespace 2014-12-11 07:53:19 -08:00
0.16.2.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.16.3.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.16.4.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.17.0.rst Change OSX/OS X to macOS where possible 2016-12-28 14:49:46 -07:00
0.17.1.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.17.2.rst Change OSX/OS X to macOS where possible 2016-12-28 14:49:46 -07:00
0.17.3.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.17.4.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
0.17.5.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.0.rst Merge branch '2016.11' into 'develop' 2017-02-09 10:29:40 -07:00
2014.1.1.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.2.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.3.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.4.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.5.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.6.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.7.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.8.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.9.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.10.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.11.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.12.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.1.13.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.7.0.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.7.1.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.7.2.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.7.3.rst Merge branch '2016.3' into '2016.11' 2016-12-19 14:58:39 -07:00
2014.7.4.rst Merge branch '2016.3' into '2016.11' 2016-12-19 14:58:39 -07:00
2014.7.5.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2014.7.6.rst Fix typos 2017-05-24 12:50:29 +02:00
2014.7.8.rst add 2014.7.8 release notes 2016-03-11 14:31:51 -07:00
2014.7.9.rst add 2014.7.9 release notes 2016-03-11 14:08:55 -07:00
2015.5.0.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2015.5.1.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.5.2.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2015.5.3.rst Various spelling fixes 2016-07-16 13:17:09 -06:00
2015.5.4.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2015.5.5.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.5.6.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.5.7.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.5.8.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.5.9.rst add 2015.5.9 release notes 2016-01-08 16:08:03 -07:00
2015.5.10.rst One additional known issue for 2015.5.10 release notes 2016-03-23 15:19:36 -06:00
2015.5.11.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.8.0.rst Update Nitrogen references to 2017.7.0 in doc/* 2017-06-14 11:36:06 -06:00
2015.8.1.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.8.2.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.8.3.rst Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
2015.8.4.rst Fix typos 2017-05-24 12:50:29 +02:00
2015.8.5.rst 2015.8.5 release notes linking and clean up 2016-02-05 10:39:24 -07:00
2015.8.7.rst Document new behavior of pkg.installed for yum/dnf packages with non-zero epoch 2016-04-11 14:42:23 -05:00
2015.8.8.rst Various doc updates to fix warnings in doc build 2017-02-06 16:56:58 -07:00
2015.8.9.rst Various doc updates to fix warnings in doc build 2017-02-06 16:56:58 -07:00
2015.8.10.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2015.8.11.rst Various doc updates to fix warnings in doc build 2017-02-06 16:56:58 -07:00
2015.8.12.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2015.8.13.rst Update 2015.8.13 release notes (#39037) 2017-01-30 15:39:33 -07:00
2015.8.14.rst Add 2015.8.14 release notes file (#39046) 2017-01-30 16:44:00 -07:00
2016.3.0.rst Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
2016.3.1.rst Various doc updates to fix warnings in doc build 2017-02-06 16:56:58 -07:00
2016.3.2.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2016.3.3.rst Remove ":doc:" references from all doc/topics/releases/* files 2016-12-15 16:45:51 -07:00
2016.3.4.rst Various doc updates to fix warnings in doc build 2017-02-06 16:56:58 -07:00
2016.3.5.rst Fix typos 2017-05-24 12:50:29 +02:00
2016.3.6.rst Fix typos 2017-05-24 12:50:29 +02:00
2016.3.7.rst Add documentation to the example master and minion configuration files. 2017-06-08 13:18:53 -06:00
2016.11.0.rst Update Nitrogen references to 2017.7.0 in doc/* 2017-06-14 11:36:06 -06:00
2016.11.1.rst Fix typos 2017-05-24 12:50:29 +02:00
2016.11.2.rst Fix typos 2017-05-24 12:50:29 +02:00
2016.11.3.rst Fix typos 2017-05-24 12:50:29 +02:00
2016.11.4.rst Fix typos 2017-05-24 12:50:29 +02:00
2016.11.5.rst fix url refs in rst 2017-05-18 12:42:35 -04:00
2016.11.6.rst Add additional commits to 2016.11.6 release notes 2017-06-21 17:15:11 -04:00
2016.11.7.rst Add initial 2016.11.7 Release Notes 2017-06-30 11:32:10 -04:00
2017.7.0.rst add version added info 2017-08-03 09:01:34 -06:00
2017.7.1.rst small markup fix for title 2017-07-26 09:00:45 -06:00
index.rst Update Nitrogen references to 2017.7.0 in doc/* 2017-06-14 11:36:06 -06:00
oxygen.rst Merge pull request #42426 from michaelgibson/features/issue-42280 2017-07-31 15:01:43 -05:00
releasecandidate.rst Update builds available for rc1 2017-07-05 17:06:06 -04:00
version_numbers.rst Update Nitrogen references to 2017.7.0 in doc/* 2017-06-14 11:36:06 -06:00