From 0b0cdb1652efc14c333f51085c6116c81925750a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 23 Sep 2022 07:54:12 +0900 Subject: [PATCH 1/2] doc: drop remaining references to LGTM.com --- docs/ARCHITECTURE.md | 2 +- docs/CODE_QUALITY.md | 6 +++--- test/README.testsuite | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index aaa3d862676..0a78f0502f0 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -198,6 +198,6 @@ can be found under various directories such as `factory/`, `modprobe.d/`, `netwo ## Utilities for Developers -`tools/`, `coccinelle/`, `.github/`, `.semaphore/`, `.lgtm/`, `.mkosi/` host various +`tools/`, `coccinelle/`, `.github/`, `.semaphore/`, `.mkosi/` host various utilities and scripts that are used by maintainers and developers. They are not shipped or installed. diff --git a/docs/CODE_QUALITY.md b/docs/CODE_QUALITY.md index 7d54a0f2e28..86577a48b57 100644 --- a/docs/CODE_QUALITY.md +++ b/docs/CODE_QUALITY.md @@ -69,9 +69,9 @@ available functionality: 13. When building systemd from a git checkout the build scripts will automatically enable a git commit hook that ensures whitespace cleanliness. -14. [LGTM](https://lgtm.com/) analyzes every commit pushed to `main`. The list - of active alerts can be found - [here](https://lgtm.com/projects/g/systemd/systemd/alerts/?mode=list). +14. [CodeQL](https://codeql.github.com/) analyzes each PR and every commit + pushed to `main`. The list of active alerts can be found + [here](https://github.com/systemd/systemd/security/code-scanning). 15. Each PR is automatically tested with [Address Sanitizer](https://clang.llvm.org/docs/AddressSanitizer.html) and [Undefined Behavior Sanitizer](https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html). diff --git a/test/README.testsuite b/test/README.testsuite index 7e3d6c06237..ac7cd361e75 100644 --- a/test/README.testsuite +++ b/test/README.testsuite @@ -211,10 +211,10 @@ where --test-name= is the name of the test you want to run/debug. The --shell-fail option will pause the execution in case the test fails and shows you the information how to connect to the testbed for further debugging. -Manually running LGTM/CodeQL analysis +Manually running CodeQL analysis ===================================== -This is mostly useful for debugging various CodeQL/LGTM quirks. +This is mostly useful for debugging various CodeQL quirks. Download the CodeQL Bundle from https://github.com/github/codeql-action/releases and unpack it somewhere. From now the 'tutorial' assumes you have the `codeql` @@ -238,9 +238,9 @@ This can occur if the specified build commands failed to compile or process any - For other languages, the --command must specify a "clean" build which compiles all the source code files without reusing existing build artefacts. -If you want to run all queries systemd uses in LGTM/CodeQL, run: +If you want to run all queries systemd uses in CodeQL, run: -$ codeql database analyze codeqldb/ --format csv --output results.csv .github/codeql-custom.qls .lgtm/cpp-queries/*.ql -vvv +$ codeql database analyze codeqldb/ --format csv --output results.csv .github/codeql-custom.qls .github/codeql-queries/*.ql -vvv Note: this will take a while. From 78f14b2ff0b8cd8b3231bb37f7ce9075ee98dfb6 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 23 Sep 2022 07:55:50 +0900 Subject: [PATCH 2/2] README: drop graphs counting issues or PRs These cannot be accessible anymore. --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 43557ba1cad..5d303c242bf 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ System and Service Manager -Count of open issues over time -Count of open pull requests over time [![Semaphore CI 2.0 Build Status](https://the-real-systemd.semaphoreci.com/badges/systemd/branches/main.svg?style=shields)](https://the-real-systemd.semaphoreci.com/projects/systemd)
[![Coverity Scan Status](https://scan.coverity.com/projects/350/badge.svg)](https://scan.coverity.com/projects/350)
[![OSS-Fuzz Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/systemd.svg)](https://oss-fuzz-build-logs.storage.googleapis.com/index.html#systemd)