#27658: collectstatic overwrites newer files in remote storage
-------------------------------------+-------------------------------------
Reporter: pgcd | Owner: nobody
Type: Bug | Status: new
Component: | Version: 1.10
contrib.staticfiles |
Severity: Normal | Keywords: staticfiles
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
The change to
django/contrib/staticfiles/management/commands/collectstatic.py in commit
2cd2d188516475ddf256e6267cd82c495fb5c430 causes the command to overwrite
all static files in remote storage (eg. S3), instead of only updatable
ones.
A quick workaround is to override the command and restore the previous
Command.delete_file() in the subclass, but I suppose this should be fixed.
--
Ticket URL: <https://code.djangoproject.com/ticket/27658>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.435db47f8c32bf0c82a8a7e9c706c266%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.