Skip to content

Show a diff of what an upload would change in a file - #139

Merged
microbit-matt-hillsdon merged 1 commit into
mainfrom
i18n-tools-upload-diff
Sep 8, 2026
Merged

Show a diff of what an upload would change in a file#139
microbit-matt-hillsdon merged 1 commit into
mainfrom
i18n-tools-upload-diff

Conversation

@microbit-matt-hillsdon

Copy link
Copy Markdown
Contributor

A catalog's changes are listed id by id, but for an opaque file the dry run only said the text differed, which is little to go on before clearing translations. Print a unified diff, built on Node's util.diff so nothing new is depended on.

This will help me be convinced by pxt-microbit-ml's upload dry run which shows some opaque file changes (likely just versions at the end of markdown docs but TBC via this diff).

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 8, 2026

Copy link
Copy Markdown

Deploying ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 513da6d
Status: ✅  Deploy successful!
Preview URL: https://c1430544.ui-2wg.pages.dev
Branch Preview URL: https://i18n-tools-upload-diff.ui-2wg.pages.dev

View logs

A catalog's changes are listed id by id, but for an opaque file the dry
run only said the text differed, which is little to go on before clearing
translations. Print a unified diff, built on Node's util.diff so nothing
new is depended on.
@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit c69704d into main Sep 8, 2026
3 checks passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the i18n-tools-upload-diff branch September 8, 2026 12:39
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.

1 participant