Commit 66c5a80
feat: flag deprecated IPMasquerade= boolean values
A second user of the deprecation layer, found by scanning systemd.network(5):
the boolean forms of IPMasquerade= "are now deprecated. Please use one of the
values above" (ipv4/ipv6/both/no). The validator already enumerated the eleven
boolean aliases as accepted values; mark them deprecated so they get the weak
warning (truthy -> use "ipv4", falsy -> use "no"). Demonstrates the layer is
generic across grammars, not AF-specific.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 17f263b commit 66c5a80
2 files changed
Lines changed: 23 additions & 0 deletions
File tree
- src
- main/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/semanticdata/optionvalues/ai
- test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/semanticdata/optionvalues/grammar
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
25 | 36 | | |
26 | 37 | | |
27 | 38 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 | | |
0 commit comments