Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/139859/?format=api
http://patches.dpdk.org/api/patches/139859/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240504134135.1082509-1-aomeryamac@gmail.com/", "project": { "id": 1, "url": "http://patches.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": "<20240504134135.1082509-1-aomeryamac@gmail.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240504134135.1082509-1-aomeryamac@gmail.com", "date": "2024-05-04T13:41:35", "name": "[v2] devtools: add .clang-format file", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "fc558871474e612016c01c54679eba0af6b43946", "submitter": { "id": 3080, "url": "http://patches.dpdk.org/api/people/3080/?format=api", "name": "Abdullah Ömer Yamaç", "email": "aomeryamac@gmail.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240504134135.1082509-1-aomeryamac@gmail.com/mbox/", "series": [ { "id": 31879, "url": "http://patches.dpdk.org/api/series/31879/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31879", "date": "2024-05-04T13:41:35", "name": "[v2] devtools: add .clang-format file", "version": 2, "mbox": "http://patches.dpdk.org/series/31879/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/139859/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/139859/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 C7E7843F86;\n\tSat, 4 May 2024 15:41:41 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9264E402D5;\n\tSat, 4 May 2024 15:41:41 +0200 (CEST)", "from mail-ej1-f44.google.com (mail-ej1-f44.google.com\n [209.85.218.44]) by mails.dpdk.org (Postfix) with ESMTP id 3CDFD4014F\n for <dev@dpdk.org>; Sat, 4 May 2024 15:41:40 +0200 (CEST)", "by mail-ej1-f44.google.com with SMTP id\n a640c23a62f3a-a59b58fe083so20075966b.0\n for <dev@dpdk.org>; Sat, 04 May 2024 06:41:40 -0700 (PDT)", "from dcu.otaknetworks.com ([212.156.37.190])\n by smtp.gmail.com with ESMTPSA id\n bm26-20020a170906c05a00b00a5588a9fe66sm2921827ejb.86.2024.05.04.06.41.38\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 04 May 2024 06:41:39 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1714830099; x=1715434899; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=zxKQ9Qw5X07gVqDQfjUXlc13/S5M2B3AAjWJFL1nAkc=;\n b=LKjgHgPerFUkeLY7UEGJ8IRkVF0Cx+dT2DnQGu/U9zwObRBPu1W5/G/oOR7PfkSIOd\n Ji/KgOIn/5BJMHAXEB3B96JZ64wd/Cwc6WBX0/2Jig1+ZYwR+kbKbgFGAcsC9nfA3f5Z\n Ct0FwXHOKoSbirEaleR3sCy/xSGjRKYOUh+pmef9dcOjKUKHmcdRW8zuIr9ElHDRXxqF\n 6/ca3wOwQ0tvTn0ZZZbzgyWgeLjh4ReJ9G1FiI3x1eqplZOQ7J8XHrUrjpbUPNB5tMjC\n k2dLTLBdFg12eu42xQp/l1D2nP40OqX7jXI2nTeCLOAVc2TSAb73d+esq0WjFhJ1HjTL\n oeiQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714830099; x=1715434899;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=zxKQ9Qw5X07gVqDQfjUXlc13/S5M2B3AAjWJFL1nAkc=;\n b=LIGJIEJrhFIoISbubtKXhlTOOMgt+P5OW0flcZQTdjcG4IJSrPoT/1H7pueJyrUC3b\n bQKIgibq6tWmngM8lLnTgvgsfQm1Y9aDtDeqO9O+3c6zvF8CnwshEVQTlksDo15NZ2Mj\n 30ci7Yw5PONKgoxm6/A+fkh4MiSoQ0hmTwIZLp0jYsC5TkZlmU2GOrFZEup/KRBFQ7NG\n o8rWrB4HKUG+FX8nsXEDzTW5uo77o7bBnXaF0DqZkpWWeOPuqmJNXGkVCLPUxlXwTZA/\n 5kEcmRhagOXZV2V0wIq9ruwaoVp3Ed3wF7ZW1d/l/60M1LJ0FPPw5W0Zie9ZBRemZGfb\n Jsmw==", "X-Gm-Message-State": "AOJu0Yw7sJCc2sqqTnlvrU6e59WIkAR4XIzZQh8yyeRAjOHgPFNHfLTM\n l07xcLRut3IDuOeBtG4npnGuqhsPHAdJtjUvoKIx31N73gTNt2Vi7tKn5g==", "X-Google-Smtp-Source": "\n AGHT+IHZu05wkAoeV2mhpHzjxGDPJybhcmwabnD225NYpT1MdwSbY8Ios4CLjPhNRej3OziwBA0nDQ==", "X-Received": "by 2002:a17:907:86a0:b0:a59:900f:1742 with SMTP id\n qa32-20020a17090786a000b00a59900f1742mr3598782ejc.38.1714830099408;\n Sat, 04 May 2024 06:41:39 -0700 (PDT)", "From": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>", "To": "dev@dpdk.org", "Cc": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>", "Subject": "[PATCH v2] devtools: add .clang-format file", "Date": "Sat, 4 May 2024 13:41:35 +0000", "Message-Id": "<20240504134135.1082509-1-aomeryamac@gmail.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "\n <CA+sj1i_PvUf-m5juUG2_sd178fBOw3Df7VstRxyJ5ycU4WCRuA@mail.gmail.com>", "References": "\n <CA+sj1i_PvUf-m5juUG2_sd178fBOw3Df7VstRxyJ5ycU4WCRuA@mail.gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "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": "clang-format is a tool to format C/C++/Objective-C code. It can be used\nto reformat code to match a given coding style, or to ensure that code\nadheres to a specific coding style. It helps to maintain a consistent\ncoding style across the DPDK codebase.\n\n.clang-format file overrides the default style options provided by\nclang-format and large set of IDEs and text editors support it.\n\nSigned-off-by: Abdullah Ömer Yamaç <aomeryamac@gmail.com>\n---\n .clang-format | 42 ++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 42 insertions(+)\n create mode 100644 .clang-format", "diff": "diff --git a/.clang-format b/.clang-format\nnew file mode 100644\nindex 0000000000..480beaca20\n--- /dev/null\n+++ b/.clang-format\n@@ -0,0 +1,42 @@\n+---\n+BasedOnStyle: LLVM\n+\n+# Place opening and closing parentheses on the same line for control statements\n+BreakBeforeBraces: Custom\n+BraceWrapping:\n+ AfterFunction: false\n+ AfterControlStatement: false\n+ AfterEnum: false\n+\n+# Set maximum line length to 100 characters\n+ColumnLimit: 100\n+\n+# Use LF (line feed) as the end-of-line character\n+LineEnding: LF\n+\n+# Insert a newline at the end of the file\n+InsertNewlineAtEOF: true\n+\n+# Set indentation width to 8 spaces\n+IndentWidth: 8\n+\n+# Set continuation indentation width to 8 spaces\n+ContinuationIndentWidth: 8\n+\n+# Set tab width to 8 spaces\n+TabWidth: 8\n+\n+# Use tabs for indentation\n+UseTab: Always\n+\n+# Preserve include blocks as they are\n+IncludeBlocks: Preserve\n+\n+# Never sort includes\n+SortIncludes: Never\n+\n+# Always break after return type for top-level definitions\n+AlwaysBreakAfterReturnType: TopLevelDefinitions\n+\n+# Always break before multiline string literals\n+AlignEscapedNewlines: Left\n", "prefixes": [ "v2" ] }{ "id": 139859, "url": "