All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/10] patman: Fix unicode operation and add a functional test
@ 2017-05-29 21:31 Simon Glass
  2017-05-29 21:31 ` [U-Boot] [PATCH v2 01/10] patman: encode CC list to UTF-8 Simon Glass
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: Simon Glass @ 2017-05-29 21:31 UTC (permalink / raw)
  To: u-boot

With more recent versions of Python 2.7 (and perhaps patman itself)
something has changed such that patman sometimes reports unicode decode
errors, particularly when getting a list of maintainers for code covered
by a patch.

This series attempts to correct this. It also adds a functional test so
that operation can quickly be verified. This new test tests much more of
the code than the existing unit tests.

Changes in v2:
- Expand the patch to cover all cases
- Drop RFC tag
- Rewrite commit message
- Add new clean-up patches and a functional test

Philipp Tomsich (1):
  patman: encode CC list to UTF-8

Simon Glass (9):
  patman: Adjust handling of unicode email address
  patman: Don't convert input data to unicode
  patman: Rename 'str' variable in EmailPatches()
  patman: Don't report unicode character
  patman: Don't return the series in FixPatches()
  patman: Add unicode to test patches
  patman: Add a maintainer test feature to MakeCcFile()
  patman: Rename 'list' variable in MakeCcFile()
  patman: Add a functional test

 tools/patman/cros_subprocess.py                    |   4 -
 tools/patman/func_test.py                          | 242 +++++++++++++++++++++
 tools/patman/gitutil.py                            |   8 +-
 tools/patman/patchstream.py                        |  23 +-
 tools/patman/patman.py                             |  10 +-
 tools/patman/series.py                             |  28 ++-
 tools/patman/test.py                               |   9 +
 tools/patman/test/0000-cover-letter.patch          |  23 ++
 .../test/0001-pci-Correct-cast-for-sandbox.patch   |  48 ++++
 ...-cast-for-sandbox-in-fdtdec_setup_memory_.patch |  73 +++++++
 tools/patman/test/test01.txt                       |  56 +++++
 11 files changed, 493 insertions(+), 31 deletions(-)
 create mode 100644 tools/patman/func_test.py
 create mode 100644 tools/patman/test/0000-cover-letter.patch
 create mode 100644 tools/patman/test/0001-pci-Correct-cast-for-sandbox.patch
 create mode 100644 tools/patman/test/0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch
 create mode 100644 tools/patman/test/test01.txt

-- 
2.13.0.219.gdb65acc882-goog

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-06-07  1:47 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-29 21:31 [U-Boot] [PATCH v2 00/10] patman: Fix unicode operation and add a functional test Simon Glass
2017-05-29 21:31 ` [U-Boot] [PATCH v2 01/10] patman: encode CC list to UTF-8 Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 02/10] patman: Adjust handling of unicode email address Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 03/10] patman: Don't convert input data to unicode Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 04/10] patman: Rename 'str' variable in EmailPatches() Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 05/10] patman: Don't report unicode character Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 06/10] patman: Don't return the series in FixPatches() Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 07/10] patman: Add unicode to test patches Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 08/10] patman: Add a maintainer test feature to MakeCcFile() Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 09/10] patman: Rename 'list' variable in MakeCcFile() Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-05-29 21:31 ` [U-Boot] [PATCH v2 10/10] patman: Add a functional test Simon Glass
2017-06-07  1:47   ` sjg at google.com
2017-06-05 21:41 ` [U-Boot] [PATCH v2 00/10] patman: Fix unicode operation and add " Simon Glass
2017-06-05 22:50   ` Dr. Philipp Tomsich
2017-06-06 21:40     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.