#21080: collectstatic post-processing fails for references inside comments
-------------------------------------+------------------------------------
     Reporter:  shreyas@…            |                    Owner:  blighj
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.staticfiles  |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------
Changes (by Jacob Walls):

 * needs_better_patch:  0 => 1

Comment:

 A lexer would need a DEP, and I'm doubtful it's where we should invest our
 efforts.

 I expect this ticket can be closed either with incremental regex
 improvements or with a more forgiving mode that skips or warns on missing
 assets, like comment:32 suggests.

 A use case for missing assets would be choosing *not* to serve a source
 map, which is impossible(*) since support for them was added in #33446.

 (*) Or if possible, certainly wasn't clear to me when working with
 `collectstatic` for the first time in a long while.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/21080#comment:43>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019cb51ec12f-a42b285e-e368-4259-b3d4-d4d5d4010b97-000000%40eu-central-1.amazonses.com.

Reply via email to