-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh admxgen golden files after yaml.v3 update
With yaml.v3 it appears the formatting has changed and there's no way to revert back to the previous implementation. See go-yaml/yaml#661. Because of this, the easiest thing we can do is refresh the files to match the v3 output.
- Loading branch information
1 parent
deda319
commit c1784ff
Showing
32 changed files
with
1,311 additions
and
1,314 deletions.
There are no files selected for viewing
52 changes: 26 additions & 26 deletions
52
...nerateExpandedCategories/golden/allow_policy_referenced_but_not_available_in_any_releases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
- displayname: Category1 Display Name | ||
parent: ubuntu:Desktop | ||
policies: | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-simple | ||
explaintext: |- | ||
description | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-simple | ||
explaintext: |- | ||
description | ||
|
||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-simple | ||
- Default: 'Default Value' | ||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-simple | ||
- Default: 'Default Value' | ||
|
||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
|
||
Supported on Ubuntu 20.04. | ||
metaenabled: '{"20.04":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"20.04":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-simple | ||
displayname: summary | ||
explaintext: description | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "20.04" | ||
type: dconf | ||
Supported on Ubuntu 20.04. | ||
metaenabled: '{"20.04":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"20.04":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-simple | ||
displayname: summary | ||
explaintext: description | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "20.04" | ||
type: dconf |
100 changes: 50 additions & 50 deletions
100
...rnal/ad/admxgen/testdata/TestGenerateExpandedCategories/golden/applicable_to_all_releases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
- displayname: Category1 Display Name | ||
parent: ubuntu:Desktop | ||
policies: | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-simple | ||
explaintext: |- | ||
description | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-simple | ||
explaintext: |- | ||
description | ||
|
||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-simple | ||
- Default: 'Default Value' | ||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-simple | ||
- Default: 'Default Value' | ||
|
||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
metaenabled: '{"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-simple | ||
displayname: summary | ||
explaintext: description | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
type: dconf | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-other | ||
explaintext: |- | ||
other description | ||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
metaenabled: '{"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-simple | ||
displayname: summary | ||
explaintext: description | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
type: dconf | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-other | ||
explaintext: |- | ||
other description | ||
|
||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-other | ||
- Default: 'Default Value' | ||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-other | ||
- Default: 'Default Value' | ||
|
||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
|
||
Supported on Ubuntu 20.04. | ||
metaenabled: '{"20.04":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"20.04":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-other | ||
displayname: summary other | ||
explaintext: other description | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "20.04" | ||
type: dconf | ||
Supported on Ubuntu 20.04. | ||
metaenabled: '{"20.04":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"20.04":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-other | ||
displayname: summary other | ||
explaintext: other description | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "20.04" | ||
type: dconf |
160 changes: 80 additions & 80 deletions
160
...l/ad/admxgen/testdata/TestGenerateExpandedCategories/golden/available_on_one_release_only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,89 @@ | ||
- displayname: Category1 Display Name | ||
parent: ubuntu:Desktop | ||
policies: | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-common | ||
explaintext: |- | ||
description common | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-common | ||
explaintext: |- | ||
description common | ||
|
||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-common | ||
- Default: 'Default Value common' | ||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-common | ||
- Default: 'Default Value common' | ||
|
||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
|
||
Supported on Ubuntu 20.04, 21.10. | ||
metaenabled: '{"20.04":{"empty":"''''","meta":"s"},"21.10":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"20.04":{"meta":"s"},"21.10":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
"20.04": | ||
key: /org/gnome/desktop/policy-common | ||
displayname: summary common | ||
explaintext: description common | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value common''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "20.04" | ||
type: dconf | ||
"21.10": | ||
key: /org/gnome/desktop/policy-common | ||
displayname: summary common | ||
explaintext: description common | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value common''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "21.10" | ||
type: dconf | ||
all: | ||
key: /org/gnome/desktop/policy-common | ||
displayname: summary common | ||
explaintext: description common | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value common''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "21.10" | ||
type: dconf | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-only-21.10 | ||
explaintext: |- | ||
description policy-only-21.10 | ||
Supported on Ubuntu 20.04, 21.10. | ||
metaenabled: '{"20.04":{"empty":"''''","meta":"s"},"21.10":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"20.04":{"meta":"s"},"21.10":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
"20.04": | ||
key: /org/gnome/desktop/policy-common | ||
displayname: summary common | ||
explaintext: description common | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value common''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "20.04" | ||
type: dconf | ||
"21.10": | ||
key: /org/gnome/desktop/policy-common | ||
displayname: summary common | ||
explaintext: description common | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value common''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "21.10" | ||
type: dconf | ||
all: | ||
key: /org/gnome/desktop/policy-common | ||
displayname: summary common | ||
explaintext: description common | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value common''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "21.10" | ||
type: dconf | ||
- key: Software\Policies\Ubuntu\dconf\org\gnome\desktop\policy-only-21.10 | ||
explaintext: |- | ||
description policy-only-21.10 | ||
|
||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-only-21.10 | ||
- Default: 'Default Value policy-only-21.10' | ||
- Type: dconf | ||
- Key: /org/gnome/desktop/policy-only-21.10 | ||
- Default: 'Default Value policy-only-21.10' | ||
|
||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
Note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
|
||
Supported on Ubuntu 21.10. | ||
metaenabled: '{"21.10":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"21.10":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-only-21.10 | ||
displayname: summary policy-only-21.10 | ||
explaintext: description policy-only-21.10 | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value policy-only-21.10''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "21.10" | ||
type: dconf | ||
Supported on Ubuntu 21.10. | ||
metaenabled: '{"21.10":{"empty":"''''","meta":"s"},"all":{"empty":"''''","meta":"s"}}' | ||
metadisabled: '{"21.10":{"meta":"s"},"all":{"meta":"s"}}' | ||
class: Machine | ||
releaseselements: | ||
all: | ||
key: /org/gnome/desktop/policy-only-21.10 | ||
displayname: summary policy-only-21.10 | ||
explaintext: description policy-only-21.10 | ||
elementtype: text | ||
metaenabled: | ||
empty: '''''' | ||
meta: s | ||
metadisabled: | ||
meta: s | ||
default: '''Default Value policy-only-21.10''' | ||
note: default system value is used for "Not Configured" and enforced if "Disabled". | ||
release: "21.10" | ||
type: dconf |
Oops, something went wrong.