{"id":8569,"url":"https://patchwork.libcamera.org/api/covers/8569/?format=json","web_url":"https://patchwork.libcamera.org/cover/8569/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200703001422.24324-1-laurent.pinchart@ideasonboard.com>","date":"2020-07-03T00:14:12","name":"[libcamera-devel,00/10] utils: raspberrypi: ctt: Improve JSON pretty printer","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/8569/mbox/","series":[{"id":1076,"url":"https://patchwork.libcamera.org/api/series/1076/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1076","date":"2020-07-03T00:14:12","name":"utils: raspberrypi: ctt: Improve JSON pretty printer","version":1,"mbox":"https://patchwork.libcamera.org/series/1076/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8569/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 80306BE905\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  3 Jul 2020 00:14:36 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DC42860C5C;\n\tFri,  3 Jul 2020 02:14:35 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 227C7603B3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  3 Jul 2020 02:14:34 +0200 (CEST)","from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 880F49CB;\n\tFri,  3 Jul 2020 02:14:33 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"ezn2tcF5\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1593735273;\n\tbh=BbTc4emSIRSmyQLj3RCtB/zo6igwlAn/wUH/nP9jkUg=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=ezn2tcF5yqYg+5dspy/zYhnTa3EFHHOqXG7Fc4mjYSDO6LMDGkTF3j8ERoxYo1d52\n\t42cok5cNvlgjSl75qgQukuimnDdbJAtS5JRbb5kCIF3qOsxUMfTpZNYlvYeVlHFDWX\n\tkfyVmFbZOcAe6nApJ7q+9ku8w1cdTGcBi0+IRlww=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  3 Jul 2020 03:14:12 +0300","Message-Id":"<20200703001422.24324-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 00/10] utils: raspberrypi: ctt: Improve\n\tJSON pretty printer","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis patch series improves the JSON pretty printer in the Raspberry Pi\nctt tool. In particular it gets rid of blank lines in empty\ndictionaries, addressing Jacopo's comment in reply to \"[PATCH v2]\nlibcamera: ipa: raspberrypi: Enable focus measure without recompile\".\n\nThe patches have been tested on the JSON files in the\nsrc/ipa/raspberrypi/data/ directory.\n\nLaurent Pinchart (10):\n  utils: raspberrypi: ctt: json_pretty_print: Fix printer test\n  utils: raspberrypi: ctt: json_pretty_print: Turn printer into a class\n  utils: raspberrypi: ctt: json_pretty_print: Make output file a class\n    member\n  utils: raspberrypi: ctt: json_pretty_print: Make test output to stdout\n  utils: raspberrypi: ctt: json_pretty_print: Skip all spaces\n  utils: raspberrypi: ctt: json_pretty_print: Add character write method\n  utils: raspberrypi: ctt: json_pretty_print: Fix indentation handling\n  utils: raspberrypi: ctt: json_pretty_print: Collapse newlines\n  utils: raspberrypi: ctt: json_pretty_print: Avoid spaces at end of\n    lines\n  utils: raspberrypi: ctt: json_pretty_print: Add newline at end of\n    output\n\n .../raspberrypi/ctt/ctt_pretty_print_json.py  | 143 +++++++++++-------\n 1 file changed, 87 insertions(+), 56 deletions(-)"}