Comparing changes
Open a pull request
base repository: NixOS/nixops
base: ab0780d7c152
head repository: NixOS/nixops
compare: 9962fe4dbae9
- 14 commits
- 14 files changed
- 4 contributors
Commits on Apr 23, 2020
-
Move from xml intermediate Nix representation to JSON
This change is intended to make life easier for plugin authors. We have removed the XML parameter to ResourceDefinition and you are now only provided with a name & a dict containing the evaluated values.
-
keys: apply toString to all keyFiles
With nix-instantiate --xml, the output of evaluation of a path shows the original path to the file. With --json, the output shows the path if it were copied to the Nix store. Applying toString in the expression forces Nix to skip copying it to the store under any circumstance.
-
-
Remove xml_expr_to_python function
It's no longer required since moving to JSON representation.
-
-
-
-
-
-
ImmutableMapping: support encoding as JSON
Co-authored-by: Adam Höse <adam.hose@tweag.io>
-
deployment.keys: Applying toString on null results in empty string
Fix assertion to check for empty string.
-
Add type annotations to
deployment.keys
Also fix type checking in ImmutableValidatedObject even when an attribute is _not_ passed to the constructor. Co-authored-by: Graham Christensen <graham.christensen@tweag.io>
-
Merge pull request #1275 from adisbladis/xml-to-json
Move from xml intermediate Nix representation to JSON
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ab0780d7c152...9962fe4dbae9