#35846: Reproducibility of staticfiles manifests
-------------------------------------+-------------------------------------
     Reporter:  Linus Heckemann      |                    Owner:  (none)
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  contrib.staticfiles  |                  Version:  5.0
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Andreas Pelme):

 It may be hard to show this exact problem since it depends on the OS/file
 systems used. The problem is the list of paths in the staticfiles
 manifest.

 Somewhat related, see https://github.com/django/django/pull/16411/files
 #diff-
 f5c7100e3528e9f6edb98cd5a3d33133bdde6286a89fa472f89980fb07364a8eR486. It
 sorts the paths before hashing them. If it would not sort the keys, the
 hash could change. I tried changing sorted() to list() on that line and
 ran the test suite and there were no test failures. So testing this is a
 bit tricky to test properly!
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35846#comment:2>
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/010701929b98ea70-70db2350-83ba-40dc-968d-ef44bc4a8e5c-000000%40eu-central-1.amazonses.com.

Reply via email to