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.2 KiB
3.2 KiB
Community 10
20 nodes · cohesion 0.12
Key Concepts
- ssh_deploy.py (8 connections)
- deploy_player_to_host() (8 connections)
- background_player_deployment() (4 connections)
- generate_app_config() (4 connections)
- get_local_player_code_status() (4 connections)
- run_background_task() (3 connections)
- background_tasks.py (3 connections)
- parse_server_address() (3 connections)
- test_ssh_connection() (3 connections)
- generate_player_config() (2 connections)
- Background task execution for long-running operations. (1 connections)
- Run a function in a background thread, with a Flask app context pushed. (1 connections)
- Deploy player code to host in background. Args: hostname: SSH h (1 connections)
- SSH deployment utilities for player provisioning. (1 connections)
- Generate player configuration JSON for connecting to DigiServer. Args: (1 connections)
- Check status of pre-staged player code. Args: player_code_dir: Opti (1 connections)
- Derive the values the player needs from a DigiServer URL. The player's conf (1 connections)
- Generate the config/app_config.json the player actually reads. This is what (1 connections)
- Deploy player code to remote host. Args: hostname: Target hostn (1 connections)
- Test SSH connection to a remote host. Args: hostname: Target ho (1 connections)
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/utils/background_tasks.py
- /home/scheianu/digiserver-v2/app/utils/ssh_deploy.py
Audit Trail
- EXTRACTED: 45 (87%)
- INFERRED: 7 (13%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.