Repository navigation
Commit 7f454d8
authored
chore: link the FOSSA license scan for CLOMonitor (cozystack#4899)
## What this PR does
Adds a root `.clomonitor.yml` that points CLOMonitor's
`license_scanning` check at the FOSSA project for this repository. This
is step 2 of cozystack#4758.
```yaml
licenseScanning:
url: https://app.fossa.com/projects/git%2Bgithub.com%2Fcozystack%2Fcozystack
```
- **Why a metadata file rather than a badge.** The check passes on a
FOSSA or Snyk link in the README or on a URL in `.clomonitor.yml`
([check
docs](https://github.com/cncf/clomonitor/blob/main/docs/checks.md#license-scanning)).
cozystack#4222 trimmed the README badge row, so this uses the file.
- **A correction to cozystack#4758.** The key is `licenseScanning`, in camelCase.
CLOMonitor deserialises the file with serde `rename_all = "camelCase"`
([`metadata.rs`](https://github.com/cncf/clomonitor/blob/main/clomonitor-core/src/linter/metadata.rs),
[template](https://github.com/cncf/clomonitor/blob/main/docs/metadata/.clomonitor.yml)).
The snake_case `license_scanning` I proposed in the issue would have
been ignored silently.
- **Precondition from cozystack#4758 is met.** The FOSSA project is now analysed
at a current `main` revision (`last_analyzed_revision` = `3a463609e`,
2026-10-12, moved past `bdc3525c9`). It has 0 unresolved licensing
issues, and its update hook is the GitHub integration.
Checked: the file parses to exactly that one key, the URL matches
CLOMonitor's FOSSA regexp, and the project page is public (HTTP 200).
Expected effect: `license_scanning` passes on the next CLOMonitor scan,
worth about +4 to the project score.
This does not close cozystack#4758. Per @tym83, licensing findings from the fresh
scans stay to be triaged there.
### Downstream repositories
<!-- Walked the trigger map in docs/agents/contributing.md against the
diff: one new root metadata file read only by CLOMonitor; it touches no
package, values file, CRD, asset name, hack/ script or namespace. -->
- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
NONE
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Added repository metadata describing license scanning and linking to
its results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments