1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/v2
Toshio Kuratomi 43c1a97447 Various unicode and backslash escape cleanups
* Do backslash escape parsing in parse_kv() [was being done in the copy
  module purely for newlines in the copy module's content param before]
* Make parse_kv always return unicode
* Add bandaid to transform args to unicode until we can fix things
  calling parse_kv to always send it unicode.
* Make split_args deal with unicode internally.  Warning, no bandaid for
  things calling split_args without giving it unicode (shouldn't matter
  as dealt with str internally before)
* Fix copy and unarchive action plugins to not use setdefaultencoding
* Remove escaping from copy (it was broken and made content into latin-1
  sometimes). escaping is now in parse_kv.
* Expect that content is now a unicode string so transform to bytes just
  before writing to the file.
* Add initial unittests for split_args and parse_kv.  4 failing
  tests.because split_args is injecting extra newlines.
2015-03-30 19:19:34 -07:00
..
ansible Various unicode and backslash escape cleanups 2015-03-30 19:19:34 -07:00
bin added vault password to dataloder creation 2015-03-21 01:33:10 -04:00
hacking Port sivel's fix for egg_info (#10563) to v2 2015-03-30 19:15:41 -07:00
samples Modifying sample for test_become to show more test cases 2015-03-23 15:22:34 -05:00
scripts Add the python3 compat header 2014-10-28 20:41:51 -04:00
test Various unicode and backslash escape cleanups 2015-03-30 19:19:34 -07:00
README-tests.md Add a README for the v2 unittests 2014-10-15 18:25:54 -04:00