46602f1933
Remove dead code identified in docs/SANITIZATION-REVIEW.md:
- app/blueprints/content_old.py and app/blueprints/playlist.py
- app/models/group.py, app/utils/nginx_config_reader.py
- orphaned templates (content_list, edit_content, upload_content,
player_page) and the related group/Template references
Result: 6 blueprints, 82 routes, no dead modules or orphan templates.
Add files that deploy.sh and docker-entrypoint.sh already require but
which were never tracked:
- https_manager.py (referenced by deploy.sh, migrate_network.sh,
docker-entrypoint.sh)
- Caddyfile.example (seeded by deploy.sh; its absence aborts deploy)
Relocate generated Graphify artifacts from graphify-out/ to
docs/graphify-out/ (110 files, no content change) and archive the
superseded docs under docs/.
Ignore hygiene:
- ignore ad-hoc .env backups (.env.bak*) — they contain live secrets
- keep the pre-sanitization snapshots (docs/legacy code/,
docs/old_code_documentation/) on disk but out of the repo
Fix .env.example: drop a duplicated config block, genericize the
hardcoded host IP, and document HOSTNAME_INTERNAL.
3.0 KiB
3.0 KiB
Community 11
19 nodes · cohesion 0.15
Key Concepts
- build_player_action() (9 connections)
- player_build.py (9 connections)
- build_player_files() (5 connections)
- get_short_head() (5 connections)
- Build/refresh the staged player code and/or write its base config. (4 connections)
- get_player_server_settings() (4 connections)
- load_build_settings() (4 connections)
- write_base_config() (4 connections)
- make_build_record() (3 connections)
- _run_git() (3 connections)
- save_build_settings() (3 connections)
- Utilities for building/staging the player files on the server. Admins use the " (1 connections)
- Write a base
config/app_config.jsoninto the staged player code. ``scre (1 connections) - Load saved build settings from
meta_path(or None if absent/invalid). (1 connections) - Persist build settings to
meta_path. (1 connections) - Return the saved server address settings for deployment, if available. Retu (1 connections)
- Assemble the metadata record to persist after a build. (1 connections)
- Return the short git commit of the staged code, or 'unknown'. (1 connections)
- Clone or refresh the player source into
player_code_dir. If the directo (1 connections)
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/admin.py
- /home/scheianu/digiserver-v2/app/utils/player_build.py
Audit Trail
- EXTRACTED: 44 (72%)
- INFERRED: 17 (28%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.