1
0
mirror of synced 2026-03-26 11:46:56 +00:00
Files
flux2/cmd/flux
Florian Forster ba36b37ac1 flux diff artifact: Provide a non-semantic diff option.
Artifacts may contain other files types, not just YAML files, meaning the
semantic YAML diff provided by `dyff` is not a safe default.

This change implements purely textual diffing using the `diff` command line
tool. This tool can be overridden by users using the `FLUX_EXTERNAL_DIFF`
environment variable.

Users that store Kubernetes resource manifests in the artifact can re-enable
the semantic YAML diff behavior using the `--semantic-diff yaml` flag.

The arguments to the diff subcommand may be:

* A directory
* A .tar.gz or .tgz file
* An OCI url
* An individual file

The two arguments to the command are treated the same way, allowing users to
diff in either direction.

Signed-off-by: Florian Forster <fforster@gitlab.com>
2024-09-23 11:09:22 +02:00
..
2023-11-14 15:02:54 -05:00
2023-12-08 19:47:12 +05:30
2024-04-08 17:54:38 +03:00
2024-04-08 17:54:38 +03:00
2024-05-09 19:05:45 +03:00
2024-05-09 17:10:00 +03:00
2024-05-09 17:10:00 +03:00
2023-04-11 17:00:57 +01:00
2023-12-13 13:16:18 +01:00
2024-05-09 17:18:11 +03:00
2023-06-05 10:07:38 +02:00
2024-06-11 23:56:04 +02:00
2023-12-08 19:47:12 +05:30
2023-09-18 10:48:08 +01:00
2023-12-08 19:47:12 +05:30
2024-05-09 17:10:00 +03:00
2024-05-06 12:28:34 +03:00
2024-05-09 17:10:00 +03:00
2023-12-08 19:47:12 +05:30
2024-05-09 17:10:00 +03:00
2024-05-09 17:10:00 +03:00
2022-01-10 16:30:38 +01:00
2023-08-22 12:36:58 +03:00
2022-01-10 16:30:38 +01:00