From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web12.7403.1608208961381334284 for ; Thu, 17 Dec 2020 04:42:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=EABHGCL+; spf=pass (domain: nuviainc.com, ip: 209.85.128.54, mailfrom: leif@nuviainc.com) Received: by mail-wm1-f54.google.com with SMTP id 190so5441968wmz.0 for ; Thu, 17 Dec 2020 04:42:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=j0JIMkfqNdaYI0NTypw0JmCCd9nl2M2ltQYFFJ4AAzw=; b=EABHGCL+TujtrkVIxzCw0h/kAcdfb39vUxCUEJpiorP2goNUMliA8UBYBCdwAjOR0A fpn7FyzNk782+Fc6KI2vcFZa04r7M9EotS30MiVyGVQIXlio/0IbY6rPa4Y1I3lfSaLU kn+0pR2i+EgMSEu0rAaGI7cnP763xaftzjwbS2/XBp9XBkqsZ8xbyTKN+p4RJeB215U9 hxkOdjHES3xgBMkMrvdGxfDkNBWbfvTWYdfcuGO4BC/C28cMlcVFJ2GeYPqjV5k3gygv kqdNo53MFdG0JPtKbkzrhHr3/vBEQMI9nfoOtt0+mxaUCISQ7fuOGiL7N93eXfEvcSTn c4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=j0JIMkfqNdaYI0NTypw0JmCCd9nl2M2ltQYFFJ4AAzw=; b=MNN1ZV6jqx3B70kP/QsdFDYMBRLq7tuUDmW9eBJdZ5irGmtOLnz9u4TQwxu1BeQM72 Zp1kkEQuueevAVG9jy4+trSBuXzOK894SgajFzFmA0CF9gZ/4cvwO0ct22Is/Llm9JV4 AGN/VyaL/je/N3AAjJPUjAvuCx9vCFVtNpVt18US8tGn+Aa4BKFTLC9BPXT+9azIWVWf XjC8KQMNZGDswl8nNpdg+I3G4t71Hitthxr/e0ckFJWT0AETvRQS+I9H4Ukplu+rGSFC UOc1OnlQnC7RUBPscnmwNtiZTBvxbK0BCMAv/Ehga6dWBCa396uhXqWCa5RFcUyEbHyb 34Pw== X-Gm-Message-State: AOAM531jdTtKu2j/ILTY2/sUQdUAit4em+e1TMaCjGcbsBQSFoxDiLh+ LOir1j/KQeqXLu3kRQ2y6B1MUv2Y2yVe1Q== X-Google-Smtp-Source: ABdhPJyXpemGu0OFKDtEzedQoP7RkRDc3rOjtN03Gj36NFO8AOQ0Zg0pWQ3o7xRhYxjruUC5VxVE9g== X-Received: by 2002:a7b:cb84:: with SMTP id m4mr8374483wmi.157.1608208959978; Thu, 17 Dec 2020 04:42:39 -0800 (PST) Return-Path: Received: from vanye (cpc1-cmbg19-2-0-cust915.5-4.cable.virginm.net. [82.27.183.148]) by smtp.gmail.com with ESMTPSA id u66sm8174482wmg.2.2020.12.17.04.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 04:42:39 -0800 (PST) Date: Thu, 17 Dec 2020 12:42:37 +0000 From: "Leif Lindholm" To: Abner Chang Cc: devel@edk2.groups.io, Andrew Fish , Laszlo Ersek , Michael D Kinney , Liming Gao , Nickle Wang , Peter O'Hanley Subject: Re: [PATCH v7 2/6] edk2: jansson submodule for edk2 JSON library Message-ID: <20201217124237.GP1664@vanye> References: <20201216031406.7136-1-abner.chang@hpe.com> <20201216031406.7136-3-abner.chang@hpe.com> MIME-Version: 1.0 In-Reply-To: <20201216031406.7136-3-abner.chang@hpe.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 16, 2020 at 11:14:02 +0800, Abner Chang wrote: > Add git submodule "jansson" library, which is the open > source project (https://github.com/akheron/jansson) used > to manipulate JSON data structure. jansson library is > wrapped as edk2 JsonLib and the use cases will be the > edk2 Redfish feature drivers and edk2 port of libredfish > (https://github.com/DMTF/libredfish). > jansson open source project is under MIT license. > (refer to ReadMe.rst under edk2). > > Signed-off-by: Abner Chang Acked-by: Leif Lindholm > Cc: Andrew Fish > Cc: Laszlo Ersek > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Nickle Wang > Cc: Peter O'Hanley > --- > .gitmodules | 3 +++ > ReadMe.rst | 1 + > RedfishPkg/Library/JsonLib/jansson | 1 + > 3 files changed, 5 insertions(+) > create mode 160000 RedfishPkg/Library/JsonLib/jansson > > diff --git a/.gitmodules b/.gitmodules > index c3a4e4aeca..0f06c09a29 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -17,3 +17,6 @@ > path = BaseTools/Source/C/BrotliCompress/brotli > url = https://github.com/google/brotli > ignore = untracked > +[submodule "RedfishPkg/Library/JsonLib/jansson"] > + path = RedfishPkg/Library/JsonLib/jansson > + url = https://github.com/akheron/jansson > diff --git a/ReadMe.rst b/ReadMe.rst > index c3c8178373..b754378646 100644 > --- a/ReadMe.rst > +++ b/ReadMe.rst > @@ -93,6 +93,7 @@ that are covered by additional licenses. > - `MdeModulePkg/Library/BrotliCustomDecompressLib/brotli `__ > - `MdeModulePkg/Universal/RegularExpressionDxe/oniguruma `__ > - `UnitTestFrameworkPkg/Library/CmockaLib/cmocka `__ > +- `RedfishPkg/Library/JsonLib/jansson `__ > > The EDK II Project is composed of packages. The maintainers for each package > are listed in `Maintainers.txt `__. > diff --git a/RedfishPkg/Library/JsonLib/jansson b/RedfishPkg/Library/JsonLib/jansson > new file mode 160000 > index 0000000000..e9ebfa7e77 > --- /dev/null > +++ b/RedfishPkg/Library/JsonLib/jansson > @@ -0,0 +1 @@ > +Subproject commit e9ebfa7e77a6bee77df44e096b100e7131044059 > -- > 2.17.1 >