| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge pull request #178365 from fgaz/lib.formats.keyValue•••lib.formats.keyValue: init | Aaron Andersen | 2022-07-01 | 2 | -0/+94 |
| |\ |
|
| | * | formats.keyValue: add tests | Francesco Gazzetta | 2022-06-20 | 1 | -0/+45 |
| | * | lib.formats.keyValue: init | Francesco Gazzetta | 2022-06-18 | 1 | -0/+49 |
| * | | pkgs-lib: fix JSON, YAML and TOML cross-compilation•••Splicing of nativeBuildInputs doesn't work unless callPackage is used, so
the generators were attempting to use host platform tools at build time.
| Ben Wolsieffer | 2022-06-19 | 1 | -13/+13 |
| |/ |
|
| * | treewide: remove usage of runCommandNoCC aliases | Sandro Jäckel | 2022-06-07 | 1 | -1/+1 |
| * | Merge pull request #104457 from ju1m/public-inbox•••Update public-inbox to 1.8.0 and add systemd services | Silvan Mosberger | 2022-05-12 | 1 | -0/+11 |
| |\ |
|
| | * | nixos/public-inbox: init | Julien Moutinho | 2022-05-12 | 1 | -0/+11 |
| * | | Merge pull request #167172 from hercules-ci/javaProperties-type-coercions•••`formats.javaProperties`: add type coercions | Robert Hensing | 2022-04-25 | 3 | -7/+49 |
| |\ \ |
|
| | * | | tests.pkgs-lib: Fix for darwin | Robert Hensing | 2022-04-04 | 1 | -1/+2 |
| | * | | pkgs.formats.javaProperties: Add type coercions•••A usability improvement.
| Robert Hensing | 2022-04-04 | 3 | -4/+42 |
| | * | | tests.pkgs-lib.formats: Allow strings with context in test runner | Robert Hensing | 2022-04-04 | 1 | -2/+5 |
| * | | | pkgs-lib.formats: fix tomlkit output | zowoq | 2022-04-18 | 1 | -0/+1 |
| * | | | tests formats: fix due to tomlkit output change | lassulus | 2022-04-10 | 1 | -3/+0 |
| |/ / |
|
| * | | tests.pkgs-lib.formats: Detect when impossible input is fed | Robert Hensing | 2022-04-04 | 1 | -1/+5 |
| * | | pkgs.formats.javaProperties: Add implementation note to type | Robert Hensing | 2022-04-04 | 1 | -0/+24 |
| * | | formats.javaProperties: Add comment | Robert Hensing | 2022-04-01 | 2 | -4/+11 |
| * | | formats.javaProperties: init | Robert Hensing | 2022-04-01 | 6 | -5/+260 |
| * | | pkgs-lib: Implement settings format for Elixir | Minijackson | 2022-02-28 | 1 | -0/+207 |
| |/ |
|
| * | formats: Fix yaml test•••Faulty test result was introduced in https://github.com/NixOS/nixpkgs/pull/133807
| Silvan Mosberger | 2021-08-26 | 1 | -2/+2 |
| * | lib.formats.yaml: use well known YAML format•••The way `(lib.formats.yaml {}).generate` generates YAML is compliant
because on YAML 1.2 spec JSON is a subset of YAML but it bugs people's
minds and can lead to problems with software that is not compatible with
YAML 1.2.
This commit also changes the test of the generation function. Data
validation/typing remains the same.
See #133802.
Signed-off-by: lucasew <lucas59356@gmail.com>
| lucasew | 2021-08-25 | 2 | -21/+34 |
| * | treewide: runCommandNoCC -> runCommand•••This has been synonymous for ~5y.
| Robert Hensing | 2021-08-15 | 2 | -3/+3 |
| * | pkgs-lib: allow paths in TOML, YAML and JSON•••Paths get automatically added to the store. The INI generator currently chokes
on paths, so it is not supported for now.
| Ben Wolsieffer | 2021-06-28 | 2 | -0/+6 |
| * | formats.ini: Introduce `listToValue` argument (#121613)•••Allows coercing lists to values. E.g.
formats.ini { listToValue = lib.concatMapStringsSep ", " (lib.generators.mkValueStringDefault {}); } | Silvan Mosberger | 2021-05-04 | 2 | -2/+40 |
| * | pkgs-lib/tests/formats: improve message on failure•••Foremost, the message was discarding double quotes on one side of the
diff, which was super-confusing to me, as I thought that the format
convertor broke that when in fact only whitespace was changed.
I thought I'd cat the files, but then... switching to `diff -u` seemed
self-sufficient. It felt sufficiently non-controversial to push
directly, but certainly feel free to improve further.
| Vladimír Čunát | 2020-10-19 | 1 | -4/+4 |
| * | pkgs-lib/tests/formats: fix whitespace after PR #100372•••Naturally, TOML doesn't define the exact shape of everything.
nix build -f pkgs/top-level/release.nix pkgs-lib-tests
| Vladimír Čunát | 2020-10-19 | 1 | -2/+0 |
| * | pkgs-lib: Add tests for formats | Silvan Mosberger | 2020-07-29 | 2 | -0/+159 |
| * | pkgs-lib: Implement settings formats for JSON, INI, YAML and TOML | Silvan Mosberger | 2020-07-29 | 2 | -1/+114 |
| * | pkgs: Add pkgs-lib structure | Silvan Mosberger | 2020-07-29 | 2 | -0/+12 |