From 7da93ec140d05cecf5b1a69722be3f03b55d1f27 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Thu, 5 Dec 2024 08:43:58 -0800 Subject: [PATCH] Chore: Update pre-commit hooks and docs pre-commit updates: github.com/pre-commit/pre-commit-hooks: v4.6.0 -> v5.0.0 (frozen) github.com/astral-sh/ruff-pre-commit: v0.4.7 -> v0.8.2 (frozen) github.com/pycqa/bandit: v1.7.8 -> 1.8.0 (frozen) github.com/rhysd/actionlint: v1.7.1 -> v1.7.4 (frozen) github.com/fsfe/reuse-tool: v3.0.2 -> v5.0.2 (frozen) Docs updates: Datadog monitoring links are no longer available and must be removed. As we need to also update the pre-commit at the same time both changes are being included in this commit. Remove ASWF Jira as they have not used or had one for a long time Signed-off-by: Andrew Grimberg Change-Id: I6de88093bad8ed876d0df464f3154f1edf20da91 --- .pre-commit-config.yaml | 10 +++++----- docs/infra/inventory.rst | 18 +----------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b746f2b..f3f8233 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 + rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0 hooks: - id: check-executables-have-shebangs - id: check-merge-conflict @@ -20,7 +20,7 @@ repos: - id: gitlint - repo: https://github.com/astral-sh/ruff-pre-commit - rev: f42857794802b6a77b0e66f08803575aa80d3c8f # frozen: v0.4.7 + rev: 8b76f04e7e5a9cd259e9d1db7799599355f97cdf # frozen: v0.8.2 hooks: - id: ruff files: ^(docs)/.+\.py$ @@ -30,7 +30,7 @@ repos: - repo: https://github.com/pycqa/bandit - rev: 22b4226078b041a16bf05163347a66ab4dbcf3a5 # frozen: 1.7.8 + rev: 8fd258abbac759d62863779f946d6a88e8eabb0f # frozen: 1.8.0 hooks: - id: bandit # Bandit does not need to run on test code @@ -50,11 +50,11 @@ repos: exclude: docs/infra/gerrit.rst|docs/best-practices.rst - repo: https://github.com/rhysd/actionlint - rev: 62dc61a45fc95efe8c800af7a557ab0b9165d63b # frozen: v1.7.1 + rev: 5db9d9cde2f3deb5035dea3e45f0a9fff2f29448 # frozen: v1.7.4 hooks: - id: actionlint - repo: https://github.com/fsfe/reuse-tool - rev: bafd6d7683dec1189d7a477489f6b8770bffc0dd # frozen: v3.0.2 + rev: 60dfc6b2ad9e1f3eabfbcf3a0dc202ee89dc5a00 # frozen: v5.0.2 hooks: - id: reuse diff --git a/docs/infra/inventory.rst b/docs/infra/inventory.rst index 3238f27..ec1980d 100644 --- a/docs/infra/inventory.rst +++ b/docs/infra/inventory.rst @@ -16,7 +16,6 @@ Inventory - Build logs - Docs - Sonar - - Monitoring * - AGL - | https://gerrit.automotivelinux.org @@ -28,7 +27,6 @@ Inventory - | https://wiki.automotivelinux.org | https://docs.automotivelinux.org - N/A - - `AGL Jenkins `_ * - Akraino - | https://gerrit.akraino.org @@ -41,19 +39,17 @@ Inventory - | https://logs.akraino.org - | https://wiki.akraino.org - https://sonarcloud.io/organizations/akraino-edge-stack/projects - - `Akraino Jenkins `_ * - ASWF - https://github.com/AcademySoftwareFoundation - `ASWF GitHub Actions `_ - - https://aswf.atlassian.net + - N/A - | `Artifactory `_ | `Docker Hub `_ | `GitHub Releases for source releases `_ - N/A - https://wiki.aswf.io - https://sonarcloud.io/organizations/academysoftwarefoundation/projects - - N/A * - EdgeX - https://github.com/edgexfoundry @@ -66,7 +62,6 @@ Inventory - | https://wiki.edgexfoundry.org | https://docs.edgexfoundry.org - https://sonarcloud.io/organizations/edgexfoundry/projects - - `EdgeX Jenkins `_ * - FD.io - | https://gerrit.fd.io @@ -79,7 +74,6 @@ Inventory - | https://wiki.fd.io | https://fd.io/documentation - https://sonarcloud.io/organizations/fdio/projects - - `FD.io Jenkins `_ * - HyperLedger - https://github.com/hyperledger @@ -91,7 +85,6 @@ Inventory - | https://wiki.hyperledger.org | https://hyperledger-fabric.readthedocs.io - N/A - - `Hyperledger Jenkins `_ * - LF Broadband - | https://gerrit.opencord.org @@ -103,7 +96,6 @@ Inventory - | https://docs.voltha.org/master/index.html | https://lf-broadband.atlassian.net/wiki/spaces/HOME/overview - N/A - - N/A * - LF Edge - https://github.com/lf-edge @@ -113,7 +105,6 @@ Inventory - N/A - https://wiki.lfedge.org - N/A - - `LF Edge Jenkins `_ * - LF RelEng - | https://gerrit.linuxfoundation.org @@ -125,7 +116,6 @@ Inventory - N/A - https://docs.releng.linuxfoundation.org - N/A - - N/A * - ODPi - https://github.com/odpi @@ -136,7 +126,6 @@ Inventory - N/A - N/A - https://sonarcloud.io/organizations/odpi/projects - - N/A * - ONAP - | https://gerrit.onap.org @@ -150,7 +139,6 @@ Inventory - | https://wiki.onap.org | https://docs.onap.org - https://sonarcloud.io/organizations/onap/projects - - `ONAP Jenkins `_ * - OpenDaylight - | https://git.opendaylight.org/gerrit @@ -164,7 +152,6 @@ Inventory - | https://wiki.opendaylight.org | https://docs.opendaylight.org - https://sonarcloud.io/organizations/opendaylight/projects - - `ODL Jenkins `_ * - Anuket - | https://gerrit.opnfv.org @@ -177,7 +164,6 @@ Inventory - | https://wiki.anuket.io | https://docs.anuket.io - N/A - - `Anuket Jenkins `_ * - O-RAN - | https://gerrit.o-ran-sc.org @@ -191,7 +177,6 @@ Inventory - | https://wiki.o-ran-sc.org | https://docs.o-ran-sc.org - https://sonarcloud.io/organizations/o-ran-sc/projects - - `O-RAN Jenkins `_ * - Zowe - https://github.com/zowe @@ -202,4 +187,3 @@ Inventory - | https://wiki.openmainframeproject.org | https://docs.zowe.org - https://sonarcloud.io/organizations/zowe/projects - - N/A -- 2.16.6