feat(git): bounded clones, Git LFS made visible, app build output left out (#450)
This commit was merged in pull request #450.
This commit is contained in:
1 parent
e92c395e50
commit
2cbd98e5c0
7 files changed
+345
-10
No files matched your search
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user