-
Notifications
You must be signed in to change notification settings - Fork 39
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 queue class |
β βββ utils.py | safer calls to mkdir, untar etc |
β βββ storage.py | database actions |
βΒ Β βββ resources | TK |
βΒ Β β βββ css | css files used to style the gui |
βΒ Β β βββ images | TK |
βΒ Β βββ state | TK |
βΒ Β βββ domain.py | TK |
βΒ Β βββ state.py | 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 |
βββ update-version.sh | bump version in setup and config |