# Quick format and style primer:
#
#  * If a pattern is meant only for a specific location, it should have a
#    leading slash, like `/staticfiles.json`.
#    * In principle any non-trailing slash (like `zproject/dev-secrets.conf`)
#      will do, but this makes a confusing pattern.  Adding a leading slash
#      is clearer.
#
#  * Patterns like `.vscode/` without slashes, or with only a trailing slash,
#    match in any subdirectory.
#
#  * Subdirectories with several internal things to ignore get their own
#    `.gitignore` files.
#
#  * Comments must be on their own line.  (Otherwise they don't work.)
#
# See `git help ignore` for details on the format.

## Config files for the dev environment
/zproject/apns-dev.pem
/zproject/apns-dev-key.p8
/zproject/dev-secrets.conf
/zproject/custom_dev_settings.py
/tools/conf.ini
/tools/custom_provision
/tools/droplets/conf.ini

## Byproducts of setting up and using the dev environment
*.pyc
*.tsbuildinfo
package-lock.json

/.vagrant
/var/*
!/var/puppeteer
/var/puppeteer/*
!/var/puppeteer/test_credentials.d.ts

/.dmypy.json
/.ruff_cache

# Generated i18n data
/locale/en
/locale/language_options.json
/locale/language_name_map.json
/locale/*/mobile.json

# Static build
*.mo
npm-debug.log
/.pnpm-store
/node_modules
/prod-static
/staticfiles.json
/webpack-stats-production.json
zulip-git-version

# Test / analysis tools
.coverage

## Files (or really symlinks) created in a prod deployment
/zproject/prod_settings.py
/zulip-current-venv
/zulip-py3-venv

## Files left by various editors and local environments
# (Ideally these should be in everyone's respective personal gitignore files.)
*~
*.sw[po]
.idea
.kdev4
zulip.kdev4
.kateproject.d/
.kateproject
*.kate-swp
*.sublime-project
*.sublime-workspace
*.DS_Store
# VS Code. Avoid checking in .vscode in general, while still specifying
# recommended extensions for working with this repository.
/.vscode/**/*
!/.vscode/extensions.json
# .cache/ is generated by VS Code test runner
.cache/
.eslintcache

# Core dump files
core

# Static generated files for landing page.
/static/images/landing-page/hello/generated

## Miscellaneous
# (Ideally this section is empty.)
.transifexrc
