2013-02-27 23:17:39 +04:00
|
|
|
*.py[cod]
|
|
|
|
|
2013-03-12 21:18:07 +04:00
|
|
|
#vi files
|
|
|
|
*.swp
|
|
|
|
|
2013-02-27 23:17:39 +04:00
|
|
|
# Installer logs
|
|
|
|
pip-log.txt
|
|
|
|
|
2013-08-24 04:50:37 +04:00
|
|
|
# logs
|
|
|
|
test.log
|
|
|
|
treeherder*.log
|
2013-12-03 04:56:03 +04:00
|
|
|
treeherder.log.*
|
2014-01-13 23:26:28 +04:00
|
|
|
LOGFILE
|
2014-04-01 23:06:04 +04:00
|
|
|
supervisor*.log
|
2013-08-24 04:50:37 +04:00
|
|
|
|
2013-02-27 23:17:39 +04:00
|
|
|
# Unit test / coverage reports
|
|
|
|
.coverage
|
|
|
|
.tox
|
|
|
|
nosetests.xml
|
|
|
|
|
|
|
|
# Translations
|
|
|
|
*.mo
|
|
|
|
|
2015-05-18 17:35:58 +03:00
|
|
|
#pycharm files
|
|
|
|
.idea/
|
|
|
|
|
2013-02-27 23:17:39 +04:00
|
|
|
# Mr Developer
|
|
|
|
.mr.developer.cfg
|
|
|
|
.project
|
|
|
|
.pydevproject
|
2013-03-06 20:20:57 +04:00
|
|
|
.DS_store
|
2013-03-06 20:21:55 +04:00
|
|
|
.vagrant
|
2013-03-12 17:14:02 +04:00
|
|
|
|
2013-03-07 23:09:35 +04:00
|
|
|
#local settings
|
2015-02-13 02:12:41 +03:00
|
|
|
deployment/update/commander_settings.py
|
2015-10-08 17:18:40 +03:00
|
|
|
treeherder/config/settings_local.py
|
2015-05-18 17:35:58 +03:00
|
|
|
ui/js/config/local.conf.js
|
|
|
|
|
2013-03-12 00:01:17 +04:00
|
|
|
htmlcov/
|
2013-03-12 17:14:02 +04:00
|
|
|
|
2015-10-02 15:11:47 +03:00
|
|
|
# Minified/built UI files generated by the `grunt build`.
|
|
|
|
dist/
|
Bug 1197796 - Make WhiteNoise serve the static assets gzipped
On Heroku, there is no load balancer or Varnish-like cache in front of
gunicorn, so we must handle gzipping responses in the app.
In order for WhiteNoise to serve gzipped static content, assets must be
gzipped on disk in advance (doing so on-demand in Python would not be
as performant). WhiteNoise will then serve the `.gz` version of files in
preference to the original, if the client indicated it supported gzip.
For assets covered by Django's collectstatic, gzipping the assets only
requires using WhiteNoise's GzipManifestStaticFilesStorage backend,
which wraps Django's ManifestStaticFilesStorage to create hashed+gzipped
versions of static assets:
http://whitenoise.evans.io/en/latest/django.html#add-gzip-and-caching-support
The collectstatic generated files will then contain the file hash in
their filename, so WhiteNoise can also serve them with a large max-age
to avoid further requests if the file contents have not changed.
For the UI files under `dist/`, we cannot rely on the Django storage
backend, since the directory isn't covered by STATICFILES_DIRS (it is
instead made known to WhiteNoise via `WHITENOISE_ROOT`). As such, files
under `dist/` are gzipped via an additional step during deployment. See:
http://whitenoise.evans.io/en/latest/base.html#gzip-support
Files whose extension is on the blacklist, or that are not >5% smaller
when compressed, are skipped during compression.
2015-08-25 15:02:13 +03:00
|
|
|
|
2013-08-13 21:17:56 +04:00
|
|
|
#static files in deployment
|
2015-08-24 14:32:07 +03:00
|
|
|
treeherder/static/
|
2013-08-13 21:17:56 +04:00
|
|
|
|
2013-12-10 22:22:20 +04:00
|
|
|
#media files in deployment
|
2015-08-24 14:32:07 +03:00
|
|
|
treeherder/media/
|
2013-12-10 22:22:20 +04:00
|
|
|
|
2014-01-09 05:23:57 +04:00
|
|
|
#etl data files
|
2014-02-05 03:23:01 +04:00
|
|
|
treeherder/etl/data/credentials.json
|
2014-01-09 05:23:57 +04:00
|
|
|
|
2013-03-12 17:14:02 +04:00
|
|
|
#docs build directory
|
2013-03-12 21:18:07 +04:00
|
|
|
docs/_build/
|
2013-12-03 04:56:03 +04:00
|
|
|
|
2014-01-13 23:26:28 +04:00
|
|
|
#supervisor
|
|
|
|
.nfs*
|
|
|
|
*.pid
|
2013-12-03 04:56:03 +04:00
|
|
|
|
2015-01-17 14:26:32 +03:00
|
|
|
treeherder/webapp/log_cache
|
|
|
|
celerybeat-schedule
|
2015-05-18 17:35:58 +03:00
|
|
|
|
|
|
|
node_modules
|
|
|
|
.tmp/
|
|
|
|
|
2015-02-13 16:09:08 +03:00
|
|
|
!.gitkeep
|