-
Notifications
You must be signed in to change notification settings - Fork 42
Project Patterns
rocodes edited this page Oct 26, 2022
·
5 revisions
Directory structure | Description |
---|---|
βββ alembic | database migration for SQLAlchemy |
βΒ Β βββ versions | database migrations |
βββ changelog.md | list of changes for each release |
βββ CODE_OF_CONDUCT.md | community code of conduct |
βββ create_dev_data.py | creates local db and config for test |
βββ files | files to create qubes-client exe |
βββ LICENSE | license file |
βββ Makefile | build automation |
βββ MANIFEST.in | files to include in sdist |
βββ pyproject.toml | code formatting configuration |
βββ requirements | list of dependencies to pip install |
βββ run.sh | script to run the client for test |
βββ securedrop_client | client application code |
βΒ Β βββ api_jobs | queue jobs that make api requests |
βΒ Β βββ app.py | creates & configures the application |
βΒ Β βββ config.py | creates config file in homedir |
βΒ Β βββ crypto.py | decrypts messages, encrypts replies |
βΒ Β βββ database.py | representation of db |
βΒ Β βββ db.py | sqlalchemy models |
βΒ Β βββ export.py | exports files to qubes sd-devices vm |
βΒ Β βββ gui | gui for the application |
βΒ Β βββ __init__.py | contains the application version |
βΒ Β βββ logic.py | controller; manage auth, networking |
βΒ Β βββ main.py | TK |
βΒ Β βββ queue.py | network operations queuing |
βββ utils.py | |
βββ storage.py | |
βΒ Β βββ resources | TK |
βΒ Β βββ css | css files used to style the gui |
βΒ Β βββ fonts | TK |
βΒ Β βββ images | TK |
βΒ Β βββ state | TK |
βββ setup.cfg | TK |
βββ setup.py | setuptools pkging config |
βββ svs.sqlite | database holding client content |
βββ test-functional.sh | randomize & run functional tests |
βββ tests | test suite |
βββ api_jobs | test networking actions |
βββ files | sample files used in testing |
βββ functional | functional tests |
βΒ Β βββ cassettes | vcr mock network calls for testing |
βββ gui | GUI testing |
βββ integration | GUI integration tests |