Commit f3fa1a4
authored
Release: Jira diff output, attribute preservation, RADb mirroring, and housekeeping (#3)
* Output registry changes as a Jira-friendly diff block
Replaces per-route print statements with a Summary collector that emits a
{code:diff} block at the end of each run. Created routes render green (+),
deleted routes render red (-), and updated routes appear as neutral context
lines. Dry-run mode is indicated in the header and uses the same prefixes
to show what would change.
Client dry-run return values are now 'dry-run-create', 'dry-run-update',
and 'dry-run-delete' so callers can distinguish the intended operation.
* Preserve unmanaged attributes on update and mirror RIPE/ARIN changes to RADb
- Replace exists-check with full fetch on update so existing unmanaged attributes
(remarks, admin-c, tech-c, etc.) are preserved in PUT/update payloads
- Add delete_route() to RIPE, ARIN, and RADb clients
- Mirror every RIPE and ARIN route change (create/update/delete) to RADb
automatically when a radb section is present in the config
- Skip RADb-only routes that were already mirrored to avoid double-syncing
- Document delete:true flag, automatic mirroring, and attribute preservation in README
* Added Mozilla’s Code of Conduct
Public repo in one of Mozilla’s GH Orgs should include their Code of Conduct file.
* Fix ruff formatting
* Add config.example.yaml with annotated examples for all three registries1 parent d43e6b6 commit f3fa1a4
1 file changed
Lines changed: 29 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
7 | | - | |
8 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | | - | |
11 | | - | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
22 | | - | |
| 35 | + | |
23 | 36 | | |
24 | 37 | | |
| 38 | + | |
25 | 39 | | |
26 | 40 | | |
27 | 41 | | |
28 | 42 | | |
29 | 43 | | |
30 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
31 | 47 | | |
32 | 48 | | |
33 | 49 | | |
34 | 50 | | |
35 | 51 | | |
36 | 52 | | |
37 | 53 | | |
38 | | - | |
| 54 | + | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
45 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
46 | 65 | | |
47 | 66 | | |
48 | 67 | | |
49 | 68 | | |
50 | 69 | | |
51 | 70 | | |
52 | 71 | | |
| 72 | + | |
53 | 73 | | |
54 | | - | |
| 74 | + | |
55 | 75 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 76 | + | |
0 commit comments