Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/119838/?format=api
http://patchwork.dpdk.org/api/patches/119838/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221114142225.85403-2-luca.boccassi@gmail.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20221114142225.85403-2-luca.boccassi@gmail.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221114142225.85403-2-luca.boccassi@gmail.com", "date": "2022-11-14T14:22:25", "name": "[2/2] docs: sort files lists in generator scripts", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "1a553a6ba00e3c97cd8a0c378f23ba9a2cb33804", "submitter": { "id": 566, "url": "http://patchwork.dpdk.org/api/people/566/?format=api", "name": "Luca Boccassi", "email": "luca.boccassi@gmail.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20221114142225.85403-2-luca.boccassi@gmail.com/mbox/", "series": [ { "id": 25756, "url": "http://patchwork.dpdk.org/api/series/25756/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=25756", "date": "2022-11-14T14:22:24", "name": "[1/2] docs: add +x to generator scripts", "version": 1, "mbox": "http://patchwork.dpdk.org/series/25756/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/119838/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/119838/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E8F06A00C4;\n\tMon, 14 Nov 2022 15:22:37 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5611E42D0E;\n\tMon, 14 Nov 2022 15:22:37 +0100 (CET)", "from mail-wr1-f48.google.com (mail-wr1-f48.google.com\n [209.85.221.48]) by mails.dpdk.org (Postfix) with ESMTP id CC3EB4014F\n for <dev@dpdk.org>; Mon, 14 Nov 2022 15:22:36 +0100 (CET)", "by mail-wr1-f48.google.com with SMTP id bs21so18549263wrb.4\n for <dev@dpdk.org>; Mon, 14 Nov 2022 06:22:36 -0800 (PST)", "from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9])\n by smtp.gmail.com with ESMTPSA id\n o18-20020adfe812000000b00228692033dcsm9680256wrm.91.2022.11.14.06.22.35\n for <dev@dpdk.org>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 14 Nov 2022 06:22:35 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=ND8N4k9zEw8NnsHW1aP2f5RBtcfNDWMUnufeftECb0c=;\n b=arE5zi+kpc24XEN+0jTG9FIdABnPGnMFpOg68QDjGRHcO03ywfyqBF3pvozLhFNfjQ\n F802KAxlHN3Ive4dsnDjhqI8SF7bI1KjD0zyEcesYibDrAhfJWA5UzanUGho0krOxTrP\n nkp5Lk7JPNiVbhO9uBpFl+jJMbBMx61+Uphx+RJulmWD7kesnmmCuJCJnio/0s9IctcP\n P6qQEaenEUlnm1flbuzdnr7MxntNi/+jmIcS0+88ldQ3dgygvr0+9zfSD8NWpcSsBU9g\n RWTKfMv2/G3HuO6CnrADCu7VuRZ6CvENsMD/fp8AOXoVwrulA/JB4lEp63jK7a8x9Bo7\n r6GA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=ND8N4k9zEw8NnsHW1aP2f5RBtcfNDWMUnufeftECb0c=;\n b=QqN/e8B6buQJc7e+Aa5vI3vrkSvgJY/lASiMgJ2dP5Ggpwif7F7pJ48DwT5KrA4sj7\n mP6ZJgGbTvU1P9wakxkYThUW8AoTkEVvaSd2pA3CYqhPvFkfTyVaIr79hNgXTe9xyZsK\n 0Qf+3ZsMP6gsy0sAgDbvEM5l7uYy8/5QINlt5kJZWO0rymCpVB7f+bOo8StUTWgI7Vcm\n e4kKbJTo8NsMlANev50jnkyPmla27cR/BM/LmZZHU3jrS5pXbclWXnJkGoowFfiCPhRw\n 8WE/9L7VXGXGcxdbbbIqsjVb4WzAJ0D+xaVN3XNR85Hc/HhQUgtn2r0/Uya7F3shzCe2\n 6rpQ==", "X-Gm-Message-State": "ANoB5pn2ahvSWcfbCtxrn5YAOga1cf1/PgRErMZcPu9KP61pHRw/wQsm\n Fdzq4ZJMdCSuv3TbvxB3aWG85W1sEts=", "X-Google-Smtp-Source": "\n AA0mqf4xK5rYMRAPiG2504qr0PBe4dUhhSgvIlpXqQ08MbpjByjp7dCFhDUIxhcKSeTpKRQ48fyLsg==", "X-Received": "by 2002:adf:f74f:0:b0:22c:f296:1120 with SMTP id\n z15-20020adff74f000000b0022cf2961120mr7345212wrp.369.1668435756260;\n Mon, 14 Nov 2022 06:22:36 -0800 (PST)", "From": "luca.boccassi@gmail.com", "To": "dev@dpdk.org", "Subject": "[PATCH 2/2] docs: sort files lists in generator scripts", "Date": "Mon, 14 Nov 2022 14:22:25 +0000", "Message-Id": "<20221114142225.85403-2-luca.boccassi@gmail.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20221114142225.85403-1-luca.boccassi@gmail.com>", "References": "<20221114142225.85403-1-luca.boccassi@gmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "From: Luca Boccassi <bluca@debian.org>\n\nIn order to build the documentation in a reproducible manner, sort the lists of\nfiles used as input, since walking the filesystem is not guaranteed to be done\nin a stable order.\nWhen converting the scripts from shell to python, sorting the input was lost.\n\nFixes: 53bb9a073f4f (\"doc: rewrite shell scripts in Python\")\n\nSigned-off-by: Luca Boccassi <bluca@debian.org>\n---\n doc/api/generate_doxygen.py | 2 +-\n doc/api/generate_examples.py | 4 ++--\n 2 files changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/doc/api/generate_doxygen.py b/doc/api/generate_doxygen.py\nindex 2ccedf844e..d3a22869f6 100755\n--- a/doc/api/generate_doxygen.py\n+++ b/doc/api/generate_doxygen.py\n@@ -13,7 +13,7 @@\n subprocess.run(doxygen_command, check=True, stdout=out)\n with open(out_file) as out, open(dep_file, 'w') as dep:\n print(f'{out_dir}:', end=' ', file=dep)\n- for line in out:\n+ for line in sorted(out):\n match = re.match(pattern, line)\n if match:\n print(match.group(1), end=' ', file=dep)\ndiff --git a/doc/api/generate_examples.py b/doc/api/generate_examples.py\nindex c35e72f280..7315b3c356 100755\n--- a/doc/api/generate_examples.py\n+++ b/doc/api/generate_examples.py\n@@ -11,7 +11,7 @@\n with open(f'{api_examples}.d', 'w') as dep:\n print(f'{api_examples}:', end=' ', file=dep)\n for root, _, files in os.walk(examples_dir):\n- for name in files:\n+ for name in sorted(files):\n is_source = name.endswith('.c')\n if is_source or name == 'meson.build':\n path = os.path.join(root, name)\n@@ -23,7 +23,7 @@\n print('''/**\n @page examples DPDK Example Programs\n ''', file=out)\n- for path in sources:\n+ for path in sorted(sources):\n # Produce consistent output with forward slashes on all systems.\n # Every \\ in paths within examples directory is a separator, not escape.\n relpath = os.path.relpath(path, examples_dir).replace('\\\\', '/')\n", "prefixes": [ "2/2" ] }{ "id": 119838, "url": "