1111def resolve_host_dependencies (
1212 working_dir : Optional [str ] = None ,
1313 debug : bool = False ,
14- skip_system_scope : bool = False ,
14+ skip_os_packages : bool = False ,
1515 venv_path : Optional [str ] = None ,
1616 pretty_print : bool = False ,
1717) -> str :
@@ -21,15 +21,15 @@ def resolve_host_dependencies(
2121 Args:
2222 working_dir: Working directory to analyze (defaults to current directory)
2323 debug: Enable debug output
24- skip_system_scope : Skip system-scope package managers
24+ skip_os_packages : Skip OS package managers (dpkg, apk)
2525 venv_path: Explicit virtual environment path for pip detector
2626 pretty_print: Format JSON output with indentation
2727
2828 Returns:
2929 JSON string containing all discovered dependencies
3030 """
3131 executor = HostExecutor (debug = debug )
32- orchestrator = Orchestrator (debug = debug , skip_system_scope = skip_system_scope , venv_path = venv_path )
32+ orchestrator = Orchestrator (debug = debug , skip_os_packages = skip_os_packages , venv_path = venv_path )
3333 dependencies = orchestrator .resolve_dependencies (executor , working_dir )
3434 formatter = OutputFormatter (debug = debug )
3535 return formatter .format_json (dependencies , pretty_print = pretty_print )
@@ -39,7 +39,7 @@ def resolve_docker_dependencies(
3939 container_identifier : str ,
4040 working_dir : Optional [str ] = None ,
4141 debug : bool = False ,
42- skip_system_scope : bool = False ,
42+ skip_os_packages : bool = False ,
4343 venv_path : Optional [str ] = None ,
4444 only_container_info : bool = False ,
4545 pretty_print : bool = False ,
@@ -51,7 +51,7 @@ def resolve_docker_dependencies(
5151 container_identifier: Container ID or name
5252 working_dir: Working directory to analyze within the container
5353 debug: Enable debug output
54- skip_system_scope : Skip system-scope package managers
54+ skip_os_packages : Skip OS package managers (dpkg, apk)
5555 venv_path: Explicit virtual environment path for pip detector
5656 only_container_info: Only analyze container metadata (skip dependency detection)
5757 pretty_print: Format JSON output with indentation
@@ -60,7 +60,7 @@ def resolve_docker_dependencies(
6060 JSON string containing all discovered dependencies
6161 """
6262 executor = DockerExecutor (container_identifier , debug = debug )
63- orchestrator = Orchestrator (debug = debug , skip_system_scope = skip_system_scope , venv_path = venv_path )
63+ orchestrator = Orchestrator (debug = debug , skip_os_packages = skip_os_packages , venv_path = venv_path )
6464 dependencies = orchestrator .resolve_dependencies (executor , working_dir , only_container_info )
6565 formatter = OutputFormatter (debug = debug )
6666 return formatter .format_json (dependencies , pretty_print = pretty_print )
@@ -70,7 +70,7 @@ def resolve_docker_dependencies_as_dict(
7070 container_identifier : str ,
7171 working_dir : Optional [str ] = None ,
7272 debug : bool = False ,
73- skip_system_scope : bool = False ,
73+ skip_os_packages : bool = False ,
7474 venv_path : Optional [str ] = None ,
7575 only_container_info : bool = False ,
7676) -> dict [str , Any ]:
@@ -84,7 +84,7 @@ def resolve_docker_dependencies_as_dict(
8484 container_identifier: Container ID or name
8585 working_dir: Working directory to analyze within the container
8686 debug: Enable debug output
87- skip_system_scope : Skip system-scope package managers
87+ skip_os_packages : Skip OS package managers (dpkg, apk)
8888 venv_path: Explicit virtual environment path for pip detector
8989 only_container_info: Only analyze container metadata (skip dependency detection)
9090
@@ -99,7 +99,7 @@ def resolve_docker_dependencies_as_dict(
9999 raise ValueError ("Container identifier is required" )
100100
101101 executor = DockerExecutor (container_identifier , debug = debug )
102- orchestrator = Orchestrator (debug = debug , skip_system_scope = skip_system_scope , venv_path = venv_path )
102+ orchestrator = Orchestrator (debug = debug , skip_os_packages = skip_os_packages , venv_path = venv_path )
103103 return orchestrator .resolve_dependencies (executor , working_dir , only_container_info )
104104
105105
@@ -108,7 +108,7 @@ def resolve_dependencies_as_dict(
108108 environment_identifier : Optional [str ] = None ,
109109 working_dir : Optional [str ] = None ,
110110 debug : bool = False ,
111- skip_system_scope : bool = False ,
111+ skip_os_packages : bool = False ,
112112 venv_path : Optional [str ] = None ,
113113 only_container_info : bool = False ,
114114) -> dict [str , Any ]:
@@ -120,7 +120,7 @@ def resolve_dependencies_as_dict(
120120 environment_identifier: Environment identifier (required for docker)
121121 working_dir: Working directory to analyze
122122 debug: Enable debug output
123- skip_system_scope : Skip system-scope package managers
123+ skip_os_packages : Skip OS package managers (dpkg, apk)
124124 venv_path: Explicit virtual environment path for pip detector
125125 only_container_info: Only analyze container metadata (for docker environments)
126126
@@ -137,7 +137,7 @@ def resolve_dependencies_as_dict(
137137 else :
138138 raise ValueError (f"Unsupported environment type: { environment_type } " )
139139
140- orchestrator = Orchestrator (debug = debug , skip_system_scope = skip_system_scope , venv_path = venv_path )
140+ orchestrator = Orchestrator (debug = debug , skip_os_packages = skip_os_packages , venv_path = venv_path )
141141 return orchestrator .resolve_dependencies (executor , working_dir , only_container_info )
142142
143143
0 commit comments