Skip to content

Commit c969014

Browse files
committed
Merge branch 'develop' into mo/refactor/persistence-snapshot-reads
# Conflicts: # data/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/MetadataDAOImpl.kt # data/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/db/UserDatabaseBuilder.kt
2 parents f4b7a94 + 16da542 commit c969014

283 files changed

Lines changed: 7969 additions & 1681 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,16 @@ updates:
2727
interval: "weekly"
2828
commit-message:
2929
prefix: "chore(deps): [WPB-9777] "
30+
31+
# Pinned, hash-locked SBOM toolchain for scripts/generate-sbom.sh.
32+
# Dependabot bumps the pins and regenerates the --hash lines automatically,
33+
# so the lockfile stays current without losing supply-chain integrity.
34+
- package-ecosystem: "pip"
35+
open-pull-requests-limit: 2
36+
directory: "/scripts"
37+
schedule:
38+
interval: "weekly"
39+
cooldown:
40+
default-days: 14
41+
commit-message:
42+
prefix: "chore(deps): [WPB-9777] "

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,30 @@ Each GitHub release upload also includes a per-bundle SHA-256 manifest
6666
(`logic-android-aar-SHA256SUMS.txt` / `logic-kmp-SHA256SUMS.txt`) and a matching
6767
GitHub build provenance bundle (`*-provenance-bundle.json`).
6868

69+
### Generating an SBOM
70+
71+
For **file-level** license/notice
72+
scan of every third-party dependency (not just coordinates):
73+
74+
```bash
75+
./scripts/generate-sbom.sh
76+
```
77+
78+
The script runs the `:collectSbomArtifacts` Gradle task to materialise every
79+
runtime artifact (JVM jars, **unpacked** Android AARs, Kotlin/Native klibs,
80+
resolved npm packages from `kotlin-js-store`, and the prebuilt AVS native
81+
libs) under `build/sbom/artifacts/`, then drives
82+
[ScanCode-Toolkit](https://github.com/aboutcode-org/scancode-toolkit)
83+
(`extractcode` + `scancode`) to produce JSON, SPDX, CycloneDX, and HTML
84+
reports under `build/sbom/`.
85+
86+
Scope is restricted to the licensable subset of modules: `:sample:*`,
87+
`:tools:*`, `:test:*`, and `:data:persistence-test` are excluded. Run on an
88+
**Apple Silicon Mac** to include iOS/macOS native dependencies; on other
89+
hosts those targets resolve empty and the SBOM will omit them.
90+
91+
### CLI
92+
6993
The `cli` can be executed on the terminal of any machine that
7094
satisfies the dependencies mentioned above, and is capable of actions like:
7195
- Logging in

0 commit comments

Comments
 (0)