1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "$graphify-root$_infra_rpi_services_bootstrap_sh", "label": "bootstrap.sh", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "label": "bootstrap.sh script", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_install_missing_packages", "label": "install_missing_packages()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L12", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_docker_root_target", "label": "docker_root_target()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L28", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "label": "configure_docker_root()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L40", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "label": "stop_legacy_pihole()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L89", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "label": "resolve_pihole_webpassword()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L104", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_write_env_file", "label": "write_env_file()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L133", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "label": "sync_pihole_adlists()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L163", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "label": "sync_pihole_managed_dns()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L212", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "label": "seed_uptime_kuma_monitors()", "file_type": "code", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L261", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_install_missing_packages", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_docker_root_target", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L28", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L89", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L104", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_write_env_file", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L133", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L163", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L212", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh", "target": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "relation": "defines", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L261", "weight": 1.0}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_install_missing_packages", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L290", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L302", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_write_env_file", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L316", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L318", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L323", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L324", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "target": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L325", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_infra_rpi_services_bootstrap_write_env_file", "target": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "relation": "calls", "confidence": "EXTRACTED", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L134", "weight": 1.0, "context": "call"}], "raw_calls": [{"language": "bash", "callee": "set", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L2"}, {"language": "bash", "callee": "cd", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L4"}, {"language": "bash", "callee": "dirname", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L4"}, {"language": "bash", "callee": "pwd", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L4"}, {"language": "bash", "callee": "command", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L292"}, {"language": "bash", "callee": "curl", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L294"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L294"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L296"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sh__entry", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L297"}, {"language": "bash", "callee": "dpkg-query", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_install_missing_packages", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L17"}, {"language": "bash", "callee": "grep", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_install_missing_packages", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L17"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_install_missing_packages", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L23"}, {"language": "bash", "callee": "mountpoint", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_docker_root_target", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L29"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_docker_root_target", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L30"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_docker_root_target", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L32"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_docker_root_target", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L33"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L46"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L49"}, {"language": "bash", "callee": "python3", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L52"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L67"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_configure_docker_root", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L70"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L93"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L97"}, {"language": "bash", "callee": "grep", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L97"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L98"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_stop_legacy_pihole", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L99"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L109"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L110"}, {"language": "bash", "callee": "grep", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L114"}, {"language": "bash", "callee": "tail", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L114"}, {"language": "bash", "callee": "cut", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L114"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L114"}, {"language": "bash", "callee": "command", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L121"}, {"language": "bash", "callee": "openssl", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L122"}, {"language": "bash", "callee": "python3", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_resolve_pihole_webpassword", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L126"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_write_env_file", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L135"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L170"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L173"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L175"}, {"language": "bash", "callee": "sleep", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L178"}, {"language": "bash", "callee": "mktemp", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L182"}, {"language": "bash", "callee": "python3", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L183"}, {"language": "bash", "callee": "rm", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_adlists", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L208"}, {"language": "bash", "callee": "mktemp", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L219"}, {"language": "bash", "callee": "python3", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L220"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L256"}, {"language": "bash", "callee": "rm", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_sync_pihole_managed_dns", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L257"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L268"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L269"}, {"language": "bash", "callee": "sudo", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L272"}, {"language": "bash", "callee": "sleep", "caller_nid": "$graphify-root$_infra_rpi_services_bootstrap_seed_uptime_kuma_monitors", "source_file": "infra/rpi-services/bootstrap.sh", "source_location": "L277"}], "bash_sources": []} |