Skip to content

GenerateConfusables no longer updates timestamps for unchanged data - #1566

Merged
roozbehp merged 2 commits into
mainfrom
roozbehp-timestamps
Oct 18, 2026
Merged

roozbehp merged 2 commits into
mainfrom
roozbehp-timestamps

Conversation

@roozbehp

Copy link
Copy Markdown
Contributor

Fixes #111

  • Approver: Feel free to merge on my behalf
    • rebase & merge one or more commits
    • squash & merge multiple commits into one

@markusicu

Copy link
Copy Markdown
Member

would you mind fixing the "Genereate" type in the commit message?

@markusicu markusicu changed the title GenereateConfusables no longer updates timestamps for unchanged data GenerateConfusables no longer updates timestamps for unchanged data Sep 24, 2026
@roozbehp

Copy link
Copy Markdown
Contributor Author

would you mind fixing the "Genereate" type in the commit message?

Done.

@roozbehp

Copy link
Copy Markdown
Contributor Author

@markusicu @eggrobin @josh-hadley I would appreciate a code review of this, as it's blocking my further confusables work.

Comment thread unicodetools/src/test/java/org/unicode/unittest/DiffingPrintWriterTest.java Outdated
Comment thread unicodetools/src/main/java/org/unicode/text/utility/DiffingPrintWriter.java Outdated
Comment thread unicodetools/src/main/java/org/unicode/text/UCD/GenerateConfusables.java Outdated
@roozbehp

Copy link
Copy Markdown
Contributor Author

Thank you very much @markusicu. PTAL.

@roozbehp
roozbehp requested a review from markusicu October 18, 2026 15:34
Comment thread unicodetools/src/test/java/org/unicode/unittest/DiffingPrintWriterTest.java Dismissed
try (PrintWriter out =
new DiffingPrintWriter(output().toFile(), reference().toFile())
.skipCopyright()
.toPrintWriter()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: this is not necessary in this case -- Writer itself can write(String)

@roozbehp
roozbehp merged commit 578f6c0 into main Oct 18, 2026
24 checks passed
@roozbehp
roozbehp deleted the roozbehp-timestamps branch October 18, 2026 16:12
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.

security data files: avoid update when no substantive changes

3 participants