Skip to content

collectstatic with compiling and remote storage is broken #473

Open
@skirsdeda

Description

@skirsdeda

I'm using django-pipeline with S3 as storage. Less compiler is used for css.

When running collectstatic this happens:

  1. Existing static files are copied to S3
    For every less file:
  2. less file is compiled and it's compiled version appears in source directory (same directory as less file)
  3. after compiling pipeline tries to compress the css file and cannot find it because it's not uploaded to S3 yet

Maybe static files finders could be used in compressing stage instead of trying to open compiled file path on storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions