# Per-host wiring and credentials -- never committed. `.env` is edited per
# host; `secrets.env` must be restored verbatim from a backup.
.env
secrets.env

# Host-mapped container state: the live database cluster and per-app data
# and logs.
hostdata/
hostlogs/

# The local, container-free run: its environment (a real secret, even if a
# throwaway one) and the roots it writes app data and logs to. Kept apart
# from hostdata/ because those belong to the uid the containers drop to.
dev.env
devdata/
devlogs/

# Python.
.venv/
__pycache__/
*.py[cod]
.pytest_cache/
dist/

# The SQLite database creating-a-site.md has you make before there is a
# PostgreSQL to talk to, and the instance folder Flask-SQLAlchemy resolves a
# *relative* SQLite path against -- which is the trap that document warns
# about, so both belong here.
dev.db
src/instance/

# Personal working files -- experiments, one-off utilities, notes to self.
# Kept here rather than in scripts/, which holds only the files `podpack
# substrate` manages. The separation is not load-bearing -- the engine walks
# a manifest and never sweeps a directory -- but a mixed directory is an
# invitation to a mistake nobody needs.
scratch/

# Working copies written by `podpack substrate upgrade`: <file>.new holds
# podpack's version of a conflict, <file>.orig the version --take-upstream
# replaced. Deliberately NOT ignored -- committing one is a loud reminder
# that something is unresolved, which is the point of writing it beside the
# file rather than into it.

# What scripts/restore.sh sets aside before replacing them. secrets.env is
# among them, in clear, so this matters more than the tidiness suggests.
*.superseded-*
