Skip to content

Commit

Permalink
monitoring.yml: Add section for go-task helper
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjharder committed Apr 24, 2024
1 parent 260c9c2 commit 6fefef3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/packaging/monitoring.yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ Checking for new releases is done by mapping the Solus package to an [Anitya](ht

Checking for security advisories ([CVEs](https://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures)), is done by mapping the Solus package to a _Common Platform Enumeration Name_ ([CPE](https://nvd.nist.gov/products/cpe)) from the National Vulnerability Database.

## Adding monitoring.yml to an existing package

To add a monitoring.yml file to an existing package you can use the following `go-task` commands to add a template file, starting from within the Packages repository:

```bash
go-task add-monitoring
```

Which will create a file with the following contents:

```text
releases:
id: null # Check https://release-monitoring.org/
rss: null # For example https://github.com/PyO3/maturin/releases.atom
# No known CPE, checked 2024-04-24
security:
cpe: ~
```
You must, at minimum, fill out `id` and `security`. `rss` should be deleted if no feed is available.

## systemd as an example

Let's look at the `monitoring.yml` file for `systemd` as an example.
Expand Down

0 comments on commit 6fefef3

Please sign in to comment.