Robert Muir created LUCENE-9922:
-----------------------------------

             Summary: checksums files should use deterministic sort order?
                 Key: LUCENE-9922
                 URL: https://issues.apache.org/jira/browse/LUCENE-9922
             Project: Lucene - Core
          Issue Type: Task
            Reporter: Robert Muir


When regenerating, I notice some changed checksum files (when nothing actually 
changed).
For example when regenerating ICU, it produced this diff: none of the checksums 
are changed but files are simply listed in a different order.

{noformat}
diff --git a/lucene/analysis/icu/src/generated/checksums/genRbbi.json 
b/lucene/analysis/icu/src/generated/checksums/genRbbi.json
index 7607c4edb94..f6ee7833c07 100644
--- a/lucene/analysis/icu/src/generated/checksums/genRbbi.json
+++ b/lucene/analysis/icu/src/generated/checksums/genRbbi.json
@@ -1,6 +1,6 @@
 {
     "lucene/analysis/icu/src/data/uax29/Default.rbbi": 
"71bfaee5e81ac272aff828d1e44d0612be1b8363",
     "lucene/analysis/icu/src/data/uax29/MyanmarSyllable.rbbi": 
"4c6817658b454add5ec1f9ac8c0015ce8eb3b5f2",
-    
"lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/Default.brk":
 "1b9013b7ef4ba32a851a330c58a8fa820b9dda79",
-    
"lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/MyanmarSyllable.brk":
 "cc023ec17e0148518086098691785a32b88ee09a"
+    
"lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/MyanmarSyllable.brk":
 "cc023ec17e0148518086098691785a32b88ee09a",
+    
"lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/Default.brk":
 "1b9013b7ef4ba32a851a330c58a8fa820b9dda79"
 }
\ No newline at end of file
{noformat}

cc: [~dweiss]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to