Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816071/?format=api
{ "id": 816071, "url": "http://patchwork.ozlabs.org/api/patches/816071/?format=api", "web_url": "http://patchwork.ozlabs.org/project/swupdate/patch/20170920070035.10778-1-christian.storm@siemens.com/", "project": { "id": 58, "url": "http://patchwork.ozlabs.org/api/projects/58/?format=api", "name": "swupdate development", "link_name": "swupdate", "list_id": "swupdate.googlegroups.com", "list_email": "swupdate@googlegroups.com", "web_url": "https://github.com/sbabic/swupdate", "scm_url": "git://github.com/sbabic/swupdate", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170920070035.10778-1-christian.storm@siemens.com>", "list_archive_url": null, "date": "2017-09-20T07:00:35", "name": "parser: don't use printf() for logging", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c9f7201557a12c99ab8f078f77cdf5b4895ef26c", "submitter": { "id": 72180, "url": "http://patchwork.ozlabs.org/api/people/72180/?format=api", "name": "Storm, Christian", "email": "christian.storm@siemens.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/swupdate/patch/20170920070035.10778-1-christian.storm@siemens.com/mbox/", "series": [ { "id": 4041, "url": "http://patchwork.ozlabs.org/api/series/4041/?format=api", "web_url": "http://patchwork.ozlabs.org/project/swupdate/list/?series=4041", "date": "2017-09-20T07:00:35", "name": "parser: don't use printf() for logging", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4041/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816071/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816071/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<swupdate+bncBDD6BWV65QPBBNVFRDHAKGQEDHCTDJA@googlegroups.com>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c09::23f;\n\thelo=mail-wm0-x23f.google.com;\n\tenvelope-from=swupdate+bncbdd6bwv65qpbbnvfrdhakgqedhctdja@googlegroups.com;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"bQRDBIgy\"; dkim-atps=neutral" ], "Received": [ "from mail-wm0-x23f.google.com (mail-wm0-x23f.google.com\n\t[IPv6:2a00:1450:400c:c09::23f])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxrLL0Mfqz9s7p\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 17:03:21 +1000 (AEST)", "by mail-wm0-x23f.google.com with SMTP id n64sf90789wma.12\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 00:03:20 -0700 (PDT)", "by 10.28.216.71 with SMTP id p68ls258709wmg.2.gmail; Wed, 20 Sep\n\t2017 00:03:17 -0700 (PDT)", "from goliath.siemens.de (goliath.siemens.de. [192.35.17.28])\n\tby gmr-mx.google.com with ESMTPS id\n\t191si61716wmn.2.2017.09.20.00.03.17 for <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 20 Sep 2017 00:03:17 -0700 (PDT)", "from mail1.siemens.de (mail1.siemens.de [139.23.33.14])\n\tby goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v8K73Hxl016299\n\t(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)\n\tfor <swupdate@googlegroups.com>; Wed, 20 Sep 2017 09:03:17 +0200", "from MD1KR9XC.ad001.siemens.net ([139.25.69.251])\n\tby mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v8K73HES032552;\n\tWed, 20 Sep 2017 09:03:17 +0200" ], "ARC-Seal": [ "i=2; a=rsa-sha256; t=1505890998; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=kbtke8yxZAdcYAx1NBeKufb8pM6J1Sh/yiLpF7AcxCabpEGSWc4ZifD1JBK5JNFOug\n\tQSs6oMW8l3YC+pec8s0x4iEdlYkQEtetPtpf3myjNSwyEV8BuRHRBdo1SzvMg7iy29DN\n\tt54uinUBxdoQmBeAXstoTG2530KU37jxiGRh+anC4NwFa99fNWC8M2qeMUP+3IzbffiY\n\t1Wd0KWN7DDd3DfcLRekPhtwzvCn8YN/EUZ0fcR/MtpNUhes1InB69Q+y4Tlswen+XqDu\n\txlvVSft0VR9d52BeuP66/C483JywGan/S9xXNShpoV4P/Z10rV0ycokZSnicUxxfNqa8\n\tHwiw==", "i=1; a=rsa-sha256; t=1505890997; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=RSk47qQYYdHO6+CbzpnHm3Dxn/Bcu3EvRk41slleHumRoUo4kEuc558Q/8z3KdM9cq\n\tDDT1i5cfMfTRV/PxEPyGOhMZ0v1KfTIhO/q+wxEDXBhXpg5XnLE3yT4lppVLcIX+a+sf\n\tfJ+l5jM06ebLsQRExsL5qY/mWE3D1h/MQpALo0r5mZkbS26h/NoRJruuxnEEtn1OLp15\n\t4gO8JIae51bzPjKqZRsoG+bI6YNGmI2GHjdK4b7Rbs4ZvSREVMiBvy0wUs4TObkcZLNJ\n\t9a03Qng9A4NqisxLefgIW8hpYj/HTv1tWc6hcyguZ9jV4s7RnBAZOXWjbP0AzMkEfRiw\n\t1/Qg==" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:message-id:date:subject:cc:to:from\n\t:arc-authentication-results:arc-message-signature:mime-version\n\t:sender:dkim-signature:arc-authentication-results;\n\tbh=hRiC0GRX3gMUtbVpEPyfb5A8nZnzb8G93bx1LezuzR8=;\n\tb=mIp2qmeBUoynn451eb8sRBEZaJob3/WMBL7Z/TVeaPftj0nZFsdn6lL6RCZxUUSeZ/\n\txK8negxQ1pwVMR6W5mVlvkF85HplmdSvRv9gOBtuKgCRbudpOo6JEOlgsDFiDPCwdcVf\n\tetQhh0iHSooAo43BcLIbpCegYddMtjzw03HYb73wBAjkfXiaY0Dtk2xqjMY9FH4bW3rm\n\t0Xmxd8NgUw588G3nT/drpbXtJ8ZYmwtyc1lNCd0ieQIUhTV71ShY6VlNukaFDE4OCsC9\n\tmtdbrnWZrTiBBzaWiIDdDG87b7vgIf1+YD5VSDrGSkt9K+DtQac4HRcE9aSTtC7+fA4Y\n\tDTRw==", "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=message-id:date:subject:cc:to:from:arc-authentication-results;\n\tbh=csoNzxfv91eHZnklEZslWbHA7aDr9VlFu6dJyXcSJHU=;\n\tb=gR3rcvEGg3F5uFziOVyl97V5WJb4Vr8jnHYFDBBM6FttX0tHikw1jjIH1KC7mVjapd\n\t9i3dcTUay38pRvc2BLwg9DcJHUEt2Jx13LC9arEMWLWNY+14FTkz/hsxJNFOH+C/NpMj\n\tKUKiJUvxyK1/H+uYaaEe+B9hEjKxEj3Lp3pkZfjnj+bBmaxWs0E8siEukN0b2ciGpfxa\n\tvLrUz6F3kELf2OFOM0ekYTy3K3Ud5Lq8O1qF4P+tb5K63R4rjUFmbG/2dF9pidtf5KJP\n\tk1ixpDAHoppYGpcjEEUCVX4D6tnctqA2zlcbo9QCi+tMix+njaBHiwR+JT+DyLY5AUwL\n\tQjrw==" ], "ARC-Authentication-Results": [ "i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 192.35.17.28 is neither permitted nor denied\n\tby best guess record for domain of\n\tchristian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com", "i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 192.35.17.28 is neither permitted nor denied\n\tby best guess record for domain of\n\tchristian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:from:to:cc:subject:date:message-id\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=hRiC0GRX3gMUtbVpEPyfb5A8nZnzb8G93bx1LezuzR8=;\n\tb=bQRDBIgykVfP0160c1NLN9SKCOAVp5c1Qz6AkHdrdb3aVSH21cfkOFy6MOGZQOmnBy\n\tZobSPK+z318ELO5eQeP7XI7PWVZlaGKfNbj1sQpd4Tg9I6tQorQA7PQCQukm2Yur2Wno\n\tPLtYc04IIFHjiWJPsM7RwqHnooM24PiemkZyDTzsWmsr+HN6jFhsi+OtHCuImbQHPOk0\n\tOR6Gnq2VnZaFRwGC/AugTz5lgbOEVjU99Z0YpWMHl5jYz9ZNJJryWVSqRsQ0oAVDpUq8\n\tdPDoIwykXoNnfTfXBqrDAwoNzGLhkGWYD6XS99qgr65Fw+hnQ5zvBKb9hnJFg/ser6oW\n\tIZSw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:from:to:cc:subject:date\n\t:message-id:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:x-spam-checked-in-group:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=hRiC0GRX3gMUtbVpEPyfb5A8nZnzb8G93bx1LezuzR8=;\n\tb=b9ZGllSK7NvNr2gnXnpiG2nSk50LUP/Dr748+KfxVc72uSTiJ8Tq1h0XVBlrT2bPLt\n\tvdczp8pXkt/RBi2jKr6UOapalvdPQ1Z2bsIx6XRcENV/rzWCt5r2DASb4cVkT6hJSNSm\n\tc/iEdscR+Z6C9145RQgIwwmihRppqhJbG7zM63H4A+mCSuGxLPAM8oscXyqfpT/WXBPu\n\tHJkh4NFc/xNJTaB3dJuP3ndpC3N1CCSd24lkO0ns6PivkXdUIfQv8bTWPnU2t610bbrT\n\tlvNmiJCcEX+uRMHK3v0OkzW3Qr+qivIkkFFFaDhsGPVlujFGlpih/FlFZDqEJpsZCcB1\n\tWFeg==", "Sender": "swupdate@googlegroups.com", "X-Gm-Message-State": "AHPjjUgsmpAC3kn1k64oi/tTCnYbdLfnhkdykgb6WI4Ge00dJSEdmqxv\n\tig6mwHyH3YWYfzJfKhJ+0fQ=", "X-Google-Smtp-Source": "AOwi7QCE0WGmix8HtlIhUd+OB24Z6TcSyD1RRUhw8rZUPRusEbRnqaLv5zVjMz6RLn9ovyeLRJKguw==", "X-Received": [ "by 10.28.87.133 with SMTP id l127mr6178wmb.27.1505890998215;\n\tWed, 20 Sep 2017 00:03:18 -0700 (PDT)", "by 10.223.151.69 with SMTP id r63mr264783wrb.3.1505890997801;\n\tWed, 20 Sep 2017 00:03:17 -0700 (PDT)" ], "MIME-Version": "1.0", "X-BeenThere": "swupdate@googlegroups.com", "Received-SPF": "neutral (google.com: 192.35.17.28 is neither permitted nor\n\tdenied by best guess record for domain of\n\tchristian.storm@siemens.com) client-ip=192.35.17.28; ", "From": "Christian Storm <christian.storm@siemens.com>", "To": "swupdate@googlegroups.com", "Cc": "Christian Storm <christian.storm@siemens.com>", "Subject": "[swupdate] [PATCH] parser: don't use printf() for logging", "Date": "Wed, 20 Sep 2017 09:00:35 +0200", "Message-Id": "<20170920070035.10778-1-christian.storm@siemens.com>", "X-Mailer": "git-send-email 2.14.1", "X-Original-Sender": "christian.storm@siemens.com", "X-Original-Authentication-Results": "gmr-mx.google.com; spf=neutral\n\t(google.com: 192.35.17.28 is neither permitted nor denied by best\n\tguess\n\trecord for domain of christian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com", "Content-Type": "text/plain; charset=\"UTF-8\"", "Precedence": "list", "Mailing-list": "list swupdate@googlegroups.com;\n\tcontact swupdate+owners@googlegroups.com", "List-ID": "<swupdate.googlegroups.com>", "X-Spam-Checked-In-Group": "swupdate@googlegroups.com", "X-Google-Group-Id": "605343134186", "List-Post": "<https://groups.google.com/group/swupdate/post>,\n\t<mailto:swupdate@googlegroups.com>", "List-Help": "<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>", "List-Archive": "<https://groups.google.com/group/swupdate", "List-Subscribe": "<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>", "List-Unsubscribe": "<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>" }, "content": "Signed-off-by: Christian Storm <christian.storm@siemens.com>\n---\n parser/parser.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/parser/parser.c b/parser/parser.c\nindex c962b59..a41bc24 100644\n--- a/parser/parser.c\n+++ b/parser/parser.c\n@@ -623,7 +623,7 @@ int parse_cfg (struct swupdate_cfg *swcfg, const char *filename)\n \t\treturn -1;\n \t} else {\n \t\tstrncpy(swcfg->version, str, sizeof(swcfg->version));\n-\t\tfprintf(stdout, \"Version %s\\n\", swcfg->version);\n+\t\tTRACE(\"Version %s\", swcfg->version);\n \t}\n \tsnprintf(node, sizeof(node), \"%s.embedded-script\",\n \t\t\tNODEROOT);\n", "prefixes": [] }