Message ID | 20241001170703.30348-1-mmahajan@iol.unh.edu (mailing list archive) |
---|---|
State | Accepted |
Headers |
Return-Path: <ci-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]) by inbox.dpdk.org (Postfix) with ESMTP id 976AF45A7E; Tue, 1 Oct 2024 19:09:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92A204027E; Tue, 1 Oct 2024 19:09:09 +0200 (CEST) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mails.dpdk.org (Postfix) with ESMTP id 7F7DB40273 for <ci@dpdk.org>; Tue, 1 Oct 2024 19:09:08 +0200 (CEST) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-4582a0b438aso45737021cf.0 for <ci@dpdk.org>; Tue, 01 Oct 2024 10:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1727802548; x=1728407348; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M+9+FnIh/k/Ly0v7qVNmfWWYWBVimMFNRwfuyp/b+Bc=; b=RHOcuMCWaggF8D1TMCJ6QuK5EQ2KUwuipNU7icTrgNiZOBTRj8ftJzyDUVk86bpeJA wGdv1RNcDp8ILEmf4xKwB5ywrgz8yvVMA0IKCboDOijBa9ADTYJ+tmRsed4DJv9betdH x1A7pPm8g4pkNe7M7B4w34xNMOTKAFOlMOHtk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727802548; x=1728407348; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M+9+FnIh/k/Ly0v7qVNmfWWYWBVimMFNRwfuyp/b+Bc=; b=d1BSEWMCzZGaHApz6kedlvjvZacrWCREvSRSfNRY59XRhRYG47Nur+bcoY1S7GxPrg vrTsgFml19egN8ZexzZfFzSP2lVLouCtaaa6QYeMVs2BihfHFMP3txGraS+kKReurKXZ a7eeHE79BQ1AeL4z3bD5VYW3mMSBq0DbTSakDbZVqfkFQFN5cISXb+Uat89rbSALyOd8 5oFyz+WWNIJcGb3Nw7W7smQKTVDbJqcgAGZrZyWfyHAY3oZosvFS4WkQmov0RdVN7Hke OYpP4qYzujnBYL534MLR7wqAE5bAFR4wpsSu1u7Gj3UmyUVorAAiZWH9zTiFDrfzdold GZzg== X-Gm-Message-State: AOJu0YzpcxfQaolN3Ewluq64WSvVcek5Wz2waRM4USwnrqdTYjlBCkwa i04gLWZY+/QqK6Ky/hch7OXUrpT4zBB0FyEau9wvjoWUtFRMbuhwNx0IuKhlrx9MhHW5r3SIbf+ FBInZXbnq26MaF14h41Izp+37lV8B6xL1Zb1gBJB86AvzOaLPrIkVaSBQaSfbyFAXRvGsgY4mge iFNNxtnPuhtRUcnFJ6XptTcDH90v2i X-Google-Smtp-Source: AGHT+IGJyzCLspRE/EkbVuOYPIy1aOMoSFO4I82VYxM1twC5f00OT7X9VFto9es6CWoo5MAdqABHnA== X-Received: by 2002:a05:6214:5901:b0:6cb:52dd:44cd with SMTP id 6a1803df08f44-6cb81a10f3cmr2801346d6.25.1727802547522; Tue, 01 Oct 2024 10:09:07 -0700 (PDT) Received: from localhost.unh.edu (targon.iol.unh.edu. [132.177.125.242]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cb3b67f247sm51178156d6.107.2024.10.01.10.09.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 10:09:07 -0700 (PDT) From: Manit Mahajan <mmahajan@iol.unh.edu> To: ci@dpdk.org Cc: probb@iol.unh.edu, alialnu@nvidia.com, aconole@redhat.com, Manit Mahajan <mmahajan@iol.unh.edu> Subject: [PATCH] config: adding dts tag for dts path patches Date: Tue, 1 Oct 2024 13:07:03 -0400 Message-ID: <20241001170703.30348-1-mmahajan@iol.unh.edu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions <ci.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/ci>, <mailto:ci-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/ci/> List-Post: <mailto:ci@dpdk.org> List-Help: <mailto:ci-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/ci>, <mailto:ci-request@dpdk.org?subject=subscribe> Errors-To: ci-bounces@dpdk.org |
Series |
config: adding dts tag for dts path patches
|
|
Commit Message
Manit Mahajan
Oct. 1, 2024, 5:07 p.m. UTC
DTS provides a check-format script which runs a series of code quality
checks including formatting, linting, and type-checking using the
following tools: black, isort, pylama, and mypy. Developers are supposed
to run this script before submitting their patch series. In CI testing,
we want to run this formatting script on all patches which modify
dpdk/dts/* going forward, and submit a new patchwork check named
dts-check-format. In order to do this, we need to be able to set a tag
in the patch parser script for all patch series which meet this
condition. This series adds the dts tag and path assignment to
config/patch_parser.cfg.
Signed-off-by: Manit Mahajan
---
config/patch_parser.cfg | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Comments
Reviewed-by: Patrick Robb <probb@iol.unh.edu>
Adding Luca since he is keen to see the dts format script run in CI
testing. :)
Patrick Robb <probb@iol.unh.edu> writes: > Reviewed-by: Patrick Robb <probb@iol.unh.edu> > > Adding Luca since he is keen to see the dts format script run in CI testing. :) Should I hold off on Luca's ack/reviewed before applying?
No, I don't think that's necessary. What he described (run the format check every time a file within /dts/* is being changed) will be accomplished with this patch. And I don't think he has worked with the dpdk-ci repo previously anyways. On Fri, Oct 4, 2024 at 10:01 AM Aaron Conole <aconole@redhat.com> wrote: > Patrick Robb <probb@iol.unh.edu> writes: > > > Reviewed-by: Patrick Robb <probb@iol.unh.edu> > > > > Adding Luca since he is keen to see the dts format script run in CI > testing. :) > > Should I hold off on Luca's ack/reviewed before applying? > >
On 04/10/2024 18:54, Patrick Robb wrote: > No, I don't think that's necessary. What he described (run the format > check every time a file within /dts/* is being changed) will be > accomplished with this patch. And I don't think he has worked with the > dpdk-ci repo previously anyways. As you said I haven't worked on the dpdk-ci repo before, so not sure what's happening here :D Thank you for the cc. Will also keep a look out for what I presume is the next patch including dts-check-format? And thank you Manit for making this happen! Best, Luca
Manit Mahajan <mmahajan@iol.unh.edu> writes: > DTS provides a check-format script which runs a series of code quality > checks including formatting, linting, and type-checking using the > following tools: black, isort, pylama, and mypy. Developers are supposed > to run this script before submitting their patch series. In CI testing, > we want to run this formatting script on all patches which modify > dpdk/dts/* going forward, and submit a new patchwork check named > dts-check-format. In order to do this, we need to be able to set a tag > in the patch parser script for all patch series which meet this > condition. This series adds the dts tag and path assignment to > config/patch_parser.cfg. > > Signed-off-by: Manit Mahajan > --- Hi Manit, FYI, your signed-off-by line is incorrect. It is missing the email address. I can add it on apply if you are okay with that, but in the future, it should look like:: Signed-off-by: Manit Mahajan <mmahajan@iol.unh.edu> Thanks! > config/patch_parser.cfg | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/config/patch_parser.cfg b/config/patch_parser.cfg > index 5757f9a..dac3b23 100644 > --- a/config/patch_parser.cfg > +++ b/config/patch_parser.cfg > @@ -13,6 +13,7 @@ app = application > license = documentation > VERSION = documentation > build = core > +dts = dts > > # This is an ordered list of the importance of each patch classification. > # It should be used to determine which classification to use on tools which > @@ -22,4 +23,5 @@ priority_list = > core, > driver, > application, > - documentation > + documentation, > + dts
Good catch Aaron, sorry that I missed this in my review. We will accept your offer to amend the commit on apply. :) On Mon, Oct 7, 2024 at 11:53 AM Aaron Conole <aconole@redhat.com> wrote: > Manit Mahajan <mmahajan@iol.unh.edu> writes: > > > DTS provides a check-format script which runs a series of code quality > > checks including formatting, linting, and type-checking using the > > following tools: black, isort, pylama, and mypy. Developers are supposed > > to run this script before submitting their patch series. In CI testing, > > we want to run this formatting script on all patches which modify > > dpdk/dts/* going forward, and submit a new patchwork check named > > dts-check-format. In order to do this, we need to be able to set a tag > > in the patch parser script for all patch series which meet this > > condition. This series adds the dts tag and path assignment to > > config/patch_parser.cfg. > > > > Signed-off-by: Manit Mahajan > > --- > > Hi Manit, > > FYI, your signed-off-by line is incorrect. It is missing the email > address. I can add it on apply if you are okay with that, but in the > future, it should look like:: > > Signed-off-by: Manit Mahajan <mmahajan@iol.unh.edu> > > Thanks! > > > config/patch_parser.cfg | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/config/patch_parser.cfg b/config/patch_parser.cfg > > index 5757f9a..dac3b23 100644 > > --- a/config/patch_parser.cfg > > +++ b/config/patch_parser.cfg > > @@ -13,6 +13,7 @@ app = application > > license = documentation > > VERSION = documentation > > build = core > > +dts = dts > > > > # This is an ordered list of the importance of each patch > classification. > > # It should be used to determine which classification to use on tools > which > > @@ -22,4 +23,5 @@ priority_list = > > core, > > driver, > > application, > > - documentation > > + documentation, > > + dts > >
diff --git a/config/patch_parser.cfg b/config/patch_parser.cfg index 5757f9a..dac3b23 100644 --- a/config/patch_parser.cfg +++ b/config/patch_parser.cfg @@ -13,6 +13,7 @@ app = application license = documentation VERSION = documentation build = core +dts = dts # This is an ordered list of the importance of each patch classification. # It should be used to determine which classification to use on tools which @@ -22,4 +23,5 @@ priority_list = core, driver, application, - documentation + documentation, + dts