You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .fleetControl/schemaGeneration/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This directory contains the Python scripts that walk
8
8
## Files
9
9
10
10
| File | Description |
11
-
|------|-------------|
11
+
|---|---|
12
12
|`generate-schema.py`| Per-push regenerator. Reads the live agent settings tree, writes `config.json`. Never touches `configurationDefinitions.yml`. |
13
13
|`bump-schema-version.py`| Release-time version bumper. Compares the schema at a prior git ref to the current schema and writes a new version into `configurationDefinitions.yml`. |
14
14
|`schema_diff.py`| Shared library (no `main`). Holds the diff classification (`classify_changes`), bump arithmetic (`recommend_bump`, `apply_bump`, `bump_version`), and schema loading (`load_existing`). Imported by both top-level scripts. |
@@ -229,13 +229,13 @@ The `.*` suffix matches both the prefix itself and any descendant.
229
229
### Generator CLI (`generate-schema.py`)
230
230
231
231
| Option | Description |
232
-
|--------|-------------|
232
+
|---|---|
233
233
|`--force`| Overwrite the schema without comparing to the existing one. Always exits 0. |
234
234
235
235
### Bumper CLI (`bump-schema-version.py`)
236
236
237
237
| Option | Description |
238
-
|--------|-------------|
238
+
|---|---|
239
239
|`--since=<ref>`| Required. Compare the current schema to the schema at `<ref>` and recommend a bump. |
240
240
|`--ci`| Write the bumped version to `configurationDefinitions.yml`. Without this, the script just prints the recommendation. |
241
241
@@ -244,15 +244,15 @@ The `.*` suffix matches both the prefix itself and any descendant.
244
244
### Generator exit codes (`generate-schema.py`)
245
245
246
246
| Code | Meaning |
247
-
|------|---------|
247
+
|---|---|
248
248
| 0 | No schema changes (or first run, or `--force` mode). |
249
249
| 1 | Schema regenerated and on-disk differed (CI should commit). |
0 commit comments