Skip to content

Conversation

@wedaly
Copy link
Contributor

@wedaly wedaly commented Dec 12, 2013

For complicated reasons, js-test-tool requires that we create symlinks in edx-platform for JavaScript dependencies. These symlinks were being followed when Django collected staticfiles, resulting in staticfiles being collected multiple times.

This PR adds the symlinks to STATICFILES_IGNORE_PATTERNS to skip those directories, which should speed up asset collection (especially on the Vagrant images, where disk writes to shared directories are expensive).

Ideally we wouldn't have to use symlinks at all, but that's a task for another day :)

Suggested reviewers: @cpennington @singingwolfboy

@singingwolfboy
Copy link
Contributor

👍

1 similar comment
@cpennington
Copy link
Contributor

👍

wedaly pushed a commit that referenced this pull request Dec 16, 2013
Add ignore patterns for staticfiles to avoid processing symlink dirs
@wedaly wedaly merged commit 7bf6890 into master Dec 16, 2013
@wedaly wedaly deleted the will/ignore-symlink-staticfiles branch December 16, 2013 17:01
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants