All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nft PATCH 0/6] Add test for parse_flags_array()
Date: Tue, 13 May 2025 10:49:56 +0200	[thread overview]
Message-ID: <aCMHtAiTKRssAn8K@orbyte.nwl.cc> (raw)
In-Reply-To: <aCJrwrJVOasoVfC1@calendula>

On Mon, May 12, 2025 at 11:45:34PM +0200, Pablo Neira Ayuso wrote:
> On Thu, May 08, 2025 at 11:47:16PM +0200, Phil Sutter wrote:
> > The function introduced in previous patch relaxes JSON syntax in parsing
> > selected properties which usually contain an array as value to also
> > accept a string representing the only array element.
> > 
> > The test asserting correct parsing of such properties exposed JSON
> > printer's limitation in some properties to not reduce the array value
> > when possible.
> > 
> > To make things consistent, This series enhances the JSON printer by
> > support for array reduction where missing (patches 2-4), then introduces
> > a shared routine to combine the common idiom in patch 5. Patch 6 finally
> > adds the actual shell test case. Patch 1 is merely fallout, a trivial
> > fix identified when working on the test implementation.
> 
> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>

Series applied.

      reply	other threads:[~2025-05-13  8:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-07 22:28 [nft PATCH] parser_json: Introduce parse_flags_array() Phil Sutter
2025-05-08 21:47 ` [nft PATCH 0/6] Add test for parse_flags_array() Phil Sutter
2025-05-08 21:47   ` [nft PATCH 1/6] doc: Fix typo in nat statement 'prefix' description Phil Sutter
2025-05-08 21:47   ` [nft PATCH 2/6] json: Print single set flag as non-array Phil Sutter
2025-05-08 21:47   ` [nft PATCH 3/6] json: Print single fib " Phil Sutter
2025-05-08 21:47   ` [nft PATCH 4/6] json: Print single synproxy flags " Phil Sutter
2025-05-08 21:47   ` [nft PATCH 5/6] json: Introduce json_add_array_new() Phil Sutter
2025-05-08 21:47   ` [nft PATCH 6/6] tests: shell: Add test case for JSON 'flags' arrays Phil Sutter
2025-05-12 21:45   ` [nft PATCH 0/6] Add test for parse_flags_array() Pablo Neira Ayuso
2025-05-13  8:49     ` Phil Sutter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aCMHtAiTKRssAn8K@orbyte.nwl.cc \
    --to=phil@nwl.cc \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.