Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-485

Reproducible Builds: keep entries order when gathering ScatterZipOutputStream content in ParallelScatterZipCreator

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.18
    • Fix Version/s: 1.19
    • Component/s: Archivers
    • Labels:

      Description

      currently, zip files created using ParallelScatterZipCreator have random order.
      This is causing issues when trying to do Reproducible Builds with Maven MNG-6276

      Studying ParallelScatterZipCreator, entries are kept sorted in memory in futures list: instead of writing each full scatter in sequence, iterating over futures should permit to write each zip entry in original order, without changing the API or any performance of the gathering process

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hboutemy Herve Boutemy
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 40m
                  4h 40m