From patchwork Mon May 13 14:58:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninette Adhikari X-Patchwork-Id: 43509 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 6C8B2C41513 for ; Mon, 13 May 2024 14:59:30 +0000 (UTC) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by mx.groups.io with SMTP id smtpd.web11.62814.1715612366502971693 for ; Mon, 13 May 2024 07:59:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=UAc/9htd; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.218.41, mailfrom: ninette@thehoodiefirm.com) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a59b178b75bso872843366b.0 for ; Mon, 13 May 2024 07:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1715612365; x=1716217165; 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=H8CltSC/cr/a7ObUq5M0lQof9mL6KkkNnQ2EODRqSZg=; b=UAc/9htdqBKhUjIo4O/uWoF/7un2aQ+lsEgh56Q2zstZT9+xMHWr+lp3jWfdSLL5l4 eX5CQlDVu/JKbTBk1m2qTBpTZYnkOQjbGBetY9QI+262i40SOJWNE+OpvnsOnttHMuwh oKGYR6KSUU7X/wUOuHNddPWCukPQeOH5j5t9IHzDbErxEHVcd/VUy2Wp5y/VS3+R0BGO qNfVcKmwiZ1sc1LRmkhxsEhMEZX9hrE/hug092BzTN1S4/VX9EvicdtKGRVAsBaZ2i+4 WQ/6fFfmGqegQqP0lu/O8kKs5ArdFp3drrJ4aKU52WhxWY+D9Cb2rHJUWnj8Kfw2y1Uv EQ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715612365; x=1716217165; 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=H8CltSC/cr/a7ObUq5M0lQof9mL6KkkNnQ2EODRqSZg=; b=bJve3n92cIX/a9CUIPOltBTikVWJvw2+iC7Og3E+Blmc78sn3kM+vCq7KIp4wIqIlT va7BOoCptsO3lQ4wU4ew9TndMkjW4jlI9SDWH3hyl9gU3t2/pH13TPid130y45vJHzfo PhDj8GznOX/pi8Lak2sZfce9yjhdWycNEU4OdUnESzT1zGq6SgUwNjeJLM3SFzlmJ/6n dM71SrnFUzZwj7qxekLcRUYl6FWayhkAad4IW6h/7cWkg6/faYOKByN2Jv/VakCcSof4 QavJAZKTkji09oGVJEmwWhfVVYl/+34WA2bZWUhiP/NlHS8nRUoaTPj/fwHw0Duiu9if zbgA== X-Gm-Message-State: AOJu0YxVYjx2kyBtl9RgRtXDvWP/qcGymtft09uSr0h5k9o6RQPdJ23K 2xLnRnnHsdebQVAswT0pkpgGu2sWLPSdI446ZbQwf6PKxTwzOLqDqKpG2ERFX/EqPDGnZD0iFdw g X-Google-Smtp-Source: AGHT+IGsUmYX5Tz/qVAg0JbOEH5Sv1oBT572ZbJM+TQa279CxVTQ3khoVzWBMJuU5RSiV1i4L4f+CA== X-Received: by 2002:a17:906:7215:b0:a59:9b64:216e with SMTP id a640c23a62f3a-a5a2d5f1a0cmr787023066b.46.1715612365097; Mon, 13 May 2024 07:59:25 -0700 (PDT) Received: from localhost.localdomain ([95.90.235.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c81bfsm607518066b.129.2024.05.13.07.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:59:24 -0700 (PDT) From: Ninette Adhikari To: yocto-patches@lists.yoctoproject.org Cc: engineering@neighbourhood.ie, Alex Feyerke , Ninette Adhikari Subject: [PATCH 01/12] patch-status: add .gitignore file Date: Mon, 13 May 2024 16:58:50 +0200 Message-ID: <20240513145905.4167-2-ninette@thehoodiefirm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240513145905.4167-1-ninette@thehoodiefirm.com> References: <20240513145905.4167-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 ; Mon, 13 May 2024 14:59:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/121 From: Alex Feyerke Don't commit generated files used for local development. Signed-off-by: Ninette Adhikari --- .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 Mon May 13 14:58:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninette Adhikari X-Patchwork-Id: 43510 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 83DCAC25B74 for ; Mon, 13 May 2024 14:59:30 +0000 (UTC) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mx.groups.io with SMTP id smtpd.web10.62669.1715612367710478458 for ; Mon, 13 May 2024 07:59:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=fF2OMBoC; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.218.43, mailfrom: ninette@thehoodiefirm.com) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a5a552c8cbaso491693166b.2 for ; Mon, 13 May 2024 07:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1715612366; x=1716217166; 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=EhH7PZ2o0pmQrsAP433OuLq+9dfa+anm+PYgw8W2H1U=; b=fF2OMBoCITochHrXllWMwCeI3hOFEuRhqiPEzCIfSdDhNvfHpkhtKTmGKBCJfFIgEF e1RRkOuVe3c8hGpuRMfw5R16KFBEOi2+EGvmjpmrPV5C7jGjD183jfRbxOEqNbD6ft2j JDA5Y6K09tdUCHypD3tSbCbhPtel7Lm9dRQ+p4axobDvTIXBlmS2zdUjUm5t+l2otjIn R9tk+Utz1JlDr3Lbk/J4sYNv5eovrnDKUCyLAMu786VPju72ui8vwk0fGZNtaLzO56V8 HygfYoPcuHVHReRq5U43gvGE2staDaBvucJk+IVbJZ/h+v5uXLY5vSwYsx/0pfDG99C+ 8X6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715612366; x=1716217166; 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=EhH7PZ2o0pmQrsAP433OuLq+9dfa+anm+PYgw8W2H1U=; b=K+mVTwFdzUNkYbjyWHMJTv+HSqw1Fr+hbUNe/dMhdR00bL/36qU/RcgzPBxoH9hnGg zH84vqirsLSiwuMvIhP3GPACbODCmHrw3EJk0sy6jqC6P1+cx2rrB8BDbaUJCDmCwGmI m0TTsRUSN8lNZdbQq45g/SZ5kAp08FYiiaSLneOOKBEng2d2BktMGrNpQpochEUZkY8/ lo7ovcLv/3YG8UrOh5QmAGhfRt/Jj7tF9obRDWg9dm+5RHG4Aui7FSppEQR2cosle0f0 Wy8a8qvjuRy6RqgyQDPUn3xD7gUXior6nevNpJe02PAnsUC+KKo5sbW5fnXQaNX+DuAh 09Nw== X-Gm-Message-State: AOJu0YziAXZzq6PcEYom8aDOO1LqXQ/tiuGih+8wQe3f2r0Vh0sI7ilS /S6eyS6HCxC/hA+Ghb6JqakxxwA43K6dkP5WNXlBoxO62PhO2hkNH0GMjlDDpETkWOTN3MuBxWP v X-Google-Smtp-Source: AGHT+IE4HkU4OMOOKcFWOl0vgMx5ncf0VfP0RnEiAQPViU9oM750YJV7IPbCPeCv/MyqF35h5C8Qbg== X-Received: by 2002:a17:906:7f8a:b0:a59:b6a8:4d7a with SMTP id a640c23a62f3a-a5a2d5d3d22mr666513866b.43.1715612366140; Mon, 13 May 2024 07:59:26 -0700 (PDT) Received: from localhost.localdomain ([95.90.235.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c81bfsm607518066b.129.2024.05.13.07.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:59:26 -0700 (PDT) From: Ninette Adhikari To: yocto-patches@lists.yoctoproject.org Cc: engineering@neighbourhood.ie, Alex Feyerke , Ninette Adhikari Subject: [PATCH 02/12] patch-status: add README.md file Date: Mon, 13 May 2024 16:58:51 +0200 Message-ID: <20240513145905.4167-3-ninette@thehoodiefirm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240513145905.4167-1-ninette@thehoodiefirm.com> References: <20240513145905.4167-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 ; Mon, 13 May 2024 14:59:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/122 From: Alex Feyerke Add information on running locally for development, including generating test data from yocto-autobuilder-helper. Signed-off-by: Ninette Adhikari --- 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 Mon May 13 14:58:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninette Adhikari X-Patchwork-Id: 43511 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 837ACC25B78 for ; Mon, 13 May 2024 14:59:30 +0000 (UTC) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web10.62672.1715612369245512970 for ; Mon, 13 May 2024 07:59:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=BvXuexk8; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.167.41, mailfrom: ninette@thehoodiefirm.com) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-51f60817e34so4958106e87.2 for ; Mon, 13 May 2024 07:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1715612367; x=1716217167; 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=NZclM5bEAapKvaHrIzh5+UQ11g5qUC46iGr2aDbqBL8=; b=BvXuexk8wkSll1NIO8yu3T0IEWzw+Vd95WVJyP+zg/+gI6ah3kSdVkUDWyDSuv+sXI FK8bVzjwCwrL+e1y26BxpGoGiapFqq8hhnaoFgQNnK5Zn0GOxhvpMxHbgKdB6dtseDFP RvpChRuRQGXZuUKk5wRszanewt1kzgyDfjqlMophyMs1RJBFlkOGrKvrJMbTyJs4aCJd a8GF9A8u3lWHKrDmYbqIu95j2RyHVcS16uyUHy/OlSyIl9VCCE1WXY31eftpyNadG8DN 8UZWVww+2c0+kaXCLATrQF1SPXxtBkTT8iLZbbJgmLPC10JDQSDjgpMvpvkAlEmLnl8X newg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715612367; x=1716217167; 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=NZclM5bEAapKvaHrIzh5+UQ11g5qUC46iGr2aDbqBL8=; b=vsdVrK79/QW+fsnR3N2reYioBeS8wGwP9/1gthBA+UX1iG0Xe/Pj/NYeZZMChVVlS2 Yg0rWrqz0dV4gXRUDvcNPz5/9oe547LG83grL/yk5nhz0Jfzwor4NwNU35I5qkgKyXyM Er5TutHbstC2erSck+vS9e/kyZPH2KAfRTnMijkBmjL/2efC18gbN6s3QUy96o4cJFTz dxs4c14h01Q9nmW6pGoxPGCnCwwLZeGeGvAK3VnUeHoxfwABaHHOu9e/NvIX3ratp8b5 KGlQ6mmV205fL6YMhp1+jvOhjAPYvuXP24vpo6Hho417BWOQeU5cP6NBuHHEVuYZsI9y +Jxg== X-Gm-Message-State: AOJu0YzRZ6b+pU79hCIj2RH0T65ZdsD6DAOV5P1DOirg0yaWCpaQfs4g 6+bpxRd4Rtvu6UpF+LWjW/WTyGce0u9m4ed4p5YMXq31Fxz59VIj4JZff+Hcw/253CBJ4SSxO8z E X-Google-Smtp-Source: AGHT+IH3KwDomSumo96KJK86HvMxAEAE68HsK29gDQidk2FZmfO48zVG8cBHI42SwBeMUQJZ4xCZYA== X-Received: by 2002:a05:6512:3e0e:b0:522:2edc:c858 with SMTP id 2adb3069b0e04-5224b73a706mr4484915e87.34.1715612367303; Mon, 13 May 2024 07:59:27 -0700 (PDT) Received: from localhost.localdomain ([95.90.235.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c81bfsm607518066b.129.2024.05.13.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:59:27 -0700 (PDT) From: Ninette Adhikari To: yocto-patches@lists.yoctoproject.org Cc: engineering@neighbourhood.ie, Alex Feyerke , Ninette Adhikari Subject: [PATCH 03/12] index.html: clean up html and head sections Date: Mon, 13 May 2024 16:58:52 +0200 Message-ID: <20240513145905.4167-4-ninette@thehoodiefirm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240513145905.4167-1-ninette@thehoodiefirm.com> References: <20240513145905.4167-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 ; Mon, 13 May 2024 14:59:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/123 From: Alex Feyerke Adds favicons, language, charset and title declarations according to best practises, also adds missing closing tags. Signed-off-by: Ninette Adhikari --- 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 @@ + + + + + +