From nobody Fri Dec 19 21:55:46 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68425+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68425+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1607396267; cv=none; d=zohomail.com; s=zohoarc; b=SqqTovjJA3kgV1B7Az2yqvlpzieagwTqC0Xato2UMrUNQk5VP8klMgdpb6iPOa+N/4zWTNvoO3s9CuC/obAgYzTKZ9tjh+gQCBt8D7kcDd++qQYbAQb5fLPOmHsnocvf5WdCkiyECSIqDsw97/+V8x3EWFeInuMEzfo0XVY1lqk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607396267; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=/q7D3P/j0cheaK2IzInVNRUZ2Qm7iNkVYsQ+IXvCKlU=; b=nqU70MRywDO1z0FSQl+n7CDEXHVYKqM2UHKBnXlRD885uOiqdWwjGM94VhtnxJN5mfVa+RzuuPVPzZkXkVlYG1HUIEt1m/3eoAb/EzaYYssITNOPxAX0y7yXnNeCNG46H+ZgbxgUJWFlRg4whixbKfFR7INVwRiTHr+GNEumIq4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68425+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1607396267949842.6452709386645; Mon, 7 Dec 2020 18:57:47 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id YWVeYY1788612xwkOW5zlQRw; Mon, 07 Dec 2020 18:57:47 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.3113.1607396262090225376 for ; Mon, 07 Dec 2020 18:57:42 -0800 X-Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0B82rM0l013817; Tue, 8 Dec 2020 02:57:34 GMT X-Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0a-002e3701.pphosted.com with ESMTP id 358knu5ccr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Dec 2020 02:57:34 +0000 X-Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id A76FA54; Tue, 8 Dec 2020 02:57:33 +0000 (UTC) X-Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id E1C5645; Tue, 8 Dec 2020 02:57:31 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Andrew Fish , Laszlo Ersek , Leif Lindholm , Michael D Kinney , Liming Gao , Nickle Wang , Peter O'Hanley Subject: [edk2-devel] [PATCH v5 2/6] edk2: jansson submodule for edk2 JSON library Date: Tue, 8 Dec 2020 10:10:44 +0800 Message-Id: <20201208021048.9104-3-abner.chang@hpe.com> In-Reply-To: <20201208021048.9104-1-abner.chang@hpe.com> References: <20201208021048.9104-1-abner.chang@hpe.com> X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: vDmzXXl0mb1GjuY6pd0W98q8x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607396267; bh=4Qeli1xtN7v39EB9Vq9G/ZgypJHxC43O1h2m/NfhxV0=; h=Cc:Date:From:Reply-To:Subject:To; b=DH4WQ5ZWbyWehkHKdVpUUweVzVC99TmvP3GRwlVIQ/tEVNH7PM7Z+T3uowfq34LPXiv irb4J3fsBRAT2SHgURuBrmGquANAU2XfKONlNXQtq72pBmdYZrxFNX/07vySHVAaKcfEC xOlQgCDxI7nNy5ZSJrPhcgEg0DdUWardfRs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Cc: Andrew Fish Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Nickle Wang Cc: Peter O'Hanley Reviewed-by: Nickle Wang --- .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 =3D BaseTools/Source/C/BrotliCompress/brotli url =3D https://github.com/google/brotli ignore =3D untracked +[submodule "RedfishPkg/Library/JsonLib/jansson"] + path =3D RedfishPkg/Library/JsonLib/jansson + url =3D 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 `__ =20 The EDK II Project is composed of packages. The maintainers for each packa= ge are listed in `Maintainers.txt `__. diff --git a/RedfishPkg/Library/JsonLib/jansson b/RedfishPkg/Library/JsonLi= b/jansson new file mode 160000 index 0000000000..e9ebfa7e77 --- /dev/null +++ b/RedfishPkg/Library/JsonLib/jansson @@ -0,0 +1 @@ +Subproject commit e9ebfa7e77a6bee77df44e096b100e7131044059 --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#68425): https://edk2.groups.io/g/devel/message/68425 Mute This Topic: https://groups.io/mt/78795510/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-