#35846: Reproducibility of staticfiles manifests
-------------------------------------+-------------------------------------
     Reporter:  lheckemann           |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  contrib.staticfiles
      Version:  5.0                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 Paths in staticfiles manifests appear in a nondeterministic order in the
 resulting JSON file. I assume this would often reflect the order in which
 files are listed by the operating system, given dict's insertion order
 preservation, but there are probably many more factors affecting this.

 This can sometimes (but may not always -- this depends heavily on
 filesystem behaviour) be reproduced by running collectstatic in projects
 using ManifestStaticFilesStorage across different copies of the project
 source.

 Sorting them would result in more comparable results, smaller diffs and
 (depending on the environment) more efficient deployments.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35846>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070192951d0519-b878d379-513e-4ac7-9474-312a497ceb3f-000000%40eu-central-1.amazonses.com.

Reply via email to