|
1 | 1 | # |
2 | 2 | # Apache v2 license |
3 | | -# Copyright (C) 2024 Intel Corporation |
| 3 | +# Copyright (C) 2024-2025 Intel Corporation |
4 | 4 | # SPDX-License-Identifier: Apache-2.0 |
5 | 5 | # |
6 | 6 |
|
7 | | -import os, sys, time, json, yaml, subprocess, os.path, requests |
| 7 | +import os, sys, time, json, yaml, logging, subprocess, os.path, requests |
8 | 8 | from collections import OrderedDict |
9 | 9 |
|
10 | 10 | current_dir = os.path.abspath(os.path.dirname(__file__)) |
|
15 | 15 | os.path.abspath(os.path.join(current_dir, '../configs')) |
16 | 16 | ]) |
17 | 17 |
|
| 18 | +logging.basicConfig(level=logging.DEBUG) |
18 | 19 | hostIP = subprocess.check_output("ip route get 1 | awk '{print $7}'|head -1", shell=True).decode('utf-8').strip() |
19 | 20 |
|
20 | 21 | base_source_uri = {"uri": "file:///home/pipeline-server/resources/videos/warehouse.avi", "type": "uri"} |
@@ -243,12 +244,8 @@ def search_element(self, logFile, keyword): |
243 | 244 |
|
244 | 245 | def generate_repo_dlsps(self): |
245 | 246 | os.chdir(repo_path) |
246 | | - if self.is_open_edge: |
247 | | - repo_url = "https://github.com/open-edge-platform/edge-ai-libraries/" |
248 | | - destination_dir = os.path.join(repo_path, "edge-ai-libraries") |
249 | | - else: |
250 | | - repo_url = "https://github.com/intel-innersource/applications.services.esh.dlstreamer-pipeline-server ./dlstreamer-pipeline-server" |
251 | | - destination_dir = os.path.join(repo_path, "dlstreamer-pipeline-server") |
| 247 | + repo_url = "https://github.com/open-edge-platform/edge-ai-libraries/" |
| 248 | + destination_dir = os.path.join(repo_path, "edge-ai-libraries") |
252 | 249 | print(f"Cloning repository: {repo_url}") |
253 | 250 | print(f"Destination directory: {destination_dir}") |
254 | 251 |
|
|
0 commit comments