# 9.7 peipkg.repository.reconfigured

_Peios / Using Peios / Events / Package Events_

> The record that a repository add changed one of an existing repository's trust-relevant settings.

- **Event type:** `peipkg.repository.reconfigured`
- **Defined in:** `peipkg.evman`
- **Tier:** essential
- **Gating:** none — every trust-relevant change is recorded
- **Cardinality:** once per changed setting

The record that a repository add changed one of an existing repository's
trust-relevant settings. One record for each setting that changed, written
after the add's own `peipkg.repository.added`. The settings are
`signature_policy`, `allow_insecure_transport`, `max_trusted_age_days`,
`min_index_version`, `max_index_staleness_days` and `trust_anchors`.

Only a change made through the flags of `repo add` is seen. An operator who
edits the repository file directly and re-runs the ceremony leaves nothing
to compare.

Replaces `peipkg.config-change`.

## 9.7.1 Fields

| Field | Type | Presence | Meaning |
|---|---|---|---|
| [`subject.token.sid`](/peios/using-peios/events/field-index/fields-subject.md#subject.token.sid) | `bin.sid` | required | The user SID of the effective token the operation ran under. |
| [`object.repository.name`](/peios/using-peios/events/field-index/fields-object.md#object.repository.name) | `str` | required | The repository the event is about, by the name it is configured under. |
| [`config.name`](/peios/using-peios/events/field-index/fields-config.md#config.name) | `str` | required | The setting's name as written in the repository file. |
| [`config.text`](/peios/using-peios/events/field-index/fields-config.md#config.text) | `str` | when `config.name == signature_policy` | A setting's value in force, where the value is not an integer: a string, or the textual rendering of a value of another registry type. |
| [`config.text-previous`](/peios/using-peios/events/field-index/fields-config.md#config.text-previous) | `str` | when `config.name == signature_policy` | The text value a change replaced, beside `config.text`. |
| [`config.value`](/peios/using-peios/events/field-index/fields-config.md#config.value) | `uint` | optional | The setting in force, for every setting except `signature_policy`: a number of days or an index version as written, 0 for a setting left at its default; 1 or 0 for `allow_insecure_transport`; for `trust_anchors`, how many anchors are configured, so replacing one anchor with another records equal counts. |
| [`config.value-previous`](/peios/using-peios/events/field-index/fields-config.md#config.value-previous) | `uint` | optional | The setting it replaced, in the same form as `config.value`. |

Every record also carries the header fields of [the envelope](/peios/using-peios/events/introduction/the-envelope.md), which no payload repeats.

*Generated from `peipkg.evman` by `pkm/tools/gen-events-book.py`. Edit the fragment, not this page.*
