feat(git): bounded clones, Git LFS made visible, app build output left out (#450)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Dashboard (push) Successful in 5m33s
CI / Deploy MCP (push) Successful in 4m11s
CI / Deploy Agent (push) Successful in 7m27s

This commit was merged in pull request #450.
This commit is contained in:
sharang committed 2026-10-05 14:05:19 +00:00
1 parent e92c395e50
commit 2cbd98e5c0
7 files changed
+345 -10

No files matched your search

+14
View File
@@ -157,6 +157,20 @@ If your `.gitmodules` uses SSH URLs, change them to their HTTPS form, e.g.
`git@github.com:org/lib.git` becomes `https://github.com/org/lib.git`.
:::
## Large Repositories and Git LFS
A clone or fetch may take up to **30 minutes** and download up to **4 GB**.
A repository beyond that ends the scan with a message saying which limit it
hit; the operator can raise both (`GIT_CLONE_TIMEOUT_SECS`,
`GIT_CLONE_MAX_MB`). The full history is cloned, so the secret scan also finds
secrets in earlier commits.
Files kept in **Git LFS** (`filter=lfs` in `.gitattributes`) are not
downloaded: they are usually binary assets (graphics, 3D models, libraries)
that the scanners do not read. The scan run lists the LFS patterns under
**Nicht ausgeführt** as **Git-LFS-Dateien**, so it stays visible that their
content was not checked.
## The Target's Page
A click on a target in the **Prüfobjekte** list opens its page. At the top are
+6 -1
View File
@@ -70,7 +70,12 @@ lint). What counts as vendor code:
`_HAL_Driver` / `_StdPeriph_Driver`;
- ST's generated layouts (`Drivers/` next to `Core/`, `Middlewares/`);
- a vendored library wherever it sits, recognised by the files it always ships
(Mbed TLS, lwIP, the FreeRTOS kernel, wolfSSL, FatFs).
(Mbed TLS, lwIP, the FreeRTOS kernel, wolfSSL, FatFs);
- build output and installed third-party code of apps, when committed:
Gradle's `build/` beside a `build.gradle` and `.gradle/`, `Pods/` beside a
`Podfile`, `Carthage/` beside a `Cartfile`, `DerivedData/`, and in a Unity
project (beside `ProjectSettings/`) `Library/`, `Temp/`, `Obj/`, `Logs/`,
`Builds/`, `UserSettings/` and the Asset Store packages in `Assets/Plugins/`.
Your own `src/drivers/` is not excluded. The scan run lists the excluded
directories under **Nicht ausgeführt** as **Herstellercode (HAL, CMSIS,