From patchwork Wed May 8 15:31:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninette Adhikari X-Patchwork-Id: 43365 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97BCFC25B74 for ; Wed, 8 May 2024 15:31:43 +0000 (UTC) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.groups.io with SMTP id smtpd.web11.15790.1715182296260206922 for ; Wed, 08 May 2024 08:31:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=Z1/0SSNr; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.218.48, mailfrom: ninette@thehoodiefirm.com) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a4702457ccbso1203456066b.3 for ; Wed, 08 May 2024 08:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1715182295; x=1715787095; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=kiukrrle2t1gdH3tonyv8YGokeziqsLQSONLhh34B9I=; b=Z1/0SSNraek436fFOzz0S6oiMrAghXtBe3q1LfeAOrArjspqCLaT3Ffm7VfOpPVWIV m5G4c9yOkHS92kz8ECW7POa/u8/3Ji528qI8hTqLqNm2jVoMKagRjYJM+RqaXH4TonPN Tn5hjAyYBMvK/0DNQdJ2Dt0L/KEu77I6z155P3/tQCm49lsQJz+YjSQHCQSPIRWGM2Oy 4s9vVtVr5FNdpNLBN82y5g9XrFRmgSmas3a/cxGLQFgSGuBuMNr8qmGupSnmXJLcJ+sY ZOSHUPwn0ybuamY9Vbi+//sspv2pGuFOqagCUteTN46XeZg7PYLUXSJyvnoDyY1VRbqw 7f1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715182295; x=1715787095; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kiukrrle2t1gdH3tonyv8YGokeziqsLQSONLhh34B9I=; b=FKcxdE4AQn5KyGlYp4lnCQOgrNZ3adVOKAYYu3fLERgpnMTsxAxu4Yk8darO+YZ5mk XUnAK4t+MgQF9kHid3kzG2aeqeyEuX2wena4giYN9ZGadYbtcjc++Ejt9DIybpgcLkPD qzAj+UNRQdsiFo6v4vuQSbFFCGj2J2evEVlPg8qModOQusOvjSxQuvdG4xOPV5kac6tZ m9U//gwsbA3pjwTg0ph53fIB34yihh9aY8iehigkG9HyfJywUfIVagH+WSvcOC4v7B0y L6o2bAvTGbaBcAdvXuSWNy6tEMUB9T/FoDfzT8RM5hcUBay56k6QavauDl6P0HKr9wdi /rKg== X-Gm-Message-State: AOJu0YynoaJADD2Z+py3pFHf0ulDIITwqvZppD0Hjg/lDXJLqzOXNgIe cRzZpzK0mESLLoq3oPDXCpn4xVnodGNKcCXFpjva7T0XslmpD7/edqGDfa2Ziax36nh91Cy9Rgc r X-Google-Smtp-Source: AGHT+IGqkvtE6mTbtLdanEIG5EhVi6hActhh/AedFRfhoNVEn5rNwsKRaB6YrF90M+P+ZCfSK4kMwA== X-Received: by 2002:a17:906:794a:b0:a59:ca33:683f with SMTP id a640c23a62f3a-a59fb94db6amr203103066b.28.1715182294712; Wed, 08 May 2024 08:31:34 -0700 (PDT) Received: from localhost.localdomain (ip5f5aeba4.dynamic.kabel-deutschland.de. [95.90.235.164]) by smtp.gmail.com with ESMTPSA id c17-20020a1709060fd100b00a526a992d82sm7784897ejk.4.2024.05.08.08.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:31:34 -0700 (PDT) From: Ninette Adhikari To: yocto-patches@lists.yoctoproject.org Cc: engineering@neighbourhood.ie, Alex Feyerke Subject: [PATCH 01/12] patch-status: add .gitignore file Date: Wed, 8 May 2024 17:31:16 +0200 Message-ID: <20240508153131.94270-2-ninette@thehoodiefirm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240508153131.94270-1-ninette@thehoodiefirm.com> References: <20240508153131.94270-1-ninette@thehoodiefirm.com> Reply-To: engineering@neighbourhood.ie MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 08 May 2024 15:31:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/92 From: Alex Feyerke Don't commit generated files used for local development. Signed-off-by: Alex Feyerke --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..314548a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# ignore generated data files +patch-status/cve-count-byday.json +patch-status/cve-status-*.txt +patch-status/patch-status-*.json \ No newline at end of file From patchwork Wed May 8 15:31:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninette Adhikari X-Patchwork-Id: 43368 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4B04C25B5F for ; Wed, 8 May 2024 15:31:43 +0000 (UTC) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mx.groups.io with SMTP id smtpd.web10.15794.1715182297773280796 for ; Wed, 08 May 2024 08:31:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=s8tSQvsR; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.218.49, mailfrom: ninette@thehoodiefirm.com) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a59a387fbc9so1150805966b.1 for ; Wed, 08 May 2024 08:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1715182296; x=1715787096; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Yv3YFthAGSyOwUcM+M6K7tq6nWQnA+hcVTTxvfgzc8w=; b=s8tSQvsRx5but1AIshPyj6hLI9TCQGUyGit3rjwluCdlapwiCN7TgicPbuA1nYY8iP 8TB5PgR62AO/5sj0WklkO0V5nSQbcuQeIR5DPGCa1BwUpz7BUflYlMIBLjrPz3GlwQtq N9md6MpI/Q7O5HgMLi1ZH39kQo7ZzD+JJtmOLiIaYmUy0jav6Q4EMapW7z8BsRYuOURP MUjM31CEJDyh+x/ayh7yI5TUyU1/vcOhWDEHP60SvtVNpSy60pxjuR66yOLTaeCD0ipD JW1086FfBwSpd6xc//AxdjmfaQSwWfav0SqxpqktOaHoUKHRKgGMtNTKUAva47rlw1sI COxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715182296; x=1715787096; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Yv3YFthAGSyOwUcM+M6K7tq6nWQnA+hcVTTxvfgzc8w=; b=Wc6fowpfWJLqItfEz62BLhEIanGy5UpvS1iDlEHIq75KrTBoaxdqkovTuPn3R2Uyqr 7ls/dQ91Vncc/snlyeeHoK6fv49jgC/XvdjAZkxZqp+1BsQiSntclCSHenHRPGxSVNQp 7dh2PkGowJEho0eVF0ZtvQ6wY5xJ0W+Ejk/+x40ZvcTdKQbBZPUHeCqeLSeIEozwOibY T9RCeF/OiUAsNFPIFbk0f9DSR0QCfkzS3gOmGfSAGvyulh620tD9QeOEaD+aylNNhVpt piiScxjXwLPdUQxpNO7TmZnv71IYIrp2bnd4gg+nKoO8+4jiDyFSdtyzJa25ubj+ZHBd DF4w== X-Gm-Message-State: AOJu0YwuXw6Ac+3aGyBxdHxkt2qoRnBkwvo2a31idoK+J4eYONhLIiqK T+MgYoYPdI74wlxTe7a7aHNmnW2F2j+lWmugql5vZcLQbADu6QJn8locRIFly+vl7SmZ9LObRtM l X-Google-Smtp-Source: AGHT+IFALT+tvHCDCwoi3iKbTIL43uA19++VeM2juFoRkYdTKEon2oMYiHQsyF7MbwKMVTfZ6CM11g== X-Received: by 2002:a17:907:1702:b0:a59:e3b8:ab8a with SMTP id a640c23a62f3a-a59fb94d745mr188748366b.20.1715182296102; Wed, 08 May 2024 08:31:36 -0700 (PDT) Received: from localhost.localdomain (ip5f5aeba4.dynamic.kabel-deutschland.de. [95.90.235.164]) by smtp.gmail.com with ESMTPSA id c17-20020a1709060fd100b00a526a992d82sm7784897ejk.4.2024.05.08.08.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:31:35 -0700 (PDT) From: Ninette Adhikari To: yocto-patches@lists.yoctoproject.org Cc: engineering@neighbourhood.ie, Alex Feyerke Subject: [PATCH 02/12] patch-status: add README.md file Date: Wed, 8 May 2024 17:31:17 +0200 Message-ID: <20240508153131.94270-3-ninette@thehoodiefirm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240508153131.94270-1-ninette@thehoodiefirm.com> References: <20240508153131.94270-1-ninette@thehoodiefirm.com> Reply-To: engineering@neighbourhood.ie MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 08 May 2024 15:31:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/93 From: Alex Feyerke Add information on running locally for development, including generating test data from yocto-autobuilder-helper. Signed-off-by: Alex Feyerke --- README | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 00000000..ac2ee186 --- /dev/null +++ b/README @@ -0,0 +1,64 @@ +# yocto-metrics +Yocto Project autobuilder gathered metrics, CVEs etc. + +## Local setup +1. Clone repositories + + Clone both the report and data repo: + + ```sh + # clone yocto-autobuilder-helper + git clone git://git.yoctoproject.org/yocto-autobuilder-helper.git + + # clone yocto-metrics + git clone git://git.yoctoproject.org/yocto-metrics + ``` + +2. Generate chart data + At first we have to generate the necessary data for the charts. + For this we have to go the autobuilder repository and generate chart data. + + Go to your local clone of the autobuilder repository + Then run the following to generate the data and save it in your local yocto-metrics/patch-status directory: + + _Possibly you have to adapt your local path to yocto-metrics._ + ```sh + cd yocto-autobuilder-helper + ./scripts/patchmetrics-generate-chartdata --json "../yocto-metrics/patch-status.json" --outputdir "../yocto-metrics/patch-status/" + ``` + +3. Generate CVE report data + We need to generate CVE report data for each branch. + The following is an example showing data generated for the master branch. + You will need to run this for _every branch you need CVE data_ for. + + From patchwork Wed May 8 15:31:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninette Adhikari X-Patchwork-Id: 43369 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B84CCC25B77 for ; Wed, 8 May 2024 15:31:43 +0000 (UTC) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mx.groups.io with SMTP id smtpd.web10.15795.1715182299001424972 for ; Wed, 08 May 2024 08:31:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=GDN5uyjC; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.218.49, mailfrom: ninette@thehoodiefirm.com) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a59ab4f60a6so985934866b.0 for ; Wed, 08 May 2024 08:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1715182297; x=1715787097; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=+5P8nTxUJ+jazXDRm3P2ARC74I+oESN6diBymaRMRLw=; b=GDN5uyjCz8UyfdLGAjr52HJ+2a5DB1bPMqtXv2jS5z+y57d/rkwvzXU2HZK4DuKXrC Bpbxvh1eBpbfVj1V1Zo+q5fvYKN8gmrdL/A7x351+ajOkJUwKdPxkVG9LJYmxQdYNPeL aRH+DN7Bl7NWIjDAt8bwmfFvfGTM9hcfH3ThRUyVXYnIpaHJrNdzPbl+PVo6oGgSkz3j IHgSigsBZVvr8COxWhpst7nw4egwtg557qxkaq275V/RlrNADfgbL+/mDufyDXXx61Ta hTGXtyPi6n2Ng48R5759NM+y/blonp1dgXdloLvd6sIhnDtqTrsCCKHcmXazXixmNbeh mB3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715182297; x=1715787097; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+5P8nTxUJ+jazXDRm3P2ARC74I+oESN6diBymaRMRLw=; b=I7AjL6arGxNmfTz1g9Z5UZ/rFAfFcNmg2efEKvPY54GNx3Nkqvf0ogVyDnajPQozeq 9Cbk5jl/c1x0jenRJ5zHHp9HoJ/nPFby0xklNelJsKesQC6BEztbk92H8Ypzot1UM9hm 8QhMTKcJa+RqnR0W9FRQPWMSr7+D1Rw9Gt+A6k3VLnIqqM9gMq8mFS4m+6YEFb2PiwhG Qi68A1zDbYztazxOPkEY+S/dILkfC15vg+VNiEQ38X17uFQtXZjpHK45WeXDUO73bd1q VaxKCz43yjhSPNr8sdoksEqqCoQtSQkbgBxv08igXoh17WC1/7niBhI4geB+FTC/KeL9 U7gg== X-Gm-Message-State: AOJu0Yykt0cagkM7ptckJT0P0M2SoMVzbQLG5XWSVuqIq10+zCAXebo4 ocX1o9iGkvCfTdxLGVpftfAZI2UjZlgBF641AAK5YZZYp74tpau7dmHPa+1i2qC/t+V+RSDns5G 9 X-Google-Smtp-Source: AGHT+IEm+r4xqEo2MLtBgDIIr3yT+MVwgLGKGd1DbEysPIvj7I59sIclaxzx7Ptbw6ZNTQjvmi3TfA== X-Received: by 2002:a17:906:6d51:b0:a59:9a68:7260 with SMTP id a640c23a62f3a-a59fb9c553amr261753166b.62.1715182297376; Wed, 08 May 2024 08:31:37 -0700 (PDT) Received: from localhost.localdomain (ip5f5aeba4.dynamic.kabel-deutschland.de. [95.90.235.164]) by smtp.gmail.com with ESMTPSA id c17-20020a1709060fd100b00a526a992d82sm7784897ejk.4.2024.05.08.08.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:31:37 -0700 (PDT) From: Ninette Adhikari To: yocto-patches@lists.yoctoproject.org Cc: engineering@neighbourhood.ie, Alex Feyerke Subject: [PATCH 03/12] index.html: clean up html and head sections Date: Wed, 8 May 2024 17:31:18 +0200 Message-ID: <20240508153131.94270-4-ninette@thehoodiefirm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240508153131.94270-1-ninette@thehoodiefirm.com> References: <20240508153131.94270-1-ninette@thehoodiefirm.com> Reply-To: engineering@neighbourhood.ie MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 08 May 2024 15:31:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/94 From: Alex Feyerke Adds favicons, language, charset and title declarations according to best practises, also adds missing closing tags. Signed-off-by: Alex Feyerke --- patch-status/index.html | 9 +++++++++ patch-status/resources/apple-touch-icon.png | Bin 0 -> 7683 bytes patch-status/resources/favicon-16x16.png | Bin 0 -> 792 bytes patch-status/resources/favicon-32x32.png | Bin 0 -> 1246 bytes 4 files changed, 9 insertions(+) create mode 100644 patch-status/resources/apple-touch-icon.png create mode 100644 patch-status/resources/favicon-16x16.png create mode 100644 patch-status/resources/favicon-32x32.png GIT binary patch literal 1246 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+081LOVxpAc7|0^sEVv`)}XA)z;R2 z{`~pfyLY9frKeAy_VV&FGBPwaGIDly-nVbx{{8!%oSf3r)6HChY$Hm|U4lzWO5VSJ z|MBC;_3PLF`}fbp%F(rao!_jtZdIF2teqVk9G*RU*3#1ARVS}*|&}#-378c8vExUN}qQAd?e0==9d-s0+{MpynXKHG? zcJ11~fByyq1ax+Ge)#a=)2B~OO-<(J=2NFm{q^hD>eZ_q9Ua}=+@?>Te);m{A3uJ$ zxVYT9b!)6?a{<#sua{puU z;RjZwzgNDy^nLI3z}ObnN4%?k>|^^-Sbhhni!sUD-Nj~kR^oXehrPtp*OmPRD+dQJ z=g)7#UPZ!4!i_^7}p9VWQiX45fwWy_Y?u}i$HIg1XA3UV@=9u4`cX=ECC5W@8 z#?AFlfA;6woxQ)GF)D}%tl$Vr+SlY9lEuq3E!+9i3R+jgI*TFMQyTKTuMVbH~i^rDlP}@@461vNZ|oDvRpYlr~1T7Z+w$w(=)z zdiCfAZ(UeK^!*!8`V;cE9Q_$~%;l+<9BHm0}p1!I1-{irR z^8M4RU&k7jHbj4(`}*I*iCzp}UjBS~HESdHC;J1jIkna0+@JRgw)Oj8p6=17cw;-W zYJ|^(p46#KT1#~%aJ@3wY2(SS5vx8|Jtc*ytLNOLQ_V)3Z1-D9TUE%t=)!sVqoU$Sf#HW?-n8^Y{}F zM`4(T#wq{PXFQ(m_pwD+_y17GV}vaA`0(oWiWUIYi;~jVmXPoH-(Mg#C1b d#{w@shF9W(C7+y3rvj~D@O1TaS?83{1ORK00eJub literal 0 HcmV?d00001 diff --git a/patch-status/index.html b/patch-status/index.html index a114918e..86a6cf06 100644 --- a/patch-status/index.html +++ b/patch-status/index.html @@ -1,11 +1,17 @@ + + + + + +