Skip to content

Conversation

dsotirakis
Copy link
Contributor

Adds a new --list-modified-envs flag to the tk diff command that efficiently identifies and lists only the environment names that have changes, without generating the full diff output.

When working with large Tanka repositories containing many environments, users often need to quickly identify which environments have changes before deciding whether to generate full diffs or proceed with deployments.

After touching ksonnet/environments/my-deployment/main.jsonnet for dev, but this deployment is deployed in all clusters, we can now do:

$ tk diff . --list-modified-envs
environments/my-deployment/dev.my-deployment

@dsotirakis dsotirakis self-assigned this Sep 3, 2025
@dsotirakis dsotirakis force-pushed the add-list-modified-envs-flag branch from dc3b2fa to 1188585 Compare September 3, 2025 13:23
@dsotirakis dsotirakis marked this pull request as ready for review September 4, 2025 12:36
@dsotirakis dsotirakis requested a review from a team as a code owner September 4, 2025 12:36
@dsotirakis dsotirakis requested a review from zerok September 4, 2025 12:36
@dsotirakis dsotirakis added this pull request to the merge queue Sep 5, 2025
Merged via the queue into main with commit 5033f6c Sep 5, 2025
26 checks passed
@dsotirakis dsotirakis deleted the add-list-modified-envs-flag branch September 5, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants